โญ Repository โ ๐ Compliance Engine โ ๐ CloudAware โ ๐ AWS โ ๐ ELB
๐ก๏ธ 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
INCOMPLIANT
if 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 |