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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南