Using DataSync to transfer files to Amazon - Amazon Snowcone User Guide
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Using DataSync to transfer files to Amazon

You can use Amazon OpsHub to create an Amazon 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 FSx for Windows File Server in the Amazon Web Services Cloud.

Amazon DataSync is an online data transfer service designed to simplify, automate, and accelerate copying large amounts of data to and from Amazon storage services. DataSync copies data over the internet or Amazon 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 Amazon DataSync, see Working with locations in the Amazon 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 Amazon DataSync.

To start the DataSync agent
  1. Before starting the DataSync agent, enable NFS on your Snowcone device. See Configuring the NFS interface automatically and Starting NFS and Restricting Access.

  2. On the Amazon 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.

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

  4. 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.

  5. 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.

  6. 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 Amazon DataSync console.

Transferring files with DataSync

Amazon 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 the DataSync agent and use the DataSync service
  1. Open the Amazon DataSync console at https://console.amazonaws.cn/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 Snowcone device as a source location for DataSync. For instructions, see Configure a source location in the Amazon 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 Amazon DataSync User Guide.

  5. Configure task setting. For instructions, see Configure task settings in the Amazon DataSync User Guide.

  6. Review your settings and create your task. For instructions, see Review your settings and create your task in the Amazon DataSync User Guide.

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