Tutorials AWS Mastery for .NET Architects

Application Load Balancer (ALB) vs Network Load Balancer (NLB)

On this page

Scaling Connections

Elastic Load Balancing (ELB) is the gateway to your server fleet. Choosing between ALB and NLB depends on your protocol needs.

1. Application Load Balancer (ALB) - Layer 7

Operates at the HTTP/HTTPS level. It can 'Read' the request and route based on Path (/api vs /web) or Hostname. Use this for 99% of web applications and REST APIs.

2. Network Load Balancer (NLB) - Layer 4

Operates at the TCP/UDP level. It is extremely fast and handles millions of requests per second with ultra-low latency. Use this for **gRPC**, Games, or any high-performance non-HTTP traffic.

3. Architect Insight

Q: "Should I terminate SSL at the Load Balancer or the Instance?"

Architect Answer: "Terminate at the **Load Balancer**. This is called **SSL Offloading**. It frees up your .NET app's CPU from the heavy math of encryption/decryption. AWS also provides free SSL certificates via **ACM (Certificate Manager)** if you terminate at the LB. It's a win-win for security and performance."

Questions on this lesson 0

Sign in to ask a question or upvote helpful answers.

No questions yet — be the first to ask!

AWS Mastery for .NET Architects
Course syllabus
1. AWS Global Infrastructure
2. Compute for .NET
3. Storage & Databases
4. Networking & Content Delivery
5. Security & Compliance
6. Messaging & Events
7. Monitoring & DevOps
8. Optimization & Scale
Toolliyo Assistant
Ask about tutorials, ebooks, training, pricing, mentor services, and support. I use public site content only—not admin or internal tools.

care@toolliyo.com

Need callback? Share your details