Creating Amazon Elastic File System

Posted: April 22, 2017 in Amazon Web Services (AWS), Linux

Amazon Elastic File System (Amazon EFS) provides scalable file storage for use with Amazon EC2 instances in the AWS Cloud

In AWS console click EFS under storage

1.PNGClick create file system

2.PNG

Select availability zone when you want this EFS to spread to

3.PNG

Set name and performance mode

4.PNG

Click Amazon EC2 mount instructions

5.png

Because i’m using Amazon image, only one command i need to use (the last one)-copy it to clipboard

6

VM to which we want to attach EFS,needs to be member of default security group

click on VM-Actions-Networking-Change Security Groups

7

Click on default one,in VM create new folder (mount point) and mount EFS

mkdir /mounts
sudo mount -t nfs4 -nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2 fs-f2dc103b.efs.eu-west-1.amazonaws.com:/ /mount
findmnt | grep '/mount'

 

9.PNG

 

 

 

Comments
  1. […] Source: Creating Amazon Elastic File System […]

    Like

Leave a comment