-
-
Save moki9/74c7f694a7a41125d22b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#For a complete list of options see http://boto.cloudhackers.com/ref/ec2.html#boto.ec2.autoscale.group.AutoScalingGroup | |
ag = AutoScalingGroup(group_name='webserver-asg', load_balancers=['my-lb'], | |
availability_zones=['us-east-1a','us-east-1b', 'us-east-1c'], | |
launch_config='my-launch-config-name', min_size=2, max_size=20) | |
conn_as.create_auto_scaling_group(ag) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment