With Amazon EFS(elastic file system)mounted in the EC2, you can signifincalty reudce cost of storge becaues you pay only for the storgrage used by your applications/data. EFS supports NFS
In the AWS console, search for EFS and then create a volume. When you attahce a security group in the EFS, make sure it allows traffc on port 22 from the EC2 instance. Also, take note of the DNS name of EFS, which will be used to mount the volumen in the EC2.
SSH to the Ec2 and create a mount directory.
sudo mkdir efs
Note:if you want you can specify the full path of the mount directory such as /home/efs or /var/efs [Read more…]