Featured resource
Tech Upskilling Playbook 2025
Tech Upskilling Playbook

Build future-ready tech teams and hit key business milestones with seven proven plays from industry leaders.

Learn more
  • Labs icon Lab
  • Cloud
Google Cloud Platform icon
Labs

Reduce Storage Costs with EFS

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 three 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 one location instead of three. By the end of this lab, you will understand how to create EFS volumes and attach them to an EC2 instance.

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Beginner
Duration
Clock icon 1h 0m
Last updated
Clock icon Sep 02, 2025

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Create an EFS File System

    Create an EFS file system named 'SharedWeb' in the provided VPC.

    Customize the storage class to 'One Zone' and leave the availability zone as 'us-east-1a'.

    After creation, modify the security group of the file system to 'EC2SecurityGroup'.

    Configure the inbound rules of the non-default security group in EC2 to allow NFS traffic from any source.

  2. Challenge

    Mount the EFS File System and Test It

    Connect to the 'webserver-01' instance and create a directory '/efs'.

    Mount the EFS file system to the '/efs' directory using the provided NFS command.

    Verify the successful mount by checking the mounted file systems after a restart.

    Move all files from '/data' to '/efs' using the 'rsync' command.

    Verify the successful file transfer by listing the contents of '/efs'.

  3. Challenge

    Remove Old Data

    Unmount the '/data' partition and modify the '/etc/fstab' file to replace the UUID line with the NFS mount point details.

    Test the new mount point by unmounting '/efs' and using the 'mount -a' command.

    Detach and delete the 10 GiB EBS volume attached to 'webserver-01' in the EC2 console.

    Repeat the process of modifying the '/etc/fstab' file and testing the new mount point for 'webserver-02' and 'webserver-03'.

    Detach and delete the 10 GiB EBS volumes attached to 'webserver-02' and 'webserver-03'.

Pluralsight Skills gives leaders confidence they have the skills needed to execute technology strategy. Technology teams can benchmark expertise across roles, speed up release cycles and build reliable, secure products. By leveraging our expert content, skill assessments and one-of-a-kind analytics, keep up with the pace of change, put the right people on the right projects and boost productivity. It's the most effective path to developing tech skills at scale.

What's a lab?

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.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.