[šŸš€Launch Announcement] - AWS Network Load Balancer (NLB) introduces a new target health status while draining connections

1 minute read
Content level: Advanced
1

This article provides overview of new target health status while draining connections on AWS Network Load Balancer (NLB)

Network Load Balancer (NLB) now supports a new target health status called ā€œunhealthy.drainingā€ that enables you to safely drain existing connections on targets that fail load balancer health checks. In the ā€œunhealthy.drainingā€ state, targets do not receive new connections but retain established connections for the configured interval. If targets recovers, the NLB will flip the target status back to ā€œhealthyā€ and resume routing new connections to the targets; otherwise, it will flip the target status to ā€œunhealthyā€ and connections will be terminated. This feature provides protections to prevent or mitigate re-connect storms as existing connections can drain over time instead of being terminated together. You can view the target health status either in elbv2 describe-target-health API or visit EC2 console > Target Groups > Targets tab.

This launch is available in all commercial AWS Regions, including the AWS GovCloud (US) Regions. To learn more, please refer to NLB documentation (link: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/target-group-health.html#unhealthy-target-connection-termination).