AWS DataSync
Cloud service · AWS · Updated

AWS DataSync

In short

AWS DataSync is a data transfer service that facilitates the migration, replication, and synchronization of data between on-premises storage systems, AWS Storage services, and edge storage devices quickly and securely.

Cloud Services Hub →

7 key features of AWS DataSync

AWS DataSync features include simplified data transfer, scalability, encrypted data transfers, integration with AWS storage services, flexible scheduling for data transfers, and comprehensive monitoring and logging capabilities.

01
Simplified Data Transfer

AWS DataSync automates and accelerates moving data between on-premises storage systems and AWS storage services as well as between AWS storage services directly, eliminating the need for custom scripts and manual processes.

02
Highly Scalable

DataSync automatically scales to match the throughput of your network, allowing it to move large datasets and millions of files at speeds up to 10 times faster than open-source tools.

03
Data Transfer Encryption

Encrypts data in transit to protect data during transfers.

04
Integrated with AWS storage services

Seamlessly integrates with Amazon S3, Amazon EFS, and Amazon FSx for Windows File Server, enabling easy data transfer to and from these services.

05
Scheduled & On-Demand Transfers

Offers the flexibility to execute data transfers on-demand or on a schedule, making it easier to manage data workflows and synchronize data as needed.

06
Monitoring & Logging

Provides detailed monitoring through Amazon CloudWatch and logging via AWS CloudTrail, allowing for comprehensive tracking of data transfer processes and operational activity.

07
Supported On-Premises Storage Types

DataSync supports on-premises Network File System (NFS), Server Message Block (SMB), Hadoop Distributed File Systems (HDFS), and object storage.

Where AWS DataSync is used

AWS DataSync is employed for migrating data to the cloud, enabling hybrid cloud environments, facilitating data backup and recovery, automating data archiving, and distributing content across geographical locations.

  1. 01
    Migrating Data to the Cloud

    AWS DataSync facilitates the rapid and secure migration of large volumes of data from on-premises storage systems to AWS storage services such as Amazon S3, Amazon EFS, or Amazon FSx. This is particularly useful for organizations aiming to leverage cloud scalability, enhance disaster recovery capabilities, or transition to cloud-native applications.

  2. 02
    Hybrid Cloud Storage

    Organizations can use AWS DataSync to seamlessly synchronize data between their on-premises storage and the AWS Cloud, enabling a hybrid storage environment. This ensures that data is consistently replicated and accessible, supporting use cases like cloud bursting, where computational workloads are moved to the cloud to manage spikes in demand.

  3. 03
    Data Backup and Recovery

    AWS DataSync offers an efficient solution for backing up on-premises data to AWS, providing a robust and cost-effective disaster recovery plan. Automatic encryption and data integrity checks ensure that backups are both secure and accurate, making it easier for businesses to meet their continuity and compliance requirements.

  4. 04
    Data Archiving

    Organizations can use AWS DataSync to automate the archiving of data to AWS storage services, helping to achieve cost savings and comply with data retention policies. By moving infrequently accessed data to more cost-effective storage solutions like Amazon S3 Glacier, companies can reduce on-premises storage costs while ensuring data is preserved and accessible when needed.

  5. 05
    Content Distribution

    AWS DataSync can be used to distribute content across different geographical locations by synchronizing data between AWS Regions. This is especially beneficial for content delivery networks (CDNs) or global applications where low latency and high availability are critical.

How AWS DataSync is priced

AWS DataSync employs a per-GB pricing model for data transferred and charges additional fees for task execution and location management.

Per-GB Data Transfer Pricing

AWS DataSync charges a flat per-gigabyte fee for data transferred between storage locations, covering moving, verifying, and synchronizing the data.

Enhanced Mode Task Execution Fees

Tasks configured for Enhanced mode incur a fee per task execution in addition to per-gigabyte transfer charges.

Additional AWS Service Charges

Standard AWS service request, storage, and data transfer charges apply in addition to DataSync fees. PrivateLink interface endpoints incur charges for control traffic, not transferred files or objects; standard CloudWatch Logs, Metrics, and Events charges also apply. Secrets Manager charges apply only to secrets created outside DataSync.

Services AWS DataSync works with

Amazon S3Amazon S3

AWS DataSync can transfer data to and from Amazon S3 buckets, making it easier to move large data sets between on-premises storage systems and S3 for backup, analysis, or archiving.

Amazon CloudWatchAmazon CloudWatch

AWS DataSync publishes transfer metrics to CloudWatch and can send task execution logs to CloudWatch Logs. You can monitor bytes transferred, identify failed files, and create alarms for transfer problems.

Amazon EC2Amazon EC2

AWS DataSync provides an agent AMI that runs on Amazon EC2. An EC2-hosted agent can access self-managed storage reachable from its network and transfer that data to or from supported AWS storage.

Amazon Elastic File System (Amazon EFS)Amazon Elastic File System (Amazon EFS)

AWS DataSync transfers files to and from Amazon EFS through mount targets in your VPC. Transfers can preserve file metadata and use TLS encryption in transit, including when accessing a file system through an EFS access point.

Amazon EventBridgeAmazon EventBridge

AWS DataSync sends agent, task, and task execution state-change events to Amazon EventBridge. Rules can respond to completed or failed transfers by triggering notifications or downstream processing.

Amazon FSxAmazon FSx

AWS DataSync transfers data to and from FSx for Windows File Server, FSx for Lustre, FSx for OpenZFS, and FSx for NetApp ONTAP. You can use these locations for migrations or recurring copies between supported file systems and other DataSync storage locations.

Amazon Managed Workflows for Apache Airflow (Amazon MWAA)Amazon Managed Workflows for Apache Airflow (Amazon MWAA)

AWS DataSync transfers can be orchestrated from Amazon MWAA using the Amazon provider's DataSync operator and hooks. An Airflow workflow can start a transfer and wait for it to finish before running dependent processing tasks.

Amazon S3 GlacierAmazon S3 Glacier

AWS DataSync can write objects directly to S3 Glacier storage classes, including Glacier Instant Retrieval, Glacier Flexible Retrieval, and Glacier Deep Archive. Objects already in Glacier Flexible Retrieval or Deep Archive must be restored before DataSync can read them for a transfer.

Amazon VPCAmazon VPC

AWS DataSync uses network interfaces and security groups in your VPC to reach supported file-system locations. You configure subnets and network access so DataSync can communicate with EFS mount targets, FSx file systems, and other private storage endpoints.

AWS CloudFormationAWS CloudFormation

AWS DataSync agents, storage locations, and transfer tasks can be provisioned as AWS CloudFormation resources. Templates let you reproduce transfer configurations and manage their dependencies alongside networking and IAM resources.

What is AWS DataSync

3 min read

AWS DataSync is a managed data transfer service designed to simplify, automate, and accelerate the movement of data between on-premises storage systems and Amazon Web Services (AWS) storage services, as well as between different AWS storage services. This solution facilitates the migration, replication, and synchronization of data at scale over the internet or AWS Direct Connect links, ensuring a secure and efficient data transfer process. 

At the core of AWS DataSync's functionality is its ability to quickly and reliably move large volumes of data. This includes files and objects in supported file systems and object storage. The service accomplishes this by utilizing a purpose-built network protocol that is optimized for high-speed data transfer, even over long distances or across unreliable networks. This protocol also enables DataSync to manage bandwidth consumption, ensuring that data migrations do not saturate the entire available bandwidth, thus maintaining the performance of other network applications.

 Security and compliance are paramount concerns in the design and operation of AWS DataSync. The service encrypts data in transit, providing an extra layer of security to protect sensitive information as it crosses the internet. Additionally, to ensure data integrity, DataSync automatically verifies every byte of data transferred, guaranteeing that data arrives exactly as it was sent, without corruption. 

AWS DataSync simplifies data migration and transfer tasks that would otherwise require custom scripts or manual processes. The service provides a graphical interface to configure and initiate data transfer tasks. These tasks can be scheduled to run at specific intervals, enabling continuous data replication for backup or disaster recovery purposes. DataSync can handle millions of files and petabytes of data, making it scalable enough to support the requirements of both small projects and enterprise-level operations. 

DataSync tasks can run in Basic or Enhanced mode. Basic mode supports all DataSync location types and sequentially prepares, transfers, and verifies data, subject to file and object count quotas. Enhanced mode lists, prepares, transfers, and verifies data in parallel, supporting virtually unlimited object counts with enhanced metrics and reporting.

Basic mode can work with up to 50 million items per task execution between on-premises, self-managed, or other cloud storage and AWS storage services, or up to 25 million items per task execution between AWS storage services.

One of the distinguishing features of AWS DataSync is its deep integration with a wide range of AWS storage services such as Amazon S3 (Simple Storage Service), Amazon EFS (Elastic File System), and Amazon FSx for Windows File Server. This integration means that users can easily transfer data to and from these services without needing to worry about compatibility issues or complex configurations.

For transfers between storage in other clouds and Amazon S3, Enhanced mode supports direct transfers without deploying DataSync agents.

Additionally, DataSync can be used to transfer data between different AWS accounts, providing flexibility for organizations with complex AWS environments. In summary, AWS DataSync is a powerful and versatile service that addresses the common challenges associated with large-scale data migration and transfer in the cloud. 

With its focus on speed, security, and ease of use, DataSync is an essential tool for organizations looking to optimize their cloud data management practices. Whether for initial migration projects, ongoing replication for backup and disaster recovery, or synchronization between different cloud services, AWS DataSync provides a reliable and efficient solution.

Concepts related to AWS DataSync

AWS DataSync exam questions

Real practice exam questions on AWS DataSync, with the correct answer and its explanation. Answer them with every option in the exam simulator.

MLA-C02

A company stores product photographs, audio recordings, and text documents on an on-premises NFS file server. An ML team needs these files in an Amazon S3 bucket for training. Each night, the company adds new files, corrects some existing files without changing their names, and deletes older files from the NFS server. The ingestion solution must copy new and modified files without retransferring unchanged files. It must also retain objects in S3 when the corresponding source files are deleted. Which solution meets these requirements with the least operational overhead?

Show answerCORRECT ANSWER

Deploy an AWS DataSync agent with access to the NFS server. Schedule an NFS-to-S3 task to transfer only changed data, allow overwriting changed destination objects, and preserve destination objects deleted from the source.

DataSync supports scheduled transfers from on-premises NFS storage to S3 through an agent. Transferring only changed data avoids retransferring unchanged files, allowing overwrites propagates corrections, and preserving deleted files retains destination objects after source deletion.

SAP-C03

An engineering company must synchronize an on-premises SMB repository to an Amazon S3 landing bucket every night. After each successful synchronization, a separate AWS DataSync task must copy selected objects from the landing bucket to an analytics bucket in another AWS Region. Both buckets belong to the same AWS account and are in the same AWS partition.

The data center uses only Nutanix AHV and has spare virtualization capacity. Security controls allow an on-premises transfer appliance to read the SMB repository and initiate connections to AWS. Connections initiated from AWS to the SMB repository are prohibited. Data transferred between the two S3 buckets must remain on the AWS network. The company wants to minimize the number of transfer appliances it operates.

Which deployment design meets these requirements?

Show answerCORRECT ANSWER

Deploy a DataSync agent on Nutanix AHV by using the KVM agent image. Use the agent for the SMB-to-S3 task, and configure the cross-Region S3-to-S3 task without an agent.

DataSync supports deploying its VM agent on Nutanix AHV by using the KVM agent image. The local agent can access SMB without requiring AWS-initiated connections to the repository. Transfers between supported AWS storage services in the same account require no agent, including transfers across Regions in the same partition, and the transferred data remains on the AWS network. This design requires only one appliance.

SOA-C03

A company stores 200 million objects in an Amazon S3 bucket. Each day, an analytics workflow identifies approximately 20,000 objects that must be copied to another S3 bucket and produces a CSV file containing their exact object keys. The selected objects are scattered throughout the source bucket and do not share a distinguishing prefix or naming pattern. Other objects also change daily but must not be copied.

An existing AWS DataSync task spends much longer listing and preparing the source dataset than transferring data. A CloudOps engineer must restrict each execution to the workflow's selected objects and avoid scanning the entire source bucket, without maintaining custom object-copy code.

Which solution BEST meets these requirements?

Show answerCORRECT ANSWER

Format the selected object keys as a DataSync-compatible manifest, store the manifest in S3, and configure each task execution to use that manifest.

A DataSync manifest explicitly identifies the source objects to consider for a transfer. Providing the workflow's selected keys restricts the execution to that subset and avoids scanning the entire source bucket. DataSync performs the copies without custom object-copy code.

Practice AWS DataSync in a full exam

Questions on AWS DataSync in each practice exam, with every answer option and an explanation for each:

Start a free practice exam

Learn AWS DataSync in lessons

16 short lessons on AWS DataSync in 6 certification courses.

and 10 more lessons

Open the lessons

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.