how to choose an auto scaling policy ?


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?

質問済み 2ヶ月前96ビュー

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
回答済み 2ヶ月前
profile pictureAWS
回答済み 2ヶ月前
profile picture
レビュー済み 2ヶ月前

ログインしていません。 ログイン 回答を投稿する。