Web Service - Handing Traffic based on region
<p>I'm in the process of building a RESTful web service that will run on AWS using Load Balancers, Auto-Scaling etc...</p>

<p>However as part of the service I need to ensure that client request latency is as low as possible. So I want potential users in the US to access US based EC2 instances and users in Europe to access European based servers.</p>

<p>Whats the best practice to achieve this? Assuming that clients just access some API endpoint (with curl for example), how do I direct traffic? </p>

<p>Is this a DNS setting which my domain name provider?</p>

<p>Or do I have an initial Load Balancer which can redirect to the appropriate regional load balancer? (sorts of defeats the purpose?!) </p>

<p>Or would I need to implement some type of client side logic?</p>

<p>Thanks!</p>