Reduce Storage Costs with EFS

1 hour
  • 3 Learning Objectives

About this Hands-on Lab

Amazon Elastic File System (Amazon EFS) provides a simple, serverless elastic file system that lets you share file data without provisioning or managing storage. In this lab, we modify 3 existing EC2 instances to use a shared EFS storage volume instead of duplicated Elastic Block Store volumes. This reduces costs significantly, as we only need to store data in 1 location instead of 3. By the end of this lab, you will understand how to create EFS volumes and attach them to an EC2 instance.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Create EFS Filesystem

Create an EFS filesystem called SharedWeb that we will attach to our EC2 instances.

Mount the EFS Filesystem and Test It

Create the directory /efs.

Attach the EFS filesystem to our instance and copy our existing data to it from /data.

Remove Old Data

Unmount the /data partition and delete the volume in the EC2 console.

Additional Resources

Log in to the live AWS environment using the credentials provided. Use an incognito or private browser window to ensure you're using the lab account rather than your own.

Make sure you're in the N. Virginia (us-east-1) region throughout the lab.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?