Setting Up and Mounting an Elastic File System (EFS)

Setting Up and Mounting an Elastic File System (EFS)
Setting Up and Mounting an Elastic File System (EFS)

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.

8 Tasks

beginner

1hr 30m

Certificate of Completion

Desktop OnlyDevice is not compatible.
No Setup Required
Amazon Web Services

Learning Objectives

An understanding of AWS Elastic File System and its applications as a scalable storage system
The ability to mount an EFS on multiple EC2 instances
The ability to read and write files in the EFS through an EC2 instance
Working understanding of shareability of files in EFS across different compute instances

Technologies
EC2 logoEC2
EFS
Cloud Lab Overview

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.

Cloud Lab Tasks
1.Introduction
Getting Started
2.EFS and Mount Targets
Create an Elastic File System
Create Mount Targets and Security Groups
3.Create Instances and Mount EFS
Create EC2 Instances
Mount the EFS on EC2 Instances
Access EFS from EC2 Instances
4.Conclusion
Clean up
Wrap up
Labs Rules Apply
Stay within resource usage requirements.
Do not engage in cryptocurrency mining.
Do not engage in or encourage activity that is illegal.

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

Don’t take our word for it. See what our developers have to say.

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.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

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.

Clifford Fajardo
TestimonialsImg

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.

Clifford Fajardo
TestimonialsImg
Don’t take our word for it. See what our developers have to say.

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.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

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.

Clifford Fajardo
TestimonialsImg

Get access to Educative Cloud Labs

Course Footer Image
Course Footer Image