In AWS, the autoscaling group has a default cool down setting. Also a policy can be defined to be triggered by an alarm and also have a cool down period for its scaling activity.
Is the actual cool down after a scaling the sum of these two cool down periods or the Maximum out of these two?
If ASG defaults to 60 seconds And a Scale Out Policy is set to be 90 seconds
How much cool down period will be given after the Scaling out action is taken.
You can't set the default cooldown when you initially create an Auto Scaling group in the Amazon EC2 Auto Scaling console. By default, this cooldown period is set to 300 seconds (5 minutes). If needed, you can update this after the group is created.
with a cooldown period in place, the Auto Scaling group launches an instance and then suspends scaling activities due to simple scaling policies or manual scaling until the specified time elapses. (The default is 300 seconds.) This gives newly launched instances time to start handling application traffic.
It is not possible to update launch configurations directly, which complicates updating Auto Scaling groups without incurring downtime. Using Auto Scaling rolling updates is the answer.
The default cool down applies if you do not define cool down value in your scale out/in policy. If you define a cool down in your policy, this cool down value applies for this policy (no sum, no max or anything).
So, regarding your question, you'll have a 90s cool down.
More details on official documentation : Scaling Cooldowns for Amazon EC2 Auto Scaling
A scaling-specific cooldown period overrides the default cooldown period.
Source: Scaling specific cooldowns
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With