AWS DataSync
User Guide

Configure a Source Location

A location is an endpoint for a task. Each task defines data transfer from a source location to a destination location. DataSync supports the following source and destination location combinations. Following, we configure a Network File System (NFS) file system as the source location as an example.

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

Source (From) Destination (To)

On-premises NFS file system

Amazon EFS file system

On-premises NFS file system

Amazon S3

Amazon EFS

On-premises NFS file system

Amazon S3

On-premises NFS file system

In-cloud NFS file system or Amazon EFS

Amazon S3

Amazon S3

In-cloud NFS file system or Amazon EFS

To configure an NFS file system as a source location

  1. On the Configure source location page, choose Create a new location. If you have previously created a location in this AWS Region, you can choose Choose existing location to choose that location.

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

    The locations that we configure in this walkthrough are examples.

  3. To copy between EFS file systems, or from a self-managed NFS to EFS,

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

    Note

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

    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.