Cost management and EC2 scaling

The environment has been running on a spare laptop, but today you will move everything to a new Amazon ECS cluster. Because the company is cost-conscious, the majority of our capacity will use EC2 Spot fleet instances. Because elasticity is also important, you will set up Auto Scaling for the Spot fleet to scale up and down as demand increases and decreases.

For long-term stability of core capacity, you will also add a small group of on-demand EC2 instances to the cluster.

At the end of this lab you will have an ECS cluster composed of Spot fleet instances with Auto Scaling enabled, and an on-demand instance from an Auto Scaling group.