Networking

Network Load Balancer

A Layer 4 load balancer for TCP, UDP, or TLS traffic with high throughput and static IP support.

How it works

Network Load Balancer (NLB) operates at layer 4, distributing connections or traffic flows to targets. It supports TCP, UDP and TLS, making it suitable for high-throughput needs or non-HTTP protocols. Each enabled Availability Zone has a static IP address; for an internet-facing NLB, you can specify an Elastic IP for each zone.

When to use it

Choose it when the requirement is very high performance, static addresses, or non-HTTP protocols.

Real-world example

A game company uses a Network Load Balancer to distribute UDP traffic to game servers. It enables multiple Availability Zones and uses the load balancer addresses to configure network access for its clients.

Common pitfall

Do not choose an NLB when you need HTTP routing by URL path or header. Application Load Balancer supports those application-layer rules; choose the load balancer based on protocol and routing needs.

Often confused with

Compare its service boundary with Auto Scaling Group; choose from the workload requirement.

References

Prepared by Cloud Quest. Check current behavior and limits in the AWS documentation:

SAA-C03 study guide and learning resources

Understand it for real with 3D models and simulated labs

Connect the concept to a working architecture.

Start learning