top of page

Mount EFS on EC2 Instance

You might have created an Elastic File System (EFS) and now would like to mount it on EC2 instance.

Get EFS link

Check the EFS details and you should get a link which looks like below

Mount EFS on EC2

Create a directory on your server where you will mount the EFS

mkdir /efs

Mount the efs on /efs directory

mount -t nfs4 /efs

Check if mounting is done properly

df -hT /efs

Add to /etc/fstab

Make the mounting permanent under /etc/fstab file

vi /etc/fstab /efs          nfs4     _netdev     0     0

Related Posts

Heading 2

Add paragraph text. Click “Edit Text” to customize this theme across your site. You can update and reuse text themes.

bottom of page