Control: 1 Auto Scaling groups associated with a load balancer should use load balancer health checks
Description
This control checks whether your Auto Scaling groups that are associated with a load balancer are using Elastic Load Balancing health checks.
PCI DSS does not require load balancing or highly available configurations. However, this check aligns with AWS best practices.
Remediation
To enable Elastic Load Balancing health checks
- Open the Amazon EC2 console
- On the navigation pane, under
Auto Scaling
, choose Auto Scaling Groups - To select the group from the list, choose the right box
- Choose Edit
- For
Health Check Type
, choose ELB - For
Health Check Grace Period
, enter300
- Choose Save
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.foundational_security_autoscaling_1
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.foundational_security_autoscaling_1 --share
SQL
This control uses a named query:
autoscaling_group_with_lb_use_health_check