AWS Security Hub · AutoScaling
AutoScaling.6: ASGs should use multiple instance types/AZs
Written and reviewed by Emnode · Last reviewed
What does AWS Security Hub AutoScaling.6 check?
AutoScaling.6 fails when an Auto Scaling group does not use multiple instance types across multiple Availability Zones. The control expects a mixed instances policy that diversifies the group beyond a single type in a single or narrow set of zones.
Why does AutoScaling.6 matter?
A group pinned to one instance type is a capacity risk: when AWS runs short of that type in your AZs, scale-out events fail with InsufficientInstanceCapacity and the application limps along under-provisioned. A mixed instances policy lets the group fall back across types and zones, and the same diversification opens the door to safe Spot adoption.
How do I fix AutoScaling.6?
- Inspect each group's configuration for instance-type and AZ diversity.
- Define a mixed instances policy on a launch template listing several compatible instance types.
- Spread the group across multiple Availability Zones.
- Tune the diversification and on-demand/Spot split, then roll the fleet via instance refresh.
Remediation script · bash
# Fix the highest-impact data stores first: enable Multi-AZ on production databases.
for db in $(aws rds describe-db-instances \
--query 'DBInstances[?MultiAZ==`false` && DBClusterIdentifier==null].DBInstanceIdentifier' --output text); do
aws rds modify-db-instance --db-instance-identifier "$db" \
--multi-az --apply-immediately
echo "$db: standby being provisioned in a second AZ"
done
# Span a stateless compute fleet across three AZs, then mirror the set on its load balancer.
aws autoscaling update-auto-scaling-group --auto-scaling-group-name web-tier-asg \
--vpc-zone-identifier "subnet-0aaa1,subnet-0bbb2,subnet-0ccc3"
aws elbv2 set-subnets --load-balancer-arn "$ALB_ARN" \
--subnets subnet-0aaa1 subnet-0bbb2 subnet-0ccc3 Full walkthrough (console steps, edge cases and verification) in the lesson Deploy across multiple Availability Zones.
More AutoScaling controls
- AutoScaling.1 ASGs with an LB should use ELB health checks
- AutoScaling.2 A single-AZ Auto Scaling group is one outage from zero capacity
- AutoScaling.3 Launched instances still allow IMDSv1
- AutoScaling.5 A launch config gives ASG instances public IPs
- AutoScaling.9 Deprecated launch configurations are still in use