Mounting Amazon EFS file systems from a different Amazon Web Services Region - Amazon Elastic File System
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Mounting Amazon EFS file systems from a different Amazon Web Services Region

If you are mounting your EFS file system from an Amazon EC2 instance that is in a different Amazon Web Services 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.