Last active
April 18, 2018 19:48
-
-
Save arnathan2k/307e6ee09b78ab83528b9e7fbfaf287e to your computer and use it in GitHub Desktop.
Create AWS autoscaling Launch configuration from running instance
This file contains 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
# creating launch config from running instance | |
aws autoscaling create-launch-configuration --launch-configuration-name web-demo-launch-config --instance-id i-a8exxxxxx | |
# Creating ASG from running instance | |
aws autoscaling create-auto-scaling-group --auto-scaling-group-name web-demo-asg --instance-id i-7f12e649 --min-size 1 --max-size 2 --desired-capacity 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment