Configure a Destination Location - AWS DataSync

Configure a Destination Location

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

For a list of all DataSync supported source and destination endpoints, see Working with Locations.

Note

When copying between two Amazon EFS file systems, we recommend using the NFS (source) to EFS (destination) transfer. When copying between two Amazon FSx for Windows File Server file systems, we recommend using the SMB (source) to Amazon FSx for Windows File Server (destination) transfer.

In the following walkthrough, we give an example of configuring an S3 bucket as the destination location. If you don't have an S3 bucket in the current AWS Region, create one. For information about how to create an Amazon S3 bucket, see Create a Bucket in the Amazon Simple Storage Service Getting Started Guide.

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

To create an S3 location

  1. Open the AWS DataSync console at https://console.aws.amazon.com/datasync/.

  2. In the navigation pane, choose Locations. You see the locations that you previously created.

  3. On the Create location page, choose Create location.

  4. For Type, choose Amazon S3 bucket.

  5. For S3 Bucket, choose the S3 bucket that you want to use as an endpoint. You configure this location as a source or destination later.

  6. For S3 storage class, choose a storage class that you want to transfer objects directly into. For information about storage classes, see Amazon S3 Storage Classes. Some storage classes have behaviors that can affect your S3 cost. For more information, see Considerations When Working with S3 Storage Classes in DataSync.

  7. For Folder, provide the name of a folder. This folder in Amazon S3 is the one that is used to read data from the S3 source location or write data to the S3 destination.

  8. For IAM role, choose Autogenerate for DataSync to automatically create a role with the required permissions.

    If DataSync has previously created such an IAM role for that S3 bucket, that role is chosen as the default in the list. You can also manually create your own role and choose it from the list. For instructions on how to create an IAM role manually, see Manually Configuring an IAM Role to Access Your S3 Bucket .

    Note

    In addition to the IAM policies that grant DataSync permissions, we recommend creating a multipart upload bucket policy for your S3 buckets. Doing this can help you control your storage cost. For more information, see the AWS blog post S3 Lifecycle Management Update—Support for Multipart Uploads and Delete Markers.

  9. Choose Next to configure your task's setting.