Thursday, July 28, 2011

Can I have a single static IP for my Amazon Load Balancer?

No.. that is not possible! 


Amazon's ELB is itself load balanced... It does not have a 1:1 correspondence with IP addresses. Instead it takes the requests for a specific LB and then redirect them to one of the several possible machines they have which in turn redirects users request to their servers pointed by the LB. 


This basically avoids any bottlenecks but in turn limits us to use a single Static IP for the Load balancer. 



Since a CNAME can’t be the root of your domain (it must be an A record) – you can’t fully balance traffic to your domain.
At the moment, customers have to forward all traffic to a CNAME, from http://example.com to http://www.example.com, to load balance their domains. This introduces a single point of failure. If the server you allocate to serve traffic from the root of your domain goes down, nobody gets forwarded.
In addition, this root server isn’t load balanced, so it receives all the initial traffic to your site. This defeats ELB’s purpose somewhat.

No comments:

Post a Comment