Mountable File Storage System for Linux EC2 Instances in a VPC

Mountable File Storage System for Linux EC2 Instances

Question

You are working for a company that has a set of Linux EC2 Instances in a VPC.

There is a requirement to have a mountable file storage system that can be used and shared by the EC2 Instances.

Which of the following would you use for this requirement?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Correct Answer: A.

This is given in the AWS Documentation.

Amazon EFS provides scalable file storage for use with Amazon EC2

You can create an EFS file system and configure your instances to mount the file system.

You can use an EFS file system as a common data source for workloads and applications running on multiple instances.

Option B is incorrect since this is used as object-based storage.

Option C is incorrect since this is used for archive storage.

Option D is incorrect since this is used for local data storage.

For more information on the Amazon File System, please refer to the below URL-

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AmazonEFS.html

For a mountable file storage system that can be used and shared by multiple EC2 instances, the appropriate AWS service to use is Amazon Elastic File System (Amazon EFS).

Amazon Elastic File System (EFS) is a managed, scalable, and secure file storage service that can be accessed by multiple EC2 instances running within a VPC. EFS provides a common data source for applications and workloads running on multiple instances, enabling them to share data across instances, while also providing concurrent read and write access to files.

AWS S3 is an object storage service that can be used to store and retrieve large amounts of data, but it is not designed to be used as a file system, and does not provide native support for file sharing between multiple EC2 instances.

AWS Glacier is a low-cost storage service that is designed for long-term data archiving, and is not suitable for use as a file system.

AWS EBS (Elastic Block Store) provides persistent block-level storage volumes for use with Amazon EC2 instances, but it is not a shared file storage service and is limited to use with a single EC2 instance at a time.

Therefore, the correct answer to this question is A. AWS EFS.