Using DataSync to Transfer Files to AWS - AWS Snowcone User Guide

Using DataSync to Transfer Files to AWS

You can use AWS OpsHub to create an AWS DataSync agent on your Snowcone device. You can use it to transfer files between your device and Amazon S3, Amazon Elastic File System (Amazon EFS), or Amazon FSx for Windows File Server in the AWS Cloud.

AWS DataSync is an online data transfer service designed to simplify, automate, and accelerate copying large amounts of data to and from AWS storage services. DataSync copies data over the internet or AWS Direct Connect. As a fully managed service, DataSync removes much of the need to modify applications, develop scripts, or manage infrastructure.

DataSync supports data transfer between Network File System (NFS) and Amazon EFS, Amazon S3, or Amazon FSx for Windows File Server.

For information about the source and destination location combination supported by AWS DataSync, see Working with Locations in the AWS DataSync User Guide.

Snowcone ships with the DataSync agent, which is a virtual machine (VM) that is used to read or write data from an on-premises storage system. To use DataSync, you first start the agent and then go the DataSync console and activate it. For information about DataSync, see Getting Started with AWS DataSync.

To start the DataSync agent

  1. On the AWS OpsHub dashboard, choose Start in the Sync with cloud section to open the Start DataSync agent wizard. The Start DataSync agent form is populated with the Device IP address, and Physical network interface fields.

  2. Choose Create IP address (VNI) to create a virtual IP address or choose Use existing IP address.

  3. If you choose Create IP address (VNI), then choose DHCP or Static IP in the IP Address assignment list box.

    If you choose Use existing IP address, then choose a virtual interface from the Virtual network interface list box.

  4. Choose Start agent. You are redirected to the DataSync resource page. It could take up to five minutes for the IP address of the agent to appear.

  5. Use the copy icon to copy the IP address value of the agent from the Agent IP address file, and choose Open DataSync console.

    This opens the DataSync console, where you activate the agent and transfer your files. The rest of the setup is done in the AWS DataSync console.

Transferring Files

AWS Snowcone has already created the agent, so you only need to activate it, configure your source and destination location, create a task, and start the task.

To activate DataSync agent and use DataSync service

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

  2. In the Activation section, on the Create agent page, paste the IP address you copied into the Agent address box, and choose Get key. Your browser connects to the IP address and gets a unique activation key from your agent.

  3. After the agent is activated, you will configure the NFS running on your device as a source location. For instructions, see Configure a Source Location in the AWS DataSync User Guide.

    Note

    The DataSync agent running on your Snowcone device can transfer files to and from a location that’s reachable on your network.

  4. On the Configure a destination page, choose and configure the destination you want to transfer files to. For instructions, see Configure a Destination Location in the AWS DataSync User Guide.

  5. Configure task setting. For instructions, see Configure Task Settings in the AWS DataSync User Guide.

  6. Review your settings and create your task. For instructions, see Review Your Settings and Create Your Task in the AWS DataSync User Guide.

  7. Start your task and wait for your files to be transferred. For instructions, see Start Your Task in the AWS DataSync User Guide.