Right now I have a setup with a load balancer that starts new instances of a server (debian) if needed be on the Amazon EC2 cloud. On this setup I have a script that needs to be running on only one of ...
I want to mount my EBS volume and start up the Apache/MySQL servers on my EC2 machine, but I can't even get my script to run at startup. I've tried putting it in: /etc/init.d/ /etc/rc.d/rc5.d/ ...
We're using Amazon's 32-bit Linux AMI. What is the best way to automatically run a script after the OS is loaded (not on ssh login, just after it has booted up)?