Welcome to the Amazon EC2 Auto Scaling lesson. Building on our knowledge of Horizontal Scaling, AWS provides a service that performs this scaling automatically!
Manual scaling is slow and error-prone. By learning EC2 Auto Scaling, you can automate your infrastructure so that it dynamically grows during traffic peaks and shrinks during quiet periods, maximizing performance and minimizing costs.
In this tutorial, you will learn:
Amazon EC2 Auto Scaling helps you maintain application availability and allows you to automatically add or remove EC2 instances according to conditions you define. You can use the fleet management features to maintain the health and availability of your fleet.
An Auto Scaling Group is a logical collection of EC2 instances. Within an ASG, you define rules:
You can set up CloudWatch alarms to trigger a scaling event. For example:
This ensures your application is always perfectly sized for the current demand!
In an Auto Scaling Group, what setting dictates the upper limit of instances to prevent runaway costs?