AWS Certified Solutions Architect – Associate (SAA-C03)Design High-Performing ArchitecturesMedium

A company is redesigning its monolithic application into microservices using Amazon ECS. Each microservice needs its own persistent, high-performance storage that can be accessed concurrently by multiple tasks within the same ECS cluster. The storage must also be highly available and durable. Which AWS storage solution is appropriate for this requirement?

  1. AInstance Store volumes
  2. BAmazon EFS
  3. CAmazon S3 Standard
  4. DAmazon EBS volumes
Show answer & explanation

Correct answer: B. Amazon EFS

Amazon EFS is a scalable, elastic, shared file system designed for AWS Cloud. It can be mounted by multiple EC2 instances or ECS tasks concurrently, providing persistent, highly available, and durable storage for microservices that require shared access to file data.

Why the other options are wrong

  • A. Instance Store volumes are temporary block-level storage physically attached to the host computer, meaning data is lost if the instance stops or terminates, making them unsuitable for persistent storage.
  • C. Amazon S3 Standard is object storage, not a file system that can be mounted by an operating system to provide concurrent access for microservices requiring file-level operations.
  • D. Amazon EBS volumes are block-level storage attached to a single EC2 instance at a time (though Multi-Attach exists for specific use cases, it's not the primary pattern for shared file systems across multiple ECS tasks).

Amazon EFS

A scalable, elastic file storage for use with AWS Cloud services and on-premises resources, supporting concurrent access from multiple compute instances.

  • Shared file system (NFSv4).
  • Scales automatically to petabytes.
  • Highly available and durable.

Memory trick: EFS: Easy File Sharing for multiple services.

More Design High-Performing Architectures questions