Ensure there are at least two healthy EC2 target instances registered to each Amazon Application Load Balancer (ALB) and Network Load Balancer (NLB) in order to provide a fault-tolerant load balancing configuration for your applications.
This rule can help you work with the AWS Well-Architected Framework.
This rule resolution is part of the Conformity Security & Compliance tool for AWS.
To achieve fault tolerance and minimize the risk of downtime, always register at least two target Amazon EC2 instances to the target group(s) associated with your ELBv2 load balancers.
Audit
To determine if your Amazon ELBv2 load balancers distribute the traffic to at least two healthy target instances, perform the following operations:
Remediation / Resolution
To register additional healthy Amazon EC2 instances to the target groups associated with your ELBv2 load balancers, perform the following operations:
References
- AWS Documentation
- Elastic Load Balancing FAQs
- Application Load Balancers
- Network Load Balancers
- Target Groups for Your Application Load Balancers
- Register Targets with Your Target Group
- AWS Command Line Interface (CLI) Documentation
- elbv2
- describe-load-balancers
- describe-target-groups
- describe-target-health
- deregister-targets
- register-targets
- CloudFormation Documentation
- Elastic Load Balancing V2 resource type reference
- Terraform Documentation
- AWS Provider
Unlock the Remediation Steps
Free 30-day Trial
Automatically audit your configurations with Conformity
and gain access to our cloud security platform.
You are auditing:
ELBv2 Minimum Number of EC2 Target Instances
Risk Level: High