Can anyone please tell me how to run a shell script on all the ec2 instances that are part of a auto scaling group.
The scenario is that i have a script that i want to run on many ec2 instances that are turned on automatically as part of auto scaling group. The native approach is ssh to each instance and run the script. I am looking for a way by which it can run automatically on all the instances when i run it on one of the ec2 instance or any better way of doing this?
Thanks in advance.