Amazon Elastic File System
User Guide

Mounting with an IP Address

As an alternative to mounting your Amazon EFS file system with the DNS name, Amazon EC2 instances can mount a file system using a mount target’s IP address. Mounting by IP address will work in environments where DNS is disabled, such as VPCs with DNS hostnames disabled, and EC2-Classic instances mounting using ClassicLink. For more information on ClassicLink, see ClassicLink in the Amazon EC2 User Guide for Linux Instances.

Mounting a file system using the mount target IP address can also be configured as a fallback option for applications configured to mount the file system using its DNS name by default. When connecting to a mount target IP address, EC2 instances should mount using the mount target IP address in the same Availability Zone as the connecting instance.

You can get the mount target IP address for your EFS file system through the console using the following procedure.

To obtain the mount target IP address for your EFS file system

  1. Open the Amazon Elastic File System console at

  2. Choose the Name of your EFS file system from the File systems list.

  3. In the Mount targets table, identify the Availability Zone that you want to use to mount your EFS file system to your EC2 instance.

  4. Make a note of the IP address associated with your chosen Availability Zone.

You can specify the IP address of a mount target in the mount command, as shown following:

$ sudo mount -t nfs -o nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2 mount-target-IP:/ ~/efs-mount-point