A set of target group options you could look in to improve the drain and deregistration time of your NLB targets would be the Deregistration Delay and Connection Termination on Deregistration.
The Deregistration Delay can be modified from the default value of 300 seconds to decrease the time ELB will wait before changing the state of a target from "draining" to "unused". As well, modifying "Connection termination on deregistration" to "true" is a recommended option that will cause NLB to terminate any remaining active connections to that target once the Deregistration Delay time is reached, bringing it to a fully deregistered state.
Hope this helps!
Cannot select a target group with alb target type when creating an application load balancerAccepted Answerasked 3 months ago
Create ECS service using existing load balancer with existing target groupasked 8 months ago
What is the role of ports in the target group of the application load balancer?asked a day ago
Enabling/Disabling AWS Load Balancer Target Nodes for Maintenanceasked 3 months ago
Registered target is removed when autoscaling occurs in Load Balancerasked 18 hours ago
Is there a way to Implement WebSockets on AWS’s ELB (Elastic Load Balancer)asked 3 years ago
My Network Load Balancer is not enforcing the target Security groupasked 3 years ago
Network load balancer and privatelink for static ipAccepted Answerasked 4 years ago
Client IP Preservation for Network Load Balancer endpoints for Global Acceleratorasked 8 months ago
ECS fails to remove a task from the load balancer target group?asked 5 months ago