Our organization, Flying Bears, Inc., is experiencing several cost overage issues. In this lab, we will cut costs in our EC2 instances by launching an Auto Scaling group for our web EC2 instances to make sure that when they are underutilized, the group is scaled down. We will make sure that the group is able to scale up when the site experiences high traffic periods as well.
Successfully complete this lab by achieving the following learning objectives:
- Create a Launch Template
Review the current instances and create a launch template to be used in our Auto Scaling group.
Note: Make sure no subnet is added during this objective, as subnets are not applicable for Auto Scaling templates. If a subnet is added, you will need to start the launch template creation from the beginning.
- Create an Auto Scaling Group
Create an Auto Scaling group and make sure the scaling events are specified to scale up and down based on usage.
- Clean Up Old Instances
Take a snapshot of one of the old web instances and then terminate the 3 that are no longer in use.