Design Resilient Architectures

An application runs sporadic, indivisible processing jobs packaged as Linux containers, each requiring 40 minutes and 4 GB of memory. Which compute option meets these requirements without managing servers or keeping idle compute capacity?

Show the answer

Correct answerB. Amazon ECS on AWS Fargate

AWhy not this: Lambda has a maximum execution timeout of 15 minutes, including functions packaged as container images.

BWhy this is right: Fargate supports these container resource requirements and job duration without maintaining idle servers.

CWhy not this: An Auto Scaling group still requires managing EC2 instances, even when its minimum capacity is zero.

DWhy not this: EC2-backed ECS requires managing the underlying instances, and reserved capacity is poorly suited to sporadic jobs.

AWS Fargate runs containers without managing servers and supports jobs lasting longer than Lambda's 15-minute limit. Packaging a Lambda function as a container image does not extend its execution timeout.