Network Load Balancers
Using zonal shift for Network Load Balancers
To use Network Load Balancers with zonal shift, you must enable ARC zonal shift integration in the Network Load Balancer attributes. Network Load Balancer supports zonal shift with cross-zone enabled or cross-zone disabled configurations.
You can choose which resources to opt-in to use zonal shift and zonal autoshift, and when you would like to fail away from an impaired Availability Zone. Both internet-facing and internal Network Load Balancers are supported.
To enable zonal shift for your cross-zone enabled Network Load Balancer, all target groups attached to the load balancer must meet the following requirements.
-
Cross-zone load balancing must be enabled, or set to
use_load_balancer_configuration
.-
For more information on target group cross-zone load balancing, see Cross-zone load balancing for target groups.
-
-
Target group protocol must be TCP or TLS.
-
For more information on Network Load Balancer target group protocols, see Routing configuration.
-
-
Connection termination for unhealthy targets must be disabled.
-
For more information on target group connection termination, see Connection termination for unhealthy targets.
-
-
Target group must not have any Application Load Balancers as targets.
-
For more information on Application Load Balancers as targets, see Use Application Load Balancers as targets of a Network Load Balancer.
-
You can start a zonal shift for a Network Load Balancer by using the AWS CLI, the AWS console, or the Elastic Load Balancing widget. When an Application Load Balancer is the target of a Network Load Balancer, you must start the zonal shift from the Network Load Balancer. If you start the zonal shift from the Application Load Balancer, the Network Load Balancer will not stop sending traffic to the Application Load Balancer and its targets.
For more information about triggering a zonal shift, see Starting, updating, or canceling a zonal shift.
How zonal shift works for Network Load Balancers
ARC induces a health check failure for the registered Network Load Balancer so the Network Load Balancer node in the impaired AZ is removed from the DNS when you trigger a zonal shift. The Network Load Balancer will disable the targets in the impacted zone so they stop receiving traffic, and Elastic Load Balancing treats these targets as disabled targets by zonal shift. Targets in the disabled state continue receiving health checks. When the targets are healthy and the zonal shift expires (or is cancelled), the routing to targets in the previously impaired zone resumes.
During zonal shift on Network Load Balancers with cross-zone load balancing enabled, the zonal load balancer IP addresses are removed from DNS. Existing connections to targets in the impaired Availability Zone persist until they organically close, while new connections are no longer routed to targets in the impaired Availability Zone.
For more information refer to the Zonal Shift for your Network Load Balancer topic in the Network Load Balancer User Guide.