- 最新
- 投票最多
- 评论最多
The longer registration time for ECS targets in Network Load Balancer architecture is a known behavior
When you register a new target to your Network Load Balancer, it is expected to take between 90 and 180 seconds to complete the registration process. After registration is complete, the Network Load Balancer health check systems will begin to send health checks to the target. A newly registered target must pass health checks for the configured interval to enter service and receive traffic. For example, if you configure your health check for a 30 second interval, and require 3 health checks to become healthy, the minimum time a newly registered target could enter service is 180 seconds (90 seconds for registration, and another 90 (3*30) seconds for passing health checks) after a new target passes its first health check.
Similarly, when you deregister a target from your Network Load Balancer, it is expected to take 90-180 seconds to process the requested deregistration, after which it will no longer receive new connections. During this time the Elastic Load Balancing API will report the target in 'draining' state. The target will continue to receive new connections until the deregistration processing has completed. At the end of the configured deregistration delay, the target will not be included in the describe-target-health response for the Target Group, and will return 'unused' with reason 'Target.NotRegistered' when querying for the specific target.
There is an ongoing feature request to reduce the time taken to register, deregister, Network Load Balancer targets but at the moment, there is no ETA for this implementation.
Thanks for the explanation!
I have Terminate connections on deregistration = on
and Deregistration delay = 60 sec
, I tried changing these parameters and did not notice any changes.
相关内容
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 年前
Could you please check on your Target Group configuration if you have enabled the "Terminate connections on deregistration"? Please check more information here