π‘οΈ AWS ELB Load Balancer is unusedπ’
- Contextual name: π‘οΈ Load Balancer is unusedπ’
- ID:
/ce/ca/aws/elb/load-balancer-unused - Tags:
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
COST
Logicβ
- π§ prod.logic.yamlπ π’
- π AWS ELB Load Balancer
- π§ͺ test-data.json
Descriptionβ
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:
- It has no listeners configured.
- 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
INCOMPLIANTif it has no related AWS ELB Load Balancer Listeners and AWS ELB Load Balancer Targets.
Remediationβ
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β
Linked Framework Sectionsβ
| Section | Sub Sections | Internal Rules | Policies | Flags | Compliance |
|---|---|---|---|---|---|
| πΌ Cloudaware Framework β πΌ Waste Reduction | 25 | no data |