AWS Autoscaling has 2 concepts:
But I can't figure out the difference between them. Can somebody help?
Thanks in advance.
By default, this cooldown period is set to 300 seconds (5 minutes). If needed, you can update this after the group is created. To change the default cooldown period (console) After creating the Auto Scaling group, on the Details tab, choose Advanced configurations, Edit.
In the console, by default, the health check grace period is 300 seconds when you create an Auto Scaling group. Its default value is 0 seconds when you create an Auto Scaling group using the AWS CLI or an SDK.
Cooldown period: From AWS documentation: the cooldown period helps to ensure that your Auto Scaling group doesn't launch or terminate additional instances before the previous scaling activity takes effect. You can configure the length of time based on your instance warmup period or other application needs.
A cooldown period specifies how long any alarm-triggered scaling action will be disallowed after a previous scaling action is complete. This cooldown period does not work for scheduled or periodic scaling actions.
A few differences to consider:
The cooldown period is scoped to an auto-scaling action; if that action launches 3 instances, the cooldown period starts when the last instance is ready. Health check grace periods are scoped to an individual instance.
Auto-scaling cooldowns can be applied to many different auto-scaling policies, such as policies for when things scale in. You can delay the termination of additional instances for a set period time. Health check grace periods are only for scaling out.
Cooldowns will be ignored if a health check fails and causes another auto-scaling event. Grace periods will always be in place for the defined amount of time.
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