Reputation: 2143
Let's say this situation,
I use TCP protocol for both front-end(client<->ELB) and back-end(ELB<->EC2) connections.
Normaly, the ELB forwards the request to the EC2.
So, if client sends a disconnection request, it will be processed with no problem.
but, if there is an abnormal way like something wrong in the Ethernet cable or cut off, in the client, can EC2 knows this situation through ELB?
also, is there any other solution?
Thanks for your precious time.
Upvotes: 0
Views: 282
Reputation: 3541
ELB has the facility for idle-timeout. You can set this to reasonable value. ELB can detect that client is not responsive thus and close the connection towards EC2 instance.
https://aws.amazon.com/blogs/aws/elb-idle-timeout-control/
Upvotes: 1