AWS & Cloud Engineering
NLB versus ALB
Explain how application and network load balancers route traffic at different depths, how a network balancer's flow hash keeps a connection on one target, and how their addressing differs.
What you will be able to do
- Explain why a network load balancer keeps each TCP connection on one target.
- Decide between an application and a network load balancer from the protocol and the routing key.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in AWS & Cloud Engineering
- ASG scaling policiesAdvanced · 4 min
Explain how target tracking scaling holds one metric near a target value, why the metric must change in proportion to group size, and how warm-up affects scaling…
- ALB target groupsAdvanced · 4 min
Explain how a target group routes to healthy targets, how a removed target drains through the deregistration delay, and how that delay protects in-flight requests…
- Route53 routing policiesAdvanced · 4 min
Explain how Route 53 routing policies answer DNS queries, how failover uses health checks on the primary and secondary records, and how TTL sets how fast clients see a…
- CloudFront cachingAdvanced · 4 min
Explain how CloudFront decides how long an edge keeps a copy, using Cache-Control, Expires and the cache policy TTLs, and how the stale-content directives change what…
- S3 lifecycleAdvanced · 4 min
Explain S3 lifecycle transitions and expirations, how they apply to existing objects, and why expiring an object early from a cold storage class can still cost money.
- S3 consistencyAdvanced · 4 min
Explain what S3 read-after-write consistency guarantees for a single key, why two concurrent writes to one key can lose a change, and how versioning helps recover it.