OK999
OK999

Reputation: 1399

Are Amazon Elastic Load Balancer (ELB) failure proof?

The title might be a little too much, but i am unable to find any statements regarding this. I am trying to set up computes in multiple AZ's (in a region) with auto-scaling. i am also trying to see if i can get away with only one ELB to do the load balancing act.

In this setup, the ELB is a single point of failure so, I would like to know, if anyone knows the recovery associated with ELB's. There are documentations about scaling in ELB but not the recovery/higher availability.

thanks

Upvotes: 7

Views: 6409

Answers (2)

chris
chris

Reputation: 37460

An ELB is a logical entity that consists of multiple (at least 2 - one per AZ - and generally more) instances that route traffic to your back ends.

If an individual ELB instance were to fail, it would be replaced automatically, much in the way autoscaling replaces failed instances.

You can usually tell how many instances are in your ELB by doing a DNS lookup - you will see multiple IP addresses returned.

ELBs can become overloaded if you have a sudden burst of traffic, so they are not failure proof, but for most loads they do a very good job.

Upvotes: 7

Mark B
Mark B

Reputation: 200722

Make sure you select multiple AZs for the load balancer as well. You will have to in order for it to work with EC2 instances in multiple AZs anyway. When you do that, multiple ELB instances are created for you behind the scenes, one in each AZ. So the ELB isn't really a "single point of failure".

The most common issue you may see with an ELB is if you have a very quick, large burst of traffic, which will take the ELB a few minutes to scale up to meet the demand. If you know ahead of time you will be getting a large increase in traffic you can send a request to AWS support to pre-warm the ELB for you.

I recommend reading the section titled "Common Pitfalls When Testing Elastic Load Balancing" in this article.

Upvotes: 10

Related Questions