top of page
  • Writer's pictureArun Kumar

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


Recent Posts

See All
bottom of page