A financial services company needs to run a daily data reconciliation batch job. The job is packaged as a container image, takes approximately 18 minutes to complete, and requires 2 vCPUs and 4 GB of memory. The workload is highly unpredictable in terms of when the source files arrive, but it must start immediately upon file upload. The company wants to minimize operational overhead and avoid paying for any idle compute resources. Which AWS compute service or configuration should the company select to meet these requirements?
- Amazon Elastic Container Service (Amazon ECS) with AWS FargateCevap
- BAWS Lambda
- CAmazon Elastic Container Service (Amazon ECS) with Amazon EC2 instances, relying on AWS to manage the operating system patching
- DAmazon Lightsail container service
Cevap
Amazon Elastic Container Service (Amazon ECS) with AWS Fargate
The correct option is the container service with a serverless launch type. This service allows running containerized applications without provisioning or managing virtual machines, eliminating administrative tasks like OS patching. Since it has no 15-minute runtime limitation, it easily supports the 18-minute workload while billing only for the precise vCPU and memory resources consumed during execution.
Adım Adım Çözüm
Anahtar Kavram
Selecting appropriate AWS compute services based on operational overhead, runtime limits, and cost optimization