What should you do to fix this?

Your application’s Auto Scaling Group scales up too quickly, too much, and stays scaled when traffic decreases. What should you do to fix this?

need to set the thresholds of the metric based on whether or not latency is affected by the change, to justify adding capacity instead of wasting money. http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/policy_creating.html

Your application’s Auto Scaling Group scales up too quickly, too much, and stays scaled when traffic decreases. What should you do to fix this?

need to set the thresholds of the metric based on whether or not latency is affected by the change, to justify adding capacity instead of wasting money. http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/policy_creating.html

A.
Set a longer cooldown period on the Group, so the system stops overshooting the target capacity. The issue is that the scaling system
doesn’t allow enough time for new instances to begin servicing requests before measuring aggregate load again.

B.
Calculate the bottleneck or constraint on the compute layer, then select that as the new metric, and set the metric thresholds to the
bounding values that begin to affect response latency.

C.
Raise the CloudWatch Alarms threshold associated with your autoscaling group, so the scaling takes more of an increase in demand
before beginning.

D.
Use larger instances instead of lots of smaller ones, so the Group stops scaling out so much and wasting resources as the OS level,
since the OS uses a higher proportion of resources on smaller instances.

Explanation:
Explanation/Reference:
Systems will always over-scale unless you choose the metric that runs out first and becomes constrained first. You also



Leave a Reply 0

Your email address will not be published. Required fields are marked *