Right-sizing ECS tasks: choosing CPU and memory without guesswork
How to read reservation versus real usage on AWS ECS, pick valid Fargate sizes and stop paying for CPU and memory your tasks never use.
Read postBlog
Practical guides to running containers on AWS ECS, from the team behind Bayplan.
Each post takes one part of AWS ECS and explains how it works and what to pick: Fargate or EC2, the task role or the execution role, rolling deployments and the circuit breaker, health checks, service networking, ECS Gateway, secrets, right-sizing CPU and memory, and what Container Insights costs. They're written for engineers who already run containers on ECS and want the details the AWS docs spread across many pages, with links to those docs.
How to read reservation versus real usage on AWS ECS, pick valid Fargate sizes and stop paying for CPU and memory your tasks never use.
Read postHow to pass secrets to AWS ECS tasks with the secrets field, how Secrets Manager and SSM Parameter Store compare on cost and features, and how rotation reaches running tasks.
Read postHow container health checks, load balancer health checks and the health check grace period work together on AWS ECS, and why tasks get killed while they are still starting.
Read postThe difference between the AWS ECS task role and task execution role, the errors you get when you mix them up and a minimal policy for each.
Read postAWS ECS Managed Instances can now run each task in its own Nitro Sandbox. What isolated and confidential mode protect against, how they compare with Fargate and Nitro Enclaves, and which workloads need them.
Read postHow Amazon ECS Gateway compares with a load balancer you manage yourself, ECS Express Mode and Service Connect, what each one is for, and how to pick.
Read postA step-by-step migration of an existing ECS service from a load balancer you manage to Amazon ECS Gateway, with the checks to run first, how to test and how to roll back.
Read postWhy an ECS rolling deployment hangs at "in progress", how the deployment circuit breaker counts failures, and how to make a broken deployment roll back on its own. With an interactive simulator.
Read postWhat happens when you deploy a new task definition to an ECS service, how minimumHealthyPercent and maximumPercent decide the pace, and which settings fit which service. With an interactive simulator.
Read postWhat Amazon ECS Gateway is, what it creates for each service, why your services end up on on.aws hostnames instead of your own domain, and the other limits to know.
Read postWhat Fargate and EC2 cost on ECS, with a worked break-even example, a comparison table, and what each launch type can run and leaves you to operate.
Read postHow to set up ECS Exec on Fargate and EC2, run commands in a live container and fix the errors that usually get in the way.
Read postHow to run one agent per host on AWS ECS, from classic DAEMON services on EC2 to the Managed Daemons that arrived for ECS Managed Instances in 2026.
Read post