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

Mounting EFS file systems from a different AWS Region

To mount your EFS file system from an EC2 instance that is in a different AWS Region than the file system, you must 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, see Connect to your EC2 instance in the Amazon EC2 User Guide.

  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.