Can ec2 instances share the same file system?

I would like to download the image data using the free ec2 instance, and use the image data from the expensive GPU-enabled instance. Is there a way to access the file system in the first (free) ec2 instance from the second instance? I saw a mention of NFS mount in google search but I couldn’t find concrete instructions.

@tkurosaka

Yes, it is called Elastic Filesystem (https://aws.amazon.com/efs/). You can mount it as NFS to several EC2 instances.
The good thing that you pay depending on the size of EFS and have a free tier.

1 Like