Identify unused Amazon Classic Load Balancers available within your AWS cloud account and delete these load balancers in order to lower the cost of your AWS bill.
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.
optimisation
Any Classic Load Balancer provisioned in your AWS cloud account is adding charges to your AWS monthly bill, regardless whether is being used or not. If your load balancer has no registered instances, consider registering EC2 instances or delete the load balancer. If your load balancer has no healthy EC2 instances registered, consider troubleshooting the instances configuration or delete the load balancer. Removing unused Amazon Classic Load Balancers from your AWS account will help you to avoid unexpected charges on your AWS bill.
Audit
Case A: To determine if your Classic Load Balancer has registered EC2 instances, perform the following actions:
Audit
Case B: To determine if your Classic Load Balancer has healthy backend EC2 instances, perform the following actions:
Remediation / Resolution
To remove any unused or inactive Amazon Classic Load Balancers from your AWS cloud account, perform the following actions:
References
- AWS Documentation
- What Is Elastic Load Balancing?
- AWS Billing and Cost Management - Avoiding Unexpected Charges
- Configure Your Load Balancer
- Troubleshooting Elastic Load Balancing: Health Checks
- Troubleshoot Your Load Balancer
- AWS Command Line Interface (CLI) Documentation
- elb
- describe-load-balancers
- describe-instance-health
- delete-load-balancer
- CloudFormation Documentation
- AWS::ElasticLoadBalancing::LoadBalancer
- Terraform Documentation
- AWS Provider