Check ID: elbv2_deletion_protection
Provider: AWS
Service: elbv2
Severity: MEDIUM
Categories: resilience
Resource type: AwsElbv2LoadBalancer

What this check verifies

ELBv2 load balancers with deletion protection (deletion_protection.enabled) are resistant to deletion through standard APIs. The assessment determines whether this attribute is enabled on each load balancer.

Risk

Without deletion protection, a user or automated process can delete the load balancer, cutting off service endpoints and breaking routing, harming availability. Malicious or mistaken deletes enable DoS, disrupt blue/green rollbacks, and increase incident recovery time.

Recommendation

Enable deletion protection for production and other critical load balancers. Enforce least privilege to restrict delete actions, apply governance (tags and policy guardrails) for protected assets, and require change control with approvals. For pipelines, add checks that block deletion of protected resources.

Remediation

aws elbv2 modify-load-balancer-attributes --load-balancer-arn <lb_arn> --attributes Key=deletion_protection.enabled,Value=true

References

Where this check fires

This check runs on every scheduled scan against your AWS account. Findings appear at Cloud Security → Findings filterable by Check ID = elbv2_deletion_protection. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to AWS checks