Frequently asked questions
How is AWS Fargate priced?
Per vCPU-hour (about $0.04048) and per GB-hour of memory (about $0.004445), billed per second with a one-minute minimum. You choose vCPU and memory per task, and pay only while tasks run โ there are no idle EC2 hosts underneath.
Fargate or EC2 for containers?
Fargate removes server management and is cheaper for spiky or low-utilisation workloads because you pay per task-second. For high, steady utilisation, running your own EC2 hosts under ECS/EKS can be cheaper per container. It is a utilisation question.