Elastic Load Balancer - AWS ELB

Single point of failure should always be avoided. So we use multiple servers for same application.

A load balancer will equally distribute the incoming traffic to multiple servers.

e.g. Consider there are 2 servers for our application deployed in AWS. If one request to the application is incoming, ELB forwards it to first server and the next incoming request will be forwarded to second server. Then, 3rd request will be sent to first server and the process is repeated. If there are more servers, then all the incoming requests are distributed one by one to each different servers. 

ELB is managed by AWS. Customer need not worry about high availability of ELB.

Even if one server is down, the load balancer will redirect the traffic to second server.

As a part of best practice method, it is advisable to use more than one elastic load balancer to maintain high availability even if any one of the ELBs goes down, the other one can distribute all the incoming traffic thereby avoiding single point of failure completely.

No comments:

Post a Comment