ALB vs NLB: start with protocols and routing

ALB supports application-level HTTP/HTTPS routing; NLB serves transport-layer load-balancing requirements. Choose using protocols, routing, connections and addressing needs rather than asking which service is simply “faster”.

A decision table

NeedEvaluate
HTTP routing by host or pathApplication Load Balancer
TCP/UDP or transport-specific requirementsNetwork Load Balancer and the appropriate listener
Static addressing per AZNLB addressing capabilities
AWS WAF integration for a web applicationALB integration capabilities

An API and a TCP service

A website that routes /images to image workers and /api to API workers can evaluate ALB listener rules. A custom TCP service requiring static IPs should evaluate NLB. Both still require target groups, health checks and an appropriate multi-AZ design.

  • Health checks should reflect readiness; an endpoint returning 200 while dependencies fail can mislead routing.
  • Cross-zone behavior, timeouts and protocol capabilities depend on current features and configuration.
  • Load balancing does not automatically add database failover or make a stateful application stateless.

Reading a scenario question

Identify the protocol first, then routing, addressing and security integration requirements. “Distribute traffic” alone is not enough to choose. Practice naming one requirement that changes your choice from ALB to NLB and another that changes it back.

References

Use AWS documentation to check current features and limits. Cloud Quest is an independent learning project and does not guarantee exam outcomes.

Continue learning

Learn AWS and prepare for SAA-C03

Read the guide →

A practical SAA-C03 study roadmap

Read the guide →

Free AWS SAA-C03 practice questions

Read the guide →

Practice AWS concepts with simulated labs

Read the guide →

AWS glossary

Explore services and concepts →

Put your understanding into practice

Sign in to learn, review and save progress. Tool access depends on account status.

Sign in to learn