AWS & Cloud Engineering
ECS services: keeping N tasks running
An ECS service is a promise that four copies of your container stay up, through crashes and deploys. Most outages with it are a broken promise you can read in two places: the service events and the stopped task.
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
- IAM permissions boundaryBeginner · 4 min
IAM permissions boundary sets maximum permitted identity permissions.
- Lambda: triggers, limits and concurrencyBeginner · 5 min
Lambda has no servers to size, so its limits show up as throttling instead. One busy function can use the whole Region's concurrency and make an unrelated payment…
- 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…
- ALB: listeners, rules and target groupsIntermediate · 6 min
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…
- NLBBeginner · 4 min
NLB forwards transport connections at layer 4.