Containers
AWS Fargate
AWS Fargate supplies serverless compute for ECS tasks and EKS pods without customer-managed worker nodes. It is suited to CPU and memory bound GenAI services and tools that fit its supported task shapes.
Key points
- Billing follows requested vCPU, memory, storage, and runtime
- Each task receives workload isolation without exposing an underlying instance
- Supported accelerator and privileged-host capabilities are constrained
When to use it
- Run bursty document-processing workers without an EC2 fleet
- Host stateless agent action services in private subnets
Exam tips
- Choose Fargate to reduce node operations; use EC2-backed containers for unsupported hardware or host access
- Right-size task requests because allocated resources, not average use, determine cost