Posts

Showing posts with the label How To Mount AWS EFS File System on EC2 Instance

How To Mount AWS EFS File System on EC2 Instance

Image
Step 1: Check Requirements/Prerequisites Before proceeding to mount the EFS file system, the user needs to have: An AWS Account. Created a user with permissions to create resources on the AWS Account. Created an EFS file system on the AWS account. Ensure that the security group of the EFS allows the security group of the EC2 instance on port 2049. Step 2: Mount the EFS We can mount an EFS on an existing EC2 instance. It can also be mounted when launching a new EC2 Instance. I have explained this below. On the Elastic File system console, select the EFS you created. EFS Attach Click attach.  Mount Instructions Select Mount via DNS or Mount via IP. Should you have a VPC with DNS hostnames disabled, select the mount via IP option. Click User guide to get the guide on how to Install the mount helper. The  amazon-efs-utils  package. For example, for a Linux instance, run the below command to install the mount helper. sudo yum install -y amazon-efs-utils Your installation shoul...