Auto Scaling Group Flashcards
Auto Scaling Group
Auto Scaling Group
ensures enough instances exist to meet demand
Auto Scaling Group
how it works
Auto Scaling Group
Scales in or out instances to match load
Auto Scaling Group
how to configure sizing
Auto Scaling Group
define minumum, maximum, and desired number of instances
Auto Scaling Group
interaction with LB
Auto Scaling Group
registers new instances with LB
Auto Scaling Group
treatment of unhealthy instances
Auto Scaling Group
terminated and replacements created
Auto Scaling Group
launch template
Auto Scaling Group
defines instance properties
Auto Scaling Group
features that can be defined (6/10)
launch template
- AMI
- Instance type
- EC2 User data
- EBS volumes
- security groups
- SSH key pair
- IAM roles
- VPC
- Subnet
- load balancer
launch template
scaling policies
Auto Scaling Group
trigger scaling events based on metrics
Auto Scaling Group
where alarms and metrics are
scaling policies
CloudWatch
scaling policies
scale-out policy
scaling policies
increases instances when alarm is triggered
scaling policies
scale-in policy
scaling policies
decreases instances when alarm is triggered
scaling policies
Scaling policy types (4)
scaling policies
- Target tracking
- simple / step
- scheduled
- predictive
scaling policies
Target tracking
Scaling policy types
keep a metric around target %
Scaling policy types
simple / step
Scaling policy types
scale change when CloudWatch alarm is triggered
Scaling policy types
scheduled
Scaling policy types
scale based on known usage patterns
Scaling policy types