Mounting Amazon EFS file systems from a different AWS Region - Amazon Elastic File System

Mounting Amazon EFS file systems from a different AWS Region

If you are mounting your EFS file system from an Amazon EC2 instance that is in a different AWS Region than the file system, you will need to edit the region property value in the efs-utils.conf file.

To edit the region property in efs-utils.conf
  1. Access the terminal for your EC2 instance through Secure Shell (SSH), and log in with the appropriate user name. For more information on how to do this, see Connecting to your Linux instance using SSH in the Amazon EC2 User Guide for Linux Instances.

  2. Locate the efs-utils.conf file, and open it using your preferred editor.

  3. Locate the following line:

    #region = us-east-1
    1. Uncomment the line.

    2. If the file system is not located in the us-east-1 region, replace us-east-1 with the ID of the region in which the file system is located.

    3. Save the changes.

  4. Add a host entry for the cross region mount. For more information on how to do this, see Step 3: Add a Host Entry for the Mount Target.

  5. Mount the file system using the EFS mount helper for Linux or Mac instances.