Regarding to AWS official documentation: https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html during the scale-in process an instance initially goes into Terminating:Wait state before it will be eventually terminated. While an instance is in that "pause" state we are able to do some work like downloading logs etc.
I am very curious about open web-socket connections. When instance is an Terminating:Wait state it cannot accept requests for any new connections and it is ok.
But what about existing connections? Are they still alive and able to work until the instance is fully terminated?
Links to an official sources will be appreciated.