π‘οΈ AWS ELB Load Balancer Deletion Protection is disabledπ’
- Contextual name: π‘οΈ Load Balancer Deletion Protection is disabledπ’
- ID:
/ce/ca/aws/elb/load-balancer-deletion-protection - Tags:
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
RELIABILITY
Logicβ
- π§ prod.logic.yamlπ’
Similar Policiesβ
- AWS Security Hub: [ELB.6] Application, Gateway, and Network Load Balancers should have deletion protection enabled
- Cloud Conformity: ELBv2 Elastic Load Balancing Deletion Protection
- Cloud Conformity: Enable Deletion Protection
Descriptionβ
Descriptionβ
This policy identifies Application, Network, and Gateway Load Balancers that do not have deletion protection enabled.
Deletion Protection should be enabled for all ELBv2 load balancers to help prevent accidental deletion and unintended service disruption.
Rationaleβ
Load balancers often serve as the primary entry point for application traffic. Accidental deletion can result in immediate and complete service outages for dependent applications. Even in environments managed through automation or Infrastructure as Code (IaC), manual actions performed through the AWS Management Console or AWS CLI can introduce human error.
Enabling Deletion Protection adds an explicit safeguard by requiring an additional verification step before a load balancer can be deleted, helping ensure that critical infrastructure is not decommissioned unintentionally.
Auditβ
This policy flags an AWS ELB load Balancer as
INCOMPLIANTif theAdditional Attributesinclude deletion_protection.enabled: false.Classic Load Balancers are marked as INAPPLICABLE.
Remediationβ
Remediationβ
Enable Deletion Protection for an Elastic Load Balancerβ
Deletion Protection helps prevent accidental removal of critical load balancing resources and reduces the risk of unintended service outages.
From Command Lineβ
Run the following command to update the load balancer attributes and enable Deletion Protection:
aws elbv2 modify-load-balancer-attributes \
--load-balancer-arn {{load-balancer-arn}} \
--attributes Key=deletion_protection.enabled,Value=true