I've been playing with the configuration of my autoscaling groups but I do not totally get how this two work.
As Amazon says Health Check Grace Period
refers to:
The length of time that Auto Scaling waits before checking an instance's health status. The grace period begins when an instance comes into service.
While Default Cooldown
refers to:
The number of seconds after a scaling activity completes before another can begin. This is also called the cooldown period. Learn more about cooldown periods.
So imagine I have a rule that scales out when CPU consumption is above 50% and that Health Check Grace Period = 300
and Default Cooldown = 100
. If I launch an instance at second 0, how long will it be until AWS checks the CPU consumption of the scaling group? And, how long will it be until a new instance is launched? Would the time be 400 seconds till launch and other 100 till the CPU check of the group again? Thanks.