AWS DataSync
User Guide

Configure a Source Location

A task comprises of a pair of locations which data will be transferred between. The source location defines the storage system or service that you want to read data from, and the destination location defines the storage system or service that you want to write data to.

DataSync supports the following source and destination location combinations.

Source (From) Destination (To)

NFS or SMB file system

Amazon EFS file system

NFS or SMB file system

Amazon S3

Amazon EFS

NFS or SMB file system

Amazon S3

NFS file system or Amazon EFS


When copying between two Amazon EFS file systems, we recommend using the NFS (source) to EFS (destination) transfer.

In the following walkthrough, we give an example of configuring a Network File System (NFS) file system as the source location.

To configure a different location type as your source location, see the following topics:

To create an NFS location

  1. On the Configure source location page, choose Create a new location or Choose existing location. Create a new location enables you to define a new location and Choose existing location enables you to choose from locations that you have previously created in this AWS Region.

  2. For Location type in the Configuration section, choose your NFS server from the list.

  3. For Agents, choose your agent from the list. You can add more than one agent. For this walkthrough, we add only one agent.


    If you are transferring from an in-cloud NFS file system, or and Amazon EFS file system, make sure that you choose an agent that you created on an Amazon EC2 instance that can access this file system.

    Agents that are created with different endpoint types can't be used for the same task.

  4. For NFS server, enter the IP address or domain name of your NFS server. An agent that is installed on-premises uses this host name to mount the NFS server in a network. The NFS server should allow full access to all files.

  5. For Mount path, enter a path that's exported by the NFS server, or a subdirectory that can be mounted by other NFS clients in your network. The path is used to read data from or write data to your NFS server.

  6. Choose Next to open the Configure destination location page.