CLOUD LABS
Setting Up and Mounting an Elastic File System (EFS)
In this Cloud Lab, we’ll learn to create an Elastic File System (EFS), mount it on different compute instances, and show the shareability of files across these compute instances.
beginner
Certificate of Completion
Learning Objectives
Amazon Elastic File System (EFS) offers an easy-to-use and scalable file storage service designed for web hosting, large-scale data analysis, and content management. EFS dynamically adjusts the storage capacity without interrupting the current applications. This enables users to store and retrieve files without concerning themselves with server administration or storage limitations. An EFS can be simultaneously accessed by multiple computing instances, such as Amazon Elastic Compute Cloud (EC2), thereby serving as a common data repository for applications running on multiple servers.
We will begin this Cloud Lab by creating an EFS. We will create a mount target for this EFS in two Availability Zones (AZs) and associate them with security groups to allow inbound access from EC2 instances in the same subnet. We’ll then create two EC2 instances in the same subnets as that of the mount targets, and create the associated security groups to allow outbound access to the mount targets of the EFS. Next, we’ll mount the EFS on both of these EC2 instances. We’ll create a file inside the EFS using one of the EC2 instances and then access it using the other instance, thus demonstrating the shareability of EFS across two EC2 instances.
By the end of this Cloud Lab, you’ll have learned how to create an EFS and how to configure its settings. You’ll also have hands-on experience mounting this EFS on different EC2 instances, making changes to files inside the EFS, and sharing these changes across multiple compute instances.
Before you start...
Try these optional labs before starting this lab.
Relevant Course
Use the following content to review prerequisites or explore specific concepts in detail.
Trusted by 1.4 million developers working at companies including
Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.
![TestimonialsImg](/static/imgs/FelipeMatheus.png)
I highly recommend Educative. The courses are well organized and easy to understand.
![TestimonialsImg](/static/imgs/AdinaOng.png)
I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.
![TestimonialsImg](/static/imgs/CliffordFajardo.png)
I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.
![TestimonialsImg](/static/imgs/CliffordFajardo.png)
Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.
![TestimonialsImg](/static/imgs/FelipeMatheus.png)
I highly recommend Educative. The courses are well organized and easy to understand.
![TestimonialsImg](/static/imgs/AdinaOng.png)
I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.
![TestimonialsImg](/static/imgs/CliffordFajardo.png)
Get access to Educative Cloud Labs