How To Create A Network File System (NFS) In AWS

Amazon Elastic File System (Amazon EFS) provides simple, scalable, elastic file storage for use with AWS Cloud services and on-premises resources. It’s very easy to use and offers a simple interface. This service removes the need for you to manage file servers or file storage, AWS take care of the maintenance and patching of this service. In addition to this the storage will increase or decrease as per your demands and the capability is there for multiple EC2 instances to also access this file system in parallel.

In this video, Nick will take you through the steps to create the file storage in the Amazon Web Services (AWS) Console, then using the configuration information supplied we’ll then connect to an Amazon Linux instance using Git Bash (or Putty as an alternative). We then use the mount command to access the elastic file system, look at the file system using DF command and then creating a test file in the new file system using the DD command.

Prerequisites include:

  • An Amazon Account (This demo is free tier eligible)
  • A Linux EC2 instance running and configured for access via SSH
  • (A T2 Micro instance and an Amazon Linux 2 AMI 2.0.20180924 x86_64 HVM gp2 image used in this video)
  • Basic knowledge of Linux commands