Execute .sh script on ec2 instances without rebooting

Posted by waigani on Stack Overflow See other posts from Stack Overflow or by waigani
Published on 2012-06-20T06:21:17Z Indexed on 2012/06/20 21:16 UTC
Read the original article Hit count: 108

I currently keep my app code on S3 and have a startup.sh script which is fired via /etc/rc.local and installs the apps and any edits etc. Thus when I make a change, I need to reboot all my instances for the change to take effect.

Is there a way to trigger the script without rebooting the instance?

EDIT:

I do not want to individually log into all my instances. I would prefer a method that I can script up to apply to all my instances at once - which are in an autoscaling group.

© Stack Overflow or respective owner

Related posts about amazon-web-services

Related posts about ec2-ami