Skip to content

Instantly share code, notes, and snippets.

@yarapavan
Created February 3, 2016 11:48
Show Gist options
  • Save yarapavan/6099336cc52537b01e52 to your computer and use it in GitHub Desktop.
Save yarapavan/6099336cc52537b01e52 to your computer and use it in GitHub Desktop.
vpc eip to asg mapping
$ more asg.sh
#!/bin/sh
apt-get update
apt-get -y install python-setuptools python-pip ec2-api-tools
pip install awscli
pip install aws-ec2-assign-elastic-ip
aws-ec2-assign-elastic-ip --region us-west-1 >> /var/log/aws-ec2-assign-elastic-ip.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment