Amazon Elastic File System (EFS) Hands-On Guide

In this hands-on session, we explored Amazon Elastic File System (EFS) and how to create, configure, and mount it to EC2 instances. Below is a structured guide summarizing all the steps.


1. Creating an EFS File System

  1. Navigate to the EFS Console
  2. Customize File System Settings
  3. Network Access Configuration
  4. Review and Create

2. Attaching EFS to EC2 Instances

Step 1: Launch EC2 Instance A

  1. Navigate to the EC2 Console and click Launch Instance.
  2. Configure the instance:
  3. Attach EFS Storage:
  4. Launch the instance.

Step 2: Launch EC2 Instance B


3. Testing EFS File Sharing

  1. Connect to Instance A:

    ls /mnt/efs/fs1/
    sudo su
    echo "hello world" > /mnt/efs/fs1/hello.txt
    cat /mnt/efs/fs1/hello.txt