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
-
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.
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.