From the course: AWS Essential Training for Developers

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

NAS with Elastic File System (EFS)

NAS with Elastic File System (EFS)

- One limitation of elastic block storage is that once an EC2 server is using an EBS volume, you can't have a second EC2 instance directly read and write to that drive. Once I've plugged this drive into this instance, there's no way to also plug it into my other instance. At the same time, if I need to share files between my two servers, now I can clone my EBS volume by taking a snapshot of it and install the clone in my other instance. But the data isn't going to stay in sync between these two instances. What you need is something similar to a NAS appliance, which stands for Network Attached Storage, and it plugs into your home network and it creates a file share where you can mount the same drive on both instances. Amazon's version of a NAS is called Elastic File System or EFS. This service allows you to mount a shared drive across several EC2 instances to share commonly used data by your application across all of…

Contents