Ensure that your Amazon Auto Scaling Groups (ASGs) are configured to use a cooldown period to temporarily suspend any scaling activities in order to allow the newly launched Amazon EC2 instances some time to start handling the application traffic.
This rule resolution is part of the Conformity Security & Compliance tool for AWS.
The cooldown period helps to prevent Auto Scaling Groups (ASGs) from launching or terminating additional instances before the effects of previous activities are visible. If the cooldown period is set to zero, the ASG service can initiate another scaling event before the effects of a previous event become evident. Since a newly launched Amazon EC2 instance needs time for booting and initial software configuration before it can take some of the application workload, implementing a proper cooldown period to temporarily suspend any scaling actions is strongly recommended.
Note: The "Default Cooldown" value is set to 300 seconds, however you can change the default threshold for this rule on Trend Cloud One™ – Conformity account console and set your own value for the cooldown period based on your application requirements.
Audit
To identify Auto Scaling Groups (ASGs) that are not using appropriate cooldown periods, perform the following actions:
Remediation / Resolution
To configure an optimal cooldown period for your Amazon Auto Scaling Groups (ASG), perform the following actions:
References
- AWS Documentation
- Auto Scaling Groups
- Scale the size of your Auto Scaling group
- Dynamic scaling for Amazon EC2 Auto Scaling
- Manual scaling for Amazon EC2 Auto Scaling
- Scaling cooldowns for Amazon EC2 Auto Scaling
- AWS Command Line Interface (CLI) Documentation
- describe-auto-scaling-groups
- update-auto-scaling-group