I'm currently using Amazon's EC2 for my socket application to which mobile devices connect via an application I've written (it uses the server's IP address to connect).
I'm looking for a Load Balancing service, that will translate an IP address to a different IP address based on Geographical proximity.
For example, let's say I have to EC2 instances, one in Paris and one in NY, with the IPs 1.1.1.1 and 1.1.1.2 respectively. Now I wish that if a user opens his mobile device (in NY) and tries to connect to 1.1.1.0 he will be redirected to 1.1.1.1.
If pure geographical proximity based redirection too hard to implement, I may as well use latency based redirection. As far as I understand, only having instances in different continents will yield the same results (am I right?)
In any case, I have no clue of how to implement either one of them. Please advise. Thanks