AWS & Cloud Engineering
ALB: listeners, rules and target groups
One load balancer, one DNS name and one certificate can front an API, an image service and a web app. Listeners and rules decide who gets which request, and the error code tells you which part broke.
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
- Fargate: containers without managing serversIntermediate · 5 min
With Fargate there is no host to patch or size, so you pay and plan per task instead. A task size that does not exist, or a subnet that cannot reach the registry, stops…
- ECR: a private registry for your imagesBeginner · 5 min
Your cluster cannot pull an image it is not allowed to see, and often cannot reach the registry at all. Learn how ECR logins, permissions and private networking decide…
- NLBBeginner · 4 min
NLB forwards transport connections at layer 4.
- Target groups and health checksIntermediate · 5 min
After a release every target shows unhealthy, yet users still get responses. The load balancer fails open, which hides the problem. How health checks decide who is in…
- VPC route tablesBeginner · 4 min
A subnet route table selects a target for a matching destination, generally using the most specific prefix.
- Public and private subnetsIntermediate · 4 min
A subnet is public or private because of its route table, and a resource also needs a public address and a permitting rule before the internet can reach it.