how to choose an auto scaling policy ?

0

scenario: The application runs on Amazon EC2 instances that are in an Auto Scaling group. The application receives large traffic increases at random times throughout the day. During periods of rapid traffic increases, the Auto Scaling group is not adding capacity fast enough. As a result, users are experiencing poor performance. question: Which scaling policy is more suitable for this scenario? target tracking policy or step scaling or simple scaling?

asked a month ago62 views
2 Answers
1
profile pictureAWS
EXPERT
answered a month ago
profile picture
EXPERT
reviewed a month ago
1

Target Tracking Policy: This policy adjusts the capacity of the Auto Scaling group to maintain a specified target value for a specific metric. It continuously adjusts the group's capacity as the metric changes. While target tracking is useful for maintaining a specific level of utilization or performance,

Step Scaling Policy: Step scaling allows you to scale your Auto Scaling group based on a set of defined steps. Each step specifies the adjustment to make if the CloudWatch alarm for the associated metric is triggered. This policy is more suitable for scenarios where you can anticipate the scaling needs based on specific thresholds

Simple Scaling Policy: Simple scaling policies are based on a single scaling adjustment at a time, in response to a specific CloudWatch alarm

Given the sudden and unpredictable nature of the traffic increases in this scenario, the most suitable scaling policy would be the Step Scaling Policy.

answered a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions