Skip to main content

โญ Repository โ†’ ๐Ÿ“ Compliance Engine โ†’ ๐Ÿ“ CloudAware โ†’ ๐Ÿ“ AWS โ†’ ๐Ÿ“ ELB

๐Ÿ›ก๏ธ AWS ELB Load Balancer is unused๐ŸŸข

Logicโ€‹

Descriptionโ€‹

Open File

Descriptionโ€‹

This policy identifies AWS ELB Load Balancers that are considered unused. An ELB is flagged as unused if it meets either of the following criteria:

  1. It has no listeners configured.
  2. It has no registered targets.

Rationaleโ€‹

Maintaining unused load balancers can lead to unnecessary costs. Regularly identifying and removing idle ELBs helps:

  • Optimize costs by eliminating resources that incur charges without providing value.
  • Simplify resource management and reduce operational complexity.
  • Improve security posture by removing potentially misconfigured or forgotten endpoints.

Impactโ€‹

Unused load balancers incur hourly charges even when not actively routing traffic. While individual costs may be small, they can accumulate significantly across an organization. Additionally, idle load balancers can complicate network diagrams and asset inventories.

Auditโ€‹

This policy flags an AWS ELB Load Balancer as INCOMPLIANT if it has no related AWS ELB Load Balancer Listeners and AWS ELB Load Balancer Targets.

Remediationโ€‹

Open File

Remediationโ€‹

Consider whether the load balancer is still needed.

  • If the load balancer is needed for future use or is temporarily inactive, configure it properly by adding listeners and registering healthy targets.
  • If the load balancer is no longer needed, delete it to stop incurring unnecessary charges.

Delete the Load Balancerโ€‹

From Command Lineโ€‹
  • For Application, Network, or Gateway Load Balancers (elbv2):
aws elbv2 delete-load-balancer --load-balancer-arn {{load-balancer-arn}}
  • For Classic Load Balancers (elb):
aws elb delete-load-balancer --load-balancer-name {{load-balancer-name}}

Note: After deletion, confirm that no resources are still pointing to the removed load balancer to avoid service disruptions.

policy.yamlโ€‹

Open File

Linked Framework Sectionsโ€‹

SectionSub SectionsInternal RulesPoliciesFlagsCompliance
๐Ÿ’ผ Cloudaware Framework โ†’ ๐Ÿ’ผ Waste Reduction25no data