Auto Scaling Groups Flashcards
What is an AWS Auto Scaling Group (ASG)?
An ASG automatically adjusts the number of EC2 instances in your application to meet the current demand, ensuring you have the appropriate resource capacity to handle the load at any given time.
What are the key functions of an AWS Auto Scaling Group?
Scaling Policies: Defines rules for when instances should be added or removed based on demand.
Health Checks: Monitors the health of instances and replaces unhealthy ones to maintain the desired capacity.
Balancing Load: Distributes incoming traffic across instances within the group to optimize resource utilization and application performance.
What are the benefits of using AWS Auto Scaling Groups?
Cost Efficiency: Reduces costs by adjusting the number of instances based on need, so you pay only for what you use.
High Availability: Ensures that your application can handle the loss of one or more instances without a drop in availability or performance.
Automated Scaling: Reacts to changes in demand without manual intervention, allowing for more consistent performance.
What are important configuration elements of an AWS Auto Scaling Group?
Launch Configuration/Template: Specifies the instance type, AMI ID, key pairs, and other configurations for instances launched within the group.
Desired Capacity: The ideal number of instances that should be maintained within the group.
Minimum and Maximum Size: Limits set to control the smallest and largest size of the group during automatic scaling.