Consider a scenario where you want to distribute traffic to multiple instances, maybe in different availability zones or different regions, in order to configure high availability and fault tolerance. AWS Elastic Load Balancing provides the following three types of load balancer:
- Application Load Balancer: Application Load Balancer works at Layer 7 and routes HTTP and HTTPS traffic to EC2 instances, IP addresses, and containers. It is mandatory to specify more than one Availability Zone. Having the capacity to route traffic in multiple Availability Zones and by scaling the request handling capacity automatically provides natural support for high availability.
- Network Load Balancer: Network Load Balancer works at Layer 4 and routes TCP traffic to EC2 instances, IP addresses, and containers. It allows incoming traffic and distributes it across targets within...