Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS AutoScaling CoolDown components

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.

like image 880
Joey Pinto Avatar asked Jan 31 '19 18:01

Joey Pinto


People also ask

What is the different cooldown period in Auto Scaling?

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.

What is cool down and warm up period in AWS?

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.

Can you update Auto Scaling group without downtime?

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.


2 Answers

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

like image 171
C.Vergnaud Avatar answered Oct 04 '22 21:10

C.Vergnaud


A scaling-specific cooldown period overrides the default cooldown period.

Source: Scaling specific cooldowns

like image 27
NHol Avatar answered Oct 04 '22 20:10

NHol