What is AWS Fargate?
Fargate is an AWS service that lets you run containers on the AWS cloud without managing servers yourself. You bring the containers, AWS runs them.
Features:
- You don’t manage any EC2 instances – AWS manages your infrastructure.
- Auto-scales your containers based on demand.
- You pay based on how much you use (CPU and memory per second).
AWS Fargate in action
- You bring your Dockerfile or
docker-compose.ymlfiles. - ECS task definitions (Fargate runs these).
- Configurations for:
- CPU/RAM per container
- Ports
- Environment variables
- Load balancer (optional)