Load balancers are used to direct incoming requests to multiple targets. The number of resources behind a load balancer can be modified as per requirement without disrupting the application’s availability.
Application Load Balancer (ALB)
ALB is designed to route traffic based on the request’s content, ideal for HTTP/HTTPS protocol based applications. ALB receives a request, examines the request’s content (URL, host, and headers). Based on this information, it makes intelligent routing decisions.
NLB works at the transport layer of the OSI model. It is designed to manage the high number of requests, resulting in high throughput and low latency. NLB offers high transport layer efficiency as it works on the transport layer level.
Improved scalability: ELBs automatically distribute incoming application traffic across multiple instances, ensuring that no single instance is overwhelmed. This helps maintain application performance as traffic increases.
High availability: By routing traffic to multiple instances across different Availability Zones (AZs), ELBs ensure that your application remains available even if one or more instances or AZs fail.
Fault tolerance: ELBs detect unhealthy instances and reroute traffic to healthy ones, minimizing the impact of instance failures on application availability.
Automatic traffic distribution: ELBs dynamically adjust to changes in traffic volume, automatically scaling up or down to handle varying loads without manual intervention.
Security: ELBs can integrate with security features like AWS Web Application Firewall (WAF) to protect applications from common web exploits. They also support SSL/TLS termination to encrypt and decrypt data, enhancing security.
When a client sends a request to access an application, the request first goes to the associated Elastic Load Balancer (ELB), which can be an Application Load Balancer (ALB), Network Load Balancer (NLB), or Gateway Load Balancer (GLB). The load balancer evaluates the health of the targets in the attached
Let’s test your knowledge of ELB
Which layer of the OSI model does the Application Load Balancer (ALB) operate at
Transport layer
Network layer
Application layer
AWS Elastic Load Balancers (ELB) are essential for efficiently distributing incoming requests to multiple healthy targets, ensuring high availability and reliability. By offering different types of load balancers like ALB and NLB, ELB provides seamless scalability and maintenance, which is crucial for modern applications.
Free Resources