USD ($)
$
United States Dollar
Euro Member Countries
India Rupee
د.إ
United Arab Emirates dirham
ر.س
Saudi Arabia Riyal

Load Balancing Strategies with Elastic Load Balancers: Application, Network, Classic

Lesson 16/29 | Study Time: 20 Min

Elastic Load Balancing (ELB) is an AWS service designed to distribute incoming application or network traffic across multiple targets such as EC2 instances, containers, or IP addresses.

This distribution increases fault tolerance and improves application availability and scalability.

AWS offers several types of load balancers—Application Load Balancer (ALB), Network Load Balancer (NLB), and Classic Load Balancer (CLB)—each optimized for different traffic patterns and use cases. 

Application Load Balancer (ALB)

The ALB operates at Layer 7 (Application Layer) of the OSI model, enabling advanced request routing based on the content of HTTP/HTTPS traffic.


Key Features:


1. Supports path-based routing (e.g., /api routes to a different backend than /images).

2. Host-based routing (traffic directed by domain name to different target groups).

3. Native support for HTTP/2 and WebSockets improves performance for modern web applications.

4. Can route requests to multiple ports on a single EC2 instance for containerized or microservices architectures.

5. Integration with Lambda functions as targets for serverless applications.

6. Always enables cross-zone load balancing for even distribution across AZs.


Typical Use Cases:


1. Web applications require flexible and intelligent routing.

2. Microservices and containerised application architectures.

3. Applications leveraging modern protocols like HTTP/2 or WebSockets.

Network Load Balancer (NLB)

NLB works at Layer 4 (Transport Layer), routing TCP/UDP traffic with ultra-low latency and high throughput.


Key Features:


1. Handles millions of requests per second while maintaining high performance.

2. Preserves the source IP address, supporting applications needing IP-based authorization.

3. Provides a static IP per availability zone and supports Elastic IP association.

4. Optimized for sudden and volatile traffic patterns.

5. Cross-zone load balancing is customizable.


Typical Use Cases:


1. Real-time applications like gaming, IoT, and financial trading require predictable ultra-low latency.

2. Applications using protocols other than HTTP/S, like TCP or UDP.

3. High-throughput and volatile workloads demanding fault tolerance.

Classic Load Balancer (CLB)

The Classic Load Balancer is the original AWS load balancing solution that supports basic load balancing at both Layer 4 and Layer 7.


Key Features:


1. Routes HTTP(S) traffic to multiple EC2 instances and supports sticky sessions.

2. Supports SSL termination, TCP load balancing.

3. Provides basic health checks and load distribution functionality.

4. Does not natively support advanced routing features like path-based or host-based routing.


Typical Use Cases:


1. Legacy applications are still running on EC2-Classic or EC2-VPC without requiring advanced routing.

2. Simpler applications need basic load balancing without complex routing.


Nate Parker

Nate Parker

Product Designer
Profile

Class Sessions

1- Overview of Cloud Computing and AWS Cloud 2- AWS Global Infrastructure: Regions, Availability Zones, and Edge Locations 3- Shared Responsibility Model in AWS 4- Key Benefits of AWS Cloud: Scalability, Elasticity, and Cost Optimization 5- Compute Services: Amazon EC2, Lambda, and Elastic Beanstalk Basics 6- Storage Services: Amazon S3, EBS, and Glacier Overview and Use Cases 7- Database Services: Amazon RDS, DynamoDB, and Aurora Fundamentals 8- Monitoring and Management: AWS CloudWatch and CloudTrail Essentials 9- Designing Scalability and High Availability: Auto Scaling and Elastic Load Balancing 10- Virtual Private Cloud (VPC): Components, Subnets, Route Tables, Network ACLs, and Security Groups 11- VPN vs. Direct Connect: Connectivity Options Explained 12- AWS Identity and Access Management (IAM): users, groups, roles, policies, and best practices 13- Data Protection: Encryption Options (SSE, KMS) and SSL/TLS Basics 14- AWS Security Best Practices and Compliance Considerations 15- Designing for Fault Tolerance Using Multi-AZ and Multi-Region Deployments 16- Load Balancing Strategies with Elastic Load Balancers: Application, Network, Classic 17- Backup and Recovery Strategies with AWS Backup, Snapshots, and Lifecycle Policies 18- Disaster Recovery Fundamentals and AWS Architecture Approaches: Pilot Light, Warm Standby, Multi-Site 19- AWS Pricing Models: On-Demand, Reserved Instances, and Spot Instances 20- Cost Management Tools: AWS Cost Explorer, Budgets, Pricing Calculator Basics 21- Architectural Best Practices for Cost-Efficient Solutions in AWS 22- Rightsizing and Resource Optimization Techniques in AWS 23- Infrastructure as Code (IaC) Basics: AWS CloudFormation Introduction. 24- Deploying Applications Using AWS Elastic Beanstalk and AWS Lambda Serverless Computing 25- Continuous Integration and Continuous Deployment (CI/CD) Overview with AWS Developer Tools: CodeCommit, CodePipeline, CodeBuild 26- Monitoring application health and performance in production environments 27- Exam Overview, Format, and Registration Process for AWS Certification 28- Tips for Answering Scenario-Based Questions in AWS Exams 29- Practice Questions and Explanations for AWS Solutions Architect – Associate Exam

Sales Campaign

Sales Campaign

We have a sales campaign on our promoted courses and products. You can purchase 1 products at a discounted price up to 15% discount.