Managed containers · Container-only

Amazon ECS on AWS Fargate

AWS-native container orchestration without servers: run tasks and services, or a web app in ECS Express Mode.

When to use it

Choose ECS on Fargate to run containerized services, workers and scheduled tasks without managing servers or Kubernetes. ECS Express Mode deploys a container image as a web app with the load balancer, TLS and scaling set up for you — the path AWS recommends now that App Runner no longer takes new customers. Single tasks also run on demand, which covers simple container jobs.

When not to use it

Avoid ECS on Fargate if you need the Kubernetes API (use EKS), GPUs (use ECS on EC2 or EKS), or scale to zero for idle web apps (use Lambda). Very large steady fleets can cost less on EC2 capacity with Savings Plans.

Trade-offs at a glance

Hosting model Managed containers
Container support Container-only
Minimum nodes Serverless (per task)
State management Stateless (EFS volumes for shared state)
Web hosting Built-in with ECS Express Mode or an Application Load Balancer
Autoscaling Service Auto Scaling (target tracking, step and scheduled)
Load balancer Integrated (Application or Network Load Balancer); Service Connect for service-to-service
Scale limit Up to 5,000 tasks per service; up to 16 vCPU and 120 GB of memory per task
Multiregion Single Region — deploy services in each Region behind a global router
Virtual network integration Native (each task gets an IP in your VPC)
Hybrid connectivity Through the VPC (Site-to-Site VPN, Direct Connect)
GPU support Not on Fargate (use ECS on EC2 GPU instances)
TLS Supported (load balancer with ACM certificates)
Architecture styles Microservices, web-queue-worker, event-driven architecture
Required skills Containers, AWS networking and IAM
Operational overhead Low — no servers or cluster software to manage
Best for teams Teams that ship container images and want AWS to run them

Frequently asked questions

What happened to AWS App Runner?

AWS stopped onboarding new App Runner customers on 30 April 2026; existing services keep running without new features. For new containerized web apps AWS recommends Amazon ECS Express Mode, which runs on Fargate.

Does Fargate scale to zero?

A service can be scaled to zero tasks, but there is no request-driven scale-from-zero like Lambda or Cloud Run: a web service keeps at least one task running to answer requests.

ECS on Fargate or ECS on EC2?

Fargate bills each task's vCPU and memory per second with no instances to manage. EC2 capacity is cheaper for large, steady fleets with Savings Plans, and is required for GPUs and some instance features.

Starting point, not a verdict

This is one candidate from the AWS compute decision wizard. The right choice depends on your full requirements — evaluate scaling, cost, and operational fit before committing.

Run the AWS wizard →