I have a client application that connects to a custom server running on EC2 using TCP sockets. The connections between the client and server can last for awhile (multiple hours to a full day).
I am now in the process of evaluating Amazon's ELB (Elastic Load Balancer), but am worried that due to the dynamically changing IP of the ELB, existing connections will be lost when the IP changes. Can anyone confirm if this is how it works? Is it simply the IP associated with the DNS name that changes? Is that the same thing as the IP of an existing socket connection changing? And ultimately, will the effect of such a change be to sever existing TCP-based socket connections?
EXTRA INFO:
This is not a "standard" http or browser based app - the client app runs in realtime on mobile devices and communicates with the server via a dedicated TCP socket. The server performs continuous logic and communicates back and forth with the client over the lifetime of the connection over this single TCP socket connection. I want to ensure that the client won't have to re-connect to the server (i.e., destroy/recreate socket connection) when the ELB decides to change IPs (it's one thing if you legitimately leave wifi/cellular range or something, but I don't want to disconnect just due to the whims of ELB).