Skip to content

πŸ—‘οΈπŸ’©πŸ—‘οΈ Dirty script to broadcast command using load balancer. Don't plan to use this on your prod environment please.

Notifications You must be signed in to change notification settings

blanxii/aws-load-balancer-broadcast-command

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ—‘οΈπŸ’©πŸ—‘οΈ AWS load balancer broadcast command

Requirements

Configuration

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_NAME with your LB.
  • PATH_REMOTE_CODE with the path you want to navigate
  • SSH_USER with your user to connect to your instance like ubuntu
  • SSH_OPTIONS if you need to set custom variables like .pem file
  • COMMAND command you want to execute. For instance git 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

License

This project is released under the WTFPL LICENSE.

About

πŸ—‘οΈπŸ’©πŸ—‘οΈ Dirty script to broadcast command using load balancer. Don't plan to use this on your prod environment please.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages