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 balancers:
- 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 scaling the request-handling capacity automatically provides natural support for high availability.
- 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 the same Availability Zone with the capability to suddenly...