Serverless Compute
AWS Fargate
The serverless way to launch and scale containers. Focus on building applications, not managing infrastructure.
The Ingredients
Container Image
Your application code packaged with its dependencies (Docker, OCI).
Task Definition
The blueprint defining CPU, memory, networking, and IAM roles.
Networking
VPC subnets and Security Groups to control traffic flow.
Cluster Choice
Deploy via Amazon ECS or Amazon EKS (Kubernetes).
How It Works
Zero infrastructure management in three simple steps
1. Build & Package
Create your Docker image and push it to ECR or DockerHub.
2. Define Parameters
Select ‘FARGATE’ launch type. Specify CPU and Memory needs.
3. Scale & Run
AWS provisions, scales, and manages the underlying compute.
The Old Way
EC2 Launch Type
- Manage OS & Patches
- Handle Instance Scaling
- Optimize Bin Packing
The Fargate Way
Serverless
- No EC2s to Manage
- Per-task Isolation
- Pay only for used resources