- AWS-CLI
- AWS configuration
- JQ (used to parse JSON)
Remember you should give permission to launch.sh file like chmod 777 launch.sh
Create config.cfg file and add your variables on it.
LB_NAMEwith your LB.PATH_REMOTE_CODEwith the path you want to navigateSSH_USERwith your user to connect to your instance likeubuntuSSH_OPTIONSif you need to set custom variables like .pem fileCOMMANDcommand you want to execute. For instancegit pull origin master
You can use this script to broadcast a command to your LB instances.
Keep in mind you can create AMI after that using http://docs.aws.amazon.com/cli/latest/reference/ec2/create-image.html
This project is released under the WTFPL LICENSE.