topics/aws/exercises/auto_scaling_groups_basics/solution.md
Zero EC2 instances running
A. Create a scaling group for web servers with the following properties:
yum install -y httpd
systemctl start httpd
systemctl enable httpd
B. Were new instances created since you created the auto scaling group? How many? Why? C. Change desired capacity to 2. Did it launch more instances? D. Change back the desired capacity to 1. What is the result of this action?
A.
B. One instance was launched to met the criteria of the auto scaling group we've created. The reason it launched only one is due to "Desired capacity" set to 1. C. Change it by going to your auto scaling group -> Details -> Edit -> "2 desired capacity". This should create another instance if only one is running D. Reducing desired capacity back to 1 will terminate one of the instances (assuming 2 are running).