Open menu
-->

AWS AutoScaling Best Practices

Implementing auto scaling in your AWS accounts helps you maintain high availability and reduces your infrastructure costs by allowing your application to scale EC2 capacity up or down automatically according to predefined conditions.



Implementing auto scaling in your AWS accounts helps you maintain high availability and reduces your infrastructure costs by allowing your application to scale EC2 capacity up or down automatically according to predefined conditions.

Auto scaling is useful for applications that experience variable usage demands or significant spikes in demand. Auto scaling should also be enabled for applications with stale demand patterns as it ensures the desired number of EC2 instances are maintained in the event of server failure.

Cloud Conformity checks the AWS AutoScaling service according to the following rules:

AWS ASG Cooldown Period
Ensure Amazon Auto Scaling Groups are utilizing cooldown periods.

Enable AWS Auto Scaling Group Notifications
Ensure AWS ASG Notifications feature is enabled within your Auto Scaling Groups settings.

App-Tier Auto Scaling Groups with Associated Elastic Load Balancers
Ensure app-tier Auto Scaling Group has an associated Elastic Load Balancer.

CloudWatch Logs Agent for App-Tier Auto Scaling Group In Use
Ensure an agent for AWS CloudWatch Logs is installed within Auto Scaling Group for app tier.

IAM Roles for App-Tier ASG Launch Configurations
Ensure Auto Scaling Group launch configuration for app tier is configured to use a customer created app-tier IAM role.

Use Approved AMIs for App-Tier ASG Launch Configurations
Ensure Auto Scaling Group launch configuration for app tier is configured to use an approved Amazon Machine Image.

Auto Scaling Groups with integrated Elastic Load Balancers.
Ensure each Auto Scaling Group has an associated Elastic Load Balancer.

Auto Scaling Group Referencing Missing ELB
Ensure Amazon Auto Scaling Groups are utilizing active Elastic Load Balancers.

Empty AWS Auto Scaling Groups
Identify and remove empty AWS Auto Scaling Groups (ASGs).

AWS Auto Scaling Group Health Checks Configuration
Ensure AWS Auto Scaling Group is using the appropriate health check configuration to determine the health status of its instances.

Launch Configuration Referencing Missing AMI
Ensure AWS Launch Configurations are utilizing active Amazon Machine Images.

Launch Configuration Referencing Missing Security Group
Ensure AWS Launch Configurations are utilizing active Security Groups.

Unused Launch Configuration Templates
Identify and remove unused AWS Auto Scaling Launch Configuration templates.

Multi-AZ Auto Scaling Groups
Ensure AWS Auto Scaling Groups utilize multiple Availability Zones to improve environment reliability.

Same Availability Zones In ASG And ELB
Ensure AWS Availability Zones used for Auto Scaling Groups and for their Elastic Load Balancers are the same.

Suspended Auto Scaling Group Processes
Ensure there are no Amazon Auto Scaling Groups with suspended processes.

Web-Tier Auto Scaling Groups with Associated Elastic Load Balancers
Ensure web-tier Auto Scaling Group has an associated Elastic Load Balancer.

CloudWatch Logs Agent for Web-Tier Auto Scaling Group In Use
Ensure an agent for AWS CloudWatch Logs is installed within Auto Scaling Group for web tier.

IAM Roles for Web-Tier ASG Launch Configurations
Ensure Auto Scaling Group launch configuration for web tier is configured to use a customer created web-tier IAM role.

Use Approved AMIs for Web-Tier ASG Launch Configurations
Ensure Auto Scaling Group launch configuration for web tier is configured to use an approved Amazon Machine Image.