Sobes.tech
Junior — Middle

Which AWS service provides shared file system access between two virtual machines?

sobes.tech AI

Answer from AI

To share a file system between two virtual machines in AWS, the Amazon Elastic File System (EFS) service is typically used.

EFS provides a scalable, fully managed file system that can be mounted simultaneously on multiple EC2 instances, providing shared access to data.

Example of usage:

  • Create an EFS file system
  • Mount it on the required virtual machines via NFS
  • Both machines can read and write files in the shared directory

This is convenient for applications that need shared access to files, such as web servers or clusters.