AWS Auto Scaling Group (ASG)
cloud AWS

15 minutes


go back go back go back home home

Introduction

"asg"


Scaling Strategies

There are 2 types of strategies which we can implement. Manual & Dynamic Scaling (using ASGs). - Manual Scaling : Update the size of ASG Manually.

Strategy NameExplaination
Simple/Step Scaling (AKA Dynamic Scaling)When CloudWatch Alarm is triggered (example CPU > 70%), then add 2 EC2 Instances.
When CloudWatch Alarm is triggered (example CPU < 30%), then remove 1 EC2 Instances.
Target Tracking Scaling”I want the AVERAGE ASG CPU to stay at 40%” (we use CloudWatch’s parameters to make decision by tracking a specific parameters of the target. )
Scheduled ScalingAnticipate scaling based on known usage patterns.
Predictive ScalingUsing ML to predict future traffic ahead of time.
Automatically provision the right amount of EC2 instances in advance.