Behnaz shows you how to
use a geolocation routing policy
to route traffic to your resources

geolocation-routing-policy-behnaz

I have resources in multiple AWS regions, and I want users to be routed to the resource that's geographically closest to them. How do I do that?

To route client requests to the resource endpoint geographically closest to the source of the request based on the client’s location or the client’s resolver location, you can use an Amazon Route 53 hosted zone with a geolocation routing policy:

  1. (Optional) If you haven't already, create a Route 53 hosted zone.
  2. In the Route 53 console, open the Hosted zones pane, select your hosted zone, and choose Go to Record Sets.
  3. Choose Create Record Set, and fill in the fields with the following:
    For Name, enter www.
    For Type, choose A-IPV4 Address.
    For Alias, choose Yes and select a resource endpoint.
    For Routing Policy, choose Geolocation, and for Location, choose the geographic region that you want to direct to the endpoint you selected.
    For Set ID, enter a unique friendly name for the record set that's meaningful to you.
  4. Repeat step 3 for any other geographic regions and endpoints you to use.

Note: To choose an endpoint for traffic to be routed to from regions other than the ones you specifically selected, create a new record set by using these steps, but choose Default under Location.


Did this page help you? Yes | No

Back to the AWS Support Knowledge Center

Need help? Visit the AWS Support Center

Published: 2017-02-24