Benchmark: Auto Scaling
Description
This section contains recommendations for configuring Auto Scaling resources.
Usage
Install the mod:
mkdir dashboardscd dashboardspowerpipe mod initpowerpipe mod install github.com/turbot/steampipe-mod-aws-compliance
Start the Powerpipe server:
steampipe service startpowerpipe server
Open http://localhost:9033 in your browser and select Auto Scaling.
Run this benchmark in your terminal:
powerpipe benchmark run aws_compliance.benchmark.all_controls_autoscaling
Snapshot and share results via Turbot Pipes:
powerpipe benchmark run aws_compliance.benchmark.all_controls_autoscaling --share
Controls
- EC2 auto scaling group launch configurations user data should not have any sensitive data
- EC2 auto scaling groups should cover multiple availability zones
- Auto Scaling groups should not have any suspended processes
- Ensure EC2 Auto Scaling Groups Propagate Tags to EC2 Instances that it launches
- EC2 Auto Scaling groups should use EC2 launch templates
- Auto Scaling groups with a load balancer should use health checks
- EC2 auto scaling group launch configurations should not have metadata response hop limit greater than 1
- Auto Scaling launch config public IP should be disabled
- Auto Scaling group should configure EC2 instances to require Instance Metadata Service Version 2 (IMDSv2)
- EC2 auto scaling groups should use multiple instance types in multiple availability zones