Load balancers are servers that accept multiple connection requests from multiple sources and distribute the load equally among all multiple targets. There are four different types of load balancers provided by Amazon web services.
Amazon web services elastic load balancer distributes traffic equally among multiple EC2 instances or servers.
The network load balancer is provided by AWS, which accepts multiple connection requests per second from different users and maintains ultra-low latencies for latency-sensitive applications.
NLB typically operates on an open system interconnection layer of four levels and routes the connections to target Amazon EC2 instances, containers, and microservices.
The AWS ELB supports the following types of load balancers:-
- Application Load Balancer
- Network Load Balancer
- Considerations of Application and Network Load Balancers
If the AWS ELB fails, we will have three options to get out of the same:-
- Route the incoming traffic to the IPs of instance public or elastic IP depending on availability.
- Wait for restoring the services by AWS.
- Move the application and traffic to another region.