AWS Security ChangesHomeSearch

AWS elasticloadbalancing: Note that removed NLB target groups keep active connections

Service: elasticloadbalancing · 2026-11-03 · Documentation medium

File: elasticloadbalancing/latest/network/listener-update-rules.md · Type: network

Summary

Adds a note explaining that replacing or removing a target group from an NLB listener without deregistering targets leaves existing connections established, and that Connection termination on deregistration only applies to deregistration.

Security assessment

The note documents a network-behavior caveat with security relevance: traffic can continue flowing to targets that were removed from a listener, so operators must deregister targets to guarantee connection termination. It is hardening/operational guidance rather than a fix for a specific vulnerability.

Evidence

+If you replace or remove a target group from a listener without first deregistering its targets, those targets keep handling existing active connections. In this case, the Network Load Balancer doesn't terminate the connections, and existing connections stay established unless the client or the target ends them. The `Connection termination on deregistration` setting applies only when you deregister targets, so these connections can persist beyond the one-hour period described previously. To have the Network Load Balancer terminate them, deregister the targets before you remove or replace the target group.

Diff

diff --git a/elasticloadbalancing/latest/network/listener-update-rules.md b/elasticloadbalancing/latest/network/listener-update-rules.md
index a65a30e..5e6859e 100644
--- a//elasticloadbalancing/latest/network/listener-update-rules.md
+++ b//elasticloadbalancing/latest/network/listener-update-rules.md
@@ -16,0 +17,4 @@ When the target group for the default action of a TCP, TLS, or QUIC listener is
+###### Note
+
+If you replace or remove a target group from a listener without first deregistering its targets, those targets keep handling existing active connections. In this case, the Network Load Balancer doesn't terminate the connections, and existing connections stay established unless the client or the target ends them. The `Connection termination on deregistration` setting applies only when you deregister targets, so these connections can persist beyond the one-hour period described previously. To have the Network Load Balancer terminate them, deregister the targets before you remove or replace the target group.
+