Check provider logo

ELBv2 Network or Gateway Load Balancer has cross-zone load balancing enabled

elbv2_cross_zone_load_balancing_enabled

Severitymedium
Serviceelbv2
by Prowler

Network and Gateway Load Balancers have cross-zone load balancing enabled (load_balancing.cross_zone.enabled), so each node distributes requests to targets in all enabled Availability Zones rather than only its own.

Risk

Without cross-zone distribution, traffic can concentrate in one zone, degrading availability through target saturation, uneven failover, and connection drops. Zonal impairment can cause partial outages and increase latency under load.

Run this check with Prowler CLI

prowler aws --checks elbv2_cross_zone_load_balancing_enabled

Recommendation

Enable cross-zone load balancing to spread load across zones and design for AZ redundancy.

  • Balance capacity per AZ and use health-based routing
  • Avoid single-AZ dependencies and sticky designs
  • Monitor zonal health to sustain fault tolerance

Remediation

CLI

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

Native IaC
Terraform
Other
  1. Open the AWS EC2 console and go to Load Balancers
  2. Select your Network or Gateway Load Balancer
  3. Choose the Attributes tab > Edit attributes
  4. Turn on Cross-zone load balancing
  5. Save changes

Source Code

Resource Type

AwsElbv2LoadBalancer

References