Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Related to an another question I asked. This question seems similar but I'm wondering if there are any updates.

To support a single site that has users all over the world, I will create EC2 web servers in the US, Asia and Europe regions. The web server instances in the US and Asia regions will be backed by RDS replicas. Is it possible to load balance across these three regions? So when a customer from Spain goes to, she should be routed to the EC2 instances in Europe region, a customer in Miami should be sent to the instance in Eastern US region, etc. Is this possible to do this with just AWS features? Are there docs on how to set this up?

share|improve this question

Check out Amazon Route 53

Route 53 is designed to be fast, easy to use, and cost-effective. It answers DNS queries with low latency by using a global network of DNS servers. Queries for your domain are automatically routed to the nearest DNS server, and thus answered with the best possible performance.

share|improve this answer
Route 53 does not support GSLB, yet. They are talking about it. However, changing your DNS is your "last line of defense" if AWS goes down completely, so using Amazon for that too is probably unwise. – Terence Johnson Aug 10 '11 at 1:02

I realize that this is very old thread (2011) but I came across this in early 2015, so might someone else, hence clarifying that as of 2015, Amazon route 53 does indeed support GeoLocation based routing :

share|improve this answer

Zerigo offer GeoIP services seems cheap at about $20 a month. i use them for managing about 40 domains, but none of the GeoIP yet... there is another place called EdgeLocator who charge per million DNS requests. seems to be a PAYG service... have not used them, but you might want to check them out for testing...

share|improve this answer
Zerigo doesn't appear to be using anycast, which means users probably won't be answered by the nearest DNS server. – Terence Johnson Aug 10 '11 at 1:21
in theory, your DNS should be provided by your ISP though, so you wont go direct, your ISP will... you should get results from them. but, yes, i can see it being a bit of a slow down... – TiernanO Aug 11 '11 at 13:43

Have you looked at Amazon CloudFront?

share|improve this answer
Cloudfront is for static assets. I don't think it can't serve – Tony Mar 19 '11 at 15:53
you can to an extent. I ran my blog on wordpress behind a cloudfront distribution for a while... It worked, but it was not perfect. – TiernanO Aug 11 '11 at 13:45

Nope, it's not possible using built in AWS features. You'd need to get GSLB from a provider like Dynect

share|improve this answer

use geo-ip routing, one provider here: doesn't sound like a tough deal,but keeping up todate mapping info might be tougher.

and effectively trivial,if ... we can do..

Redirect one country

RewriteEngine on RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^FR$

RewriteRule ^(.*)$ $1 [NC,301,L]

and then redirect them to WWW.YOURDOMAIN.JP,(in japan (or singapore,or someplace close), or to WWW.YOURDOM.COM, or WWW.YOUDOM.DE,etc.

we are in the midst of doing this ourselves.

Also see:

share|improve this answer
This describes the process for Apache, the OP wanted to know for ELB – Smudge Jul 19 '11 at 7:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.