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?

已提问 4 个月前128 查看次数
2 回答
2

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.

profile picture
专家
Sandeep
已回答 4 个月前
1
profile pictureAWS
专家
已回答 4 个月前
profile picture
专家
已审核 4 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则