Skip to content

Load Balancer (Network/Gateway) does not have cross-zone load balancing enabled

Description

Cross-zone load balancing is a feature that distributes incoming traffic evenly across the healthy targets in all enabled availability zones. This can help to ensure that your application is able to handle more traffic and reduce the risk of any single availability zone becoming overloaded and might be impact Load balancer's performance

Fix - Buildtime

Terraform

  • Resource: aws_lb
  • Argument: enable_cross_zone_load_balancing

go aws_s3_bucket.test.tf resource "aws_lb" "enabled" { ... + enable_cross_zone_load_balancing = true }