What are Fargate's constraints?
BeginnerConceptContainers and Serverless
Answer
Fixed CPU/memory combinations per task (up to 16 vCPU and 120 GB), 20 GiB ephemeral storage by default (configurable to 200 GiB), no privileged containers or host access, no GPUs on ECS Fargate, and EFS (not EBS persistence) for durable shared storage. You pay per vCPU and GB per second with a 1-minute minimum.
Pod startup is slower than a warm EC2 node because an image pull happens on every new task, so keep images small.
More on Containers and Serverless
ECS vs EKS vs Fargate: what is the relationship?BeginnerWhat are ECS task definitions, tasks and services?BeginnerWhat are ECS capacity providers?IntermediateWhat is the difference between the ECS task role and the task execution role?IntermediateHow does `awsvpc` network mode work in ECS?IntermediateWhat deployment strategies does ECS support?Advanced