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
-
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.
Locate the
efs-utils.conf
file, and open it using your preferred editor.Locate the following line:
#region = us-east-1
Uncomment the line.
If the file system is not located in the
us-east-1
region, replaceus-east-1
with the ID of the region in which the file system is located.Save the changes.
-
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.
Mount the file system using the EFS mount helper for Linux or Mac instances.