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?

gefragt vor 2 Monaten103 Aufrufe
2 Antworten
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
EXPERTE
beantwortet vor 2 Monaten
1
profile pictureAWS
EXPERTE
beantwortet vor 2 Monaten
profile picture
EXPERTE
überprüft vor 2 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen