A company runs a containerized data analytics engine on AWS using Amazon ECS with AWS Fargate. The engine executes batch jobs twice a day. During these runs, the tasks require concurrent, read-write access to a shared file system that must support up to of read throughput and high IOPS with sub-millisecond latencies for file metadata operations. For the rest of the day, the tasks are stopped, and the storage remains idle with no active throughput. Which storage configuration meets these requirements most cost-effectively?
- Amazon EFS using General Purpose performance mode and Elastic throughput.Answer
- BAmazon EFS using Max I/O performance mode and Provisioned throughput configured for .
- CAmazon EBS io2 volumes with Multi-Attach enabled, mounted as shared storage across the ECS tasks.
- DAmazon FSx for Lustre persistent SSD storage, mounted using native ECS task volume definitions.
Answer
Amazon EFS using General Purpose performance mode and Elastic throughput
The configuration using Amazon EFS with General Purpose performance mode and Elastic throughput satisfies all requirements. AWS Fargate natively supports EFS for shared file systems. General Purpose mode offers the lowest latency for file metadata operations. Since the workload runs only twice a day and is idle otherwise, Elastic throughput automatically scales to handle the burst and does not charge for throughput when idle, making it highly cost-effective.
Step-by-Step Solution
Key Concept
Selecting and configuring high-performing shared storage systems for containerized workloads on AWS Fargate
Estimated Time:2m 0s