128 reputation
7
bio website ashwinkumar.me
location Bangalore, India
age
visits member for 3 years
seen Jul 31 at 6:56

Jul
31
comment How to run a script within an Amazon EC2 when the instance starts for the first time?
Exactly.. I am looking for a possibility to run the script everytime an instance is launched (only at launch, and should not at reboot) and I do not want to let the colleagues to pass the script via "User data".. For now I am doing it in a startup script and destroying after launching. That way it does not run again after a reboot of the instance
Jul
24
comment How to run a script within an Amazon EC2 when the instance starts for the first time?
@HyperAnthony, I just tried it now. It does not work the way I want. When a new instance is launched from the AMI the same script that was used while creating AMI does not work. :)
Jul
24
comment How to run a script within an Amazon EC2 when the instance starts for the first time?
Will check it out. Should the script be passed at the time of launching instance from the image file?? or is it just once when launching the instance and creating the image from the same instance?? :)
Jul
24
comment How to run a script within an Amazon EC2 when the instance starts for the first time?
@LinuxDevOps, that's not what I want to do. Can you please check the edit I just made
Jul
24
comment How to run a script within an Amazon EC2 when the instance starts for the first time?
i guess my question was confusing or incomplete. have added an example. Can you share your thoughts?
Jul
24
revised How to run a script within an Amazon EC2 when the instance starts for the first time?
added a scenario
Jul
23
awarded  Editor
Jul
23
revised How to run a script within an Amazon EC2 when the instance starts for the first time?
added 6 characters in body
Jul
23
asked How to run a script within an Amazon EC2 when the instance starts for the first time?
Apr
12
awarded  Announcer
Jan
3
awarded  Commentator
Jan
3
comment MySQL (MariaDB) crashes frequently
You should log the file handles used and the memory used both before and after the crash (maybe even the dump of top command every interval) to know what could cause the crash. Any other services run in your servers like mysql (mariadb)?
Jul
1
awarded  Popular Question
May
15
accepted How to enable SSL for LDAP with Apache Directory Studio?
May
14
asked How to enable SSL for LDAP with Apache Directory Studio?
Mar
12
asked Simulate slow network connection to MySQl server
Nov
29
comment Mount network drive as physical drive
+1, was looking to create C++ project solution on a network drive. This trick works. :-)
Feb
24
comment How do you name your servers?
where is serverfault.com/questions/45734/the-coolest-server-names now?
Feb
12
comment Multiple domain names on the same apache server
@ShaneMadden, That answers my question. At this time I am not supporting encryption. But I have future plans to do so. Will get familiar handling the apache conf files before giving encryption a try.
Feb
12
comment Multiple domain names on the same apache server
@JamesO'Gorman, Thanks for the input on chcon and SELinux. I have disabled SELinux for now.