Conceptly
← All Concepts
🚀

AWS Fargate

ComputeServerless Container Execution

Fargate is a serverless execution environment for containers where you do not manage the underlying server nodes. The team declares task resources, and AWS takes responsibility for preparing and running the host capacity.

Architecture Diagram

🔍 Structure

Dashed line animations indicate the flow direction of data or requests

Why do you need it?

You may want containers, but if node patching, capacity planning, and cluster server operations all come with them, the team gives back much of the value it hoped to gain. When server care takes more attention than the application, deployment speed drops again.

Why did this approach emerge?

After adopting containers, many teams still ended up with node operations as yet another infrastructure burden. This is why execution models like Fargate — preserving container benefits while reducing server management — became necessary.

How does it work inside?

With Fargate, you declare only the CPU and memory for ECS tasks, and AWS prepares the environment that runs the containers. Images come from ECR, networking and logging connect through VPC and CloudWatch, and traffic can flow through ELB without you managing the underlying servers.

What is it often confused with?

Fargate and EC2 both run applications, but they divide responsibility differently. Fargate hides server operations and lets you focus on container task execution, while EC2 gives you direct control over the server itself. If you want containers without node patching and capacity planning, look at Fargate; if you need server- and OS-level control, look at EC2.

When should you use it?

Well-suited for container APIs, event workers, and batch tasks where you want to lower operational burden. Not a good fit when OS kernel tuning or direct GPU control at the server level is needed.

MicroservicesBatch processingCI/CD buildsWeb applications