The mental model
ECS Managed Instances is a capacity option that lets AWS manage EC2 provisioning, scaling, patching, and maintenance for ECS workloads. It can serve requirements such as specialized instance capabilities that do not fit Fargate. The operating model uses capacity providers and an AWS-managed, hardened Bottlerocket image rather than a custom host image maintained by your team.
Host management and tenant isolation are separate decisions. Managed Instances can pack multiple tasks onto a host for utilization; Fargate isolates each task in its own compute environment. When a workload requires a stronger task boundary, evaluate the supported single-task-per-instance configuration. Account for replacement and draining behavior, image compatibility, workload identity, and access to required instance capabilities.
Decisions to make
- Consider managed instance capacity when a workload needs EC2 capabilities while reducing host maintenance.
- Make task placement and isolation requirements explicit rather than inferring them from the word managed.
Design exercise · no AWS resources needed
Work through a scenario
A service needs specialized EC2 capacity and must separate customer jobs.
- Write the instance capability that rules out Fargate.
- Compare shared placement with a single-task-per-instance boundary.
- Define graceful draining and how interrupted or replaced tasks resume their work.
Check your understanding
Does managed host maintenance automatically mean one task per host?
Choose an answer to see the reasoning.
Continue with AWS documentation
Before following a deployment guide, review current pricing, permissions, and cleanup steps. Budget alerts are not a hard spending cap.