How to Mount EFS on EC2 Instance

In this article we are going to cover How to Mount EFS on EC2 Instance in AWS

How to Mount EFS on EC2 Instance in AWS

Below are steps to mount EFS on EC2 Instance

Step #1: Select region to Create an EFS File System

Step #2: Open the Amazon Elastic File System and Create File System

Step #3: Configure file system access

Step #4: Review and create File System

Step #5: Create 2 EC2 instance in the same region

wait for EC2 instances to be in running states

Step #6: Login to 1st EC2 Instance go to root user and make directory efs

Step #7: Using this Mount Command Mounting File system

Run the above mount instructions commands.

Step #8: Change directory and Create File

Step #9: Login to 2nd EC2 Instance go to root user, make directory and Use Mount Command (Step 7) Mounting File system

Step #10: Change directory and use ls –ltr  file and df –h

ls –ltr
df –h


We have covered Mount EFS file system on EC2 Instance.

Related Articles:

How to Create IAM User in AWS Step by Step

How to Attach IAM Role to EC2 Instance using CLI

How to Create Ubuntu Instance in AWS [7 Steps]

How to Create Linux EC2 Instance in AWS

AWS Create EC2 Instance from Snapshot

How to connect to AWS EC2 Instance using MobaXTerm

How to Enable Password Authentication for AWS EC2

How to Connect EC2 Instance using Putty

How to Transfer files to AWS Instance using WinSCP [2 Steps]

Lambda Function to Start and Stop RDS Instance

How to Create AWS DocumentDB and Connect [3 steps]

How to Install MySQL 5.7 on Amazon Linux 2

How to Create Postgres Database in AWS and connect

Monitoring EC2 Instances using CloudWatch

How to Install AWS CLI on Amazon Linux


Amazon Elastic File System official page

About Rahul Deshpande

I am Rahul Deshpande AWS Certified Solution Architect, Likes to explore new technology stacks and believe in sharing knowledge.

2 thoughts on “How to Mount EFS on EC2 Instance”

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Share via
Copy link