# AWS DataSync

Cloud service · AWS. Updated 2026-11-12. Page: https://blowstack.com/tools/cloud-services-hub/aws-datasync

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

Practice exams covering AWS DataSync: [SOA-C03 AWS Certified CloudOps Engineer - Associate](https://blowstack.com/practice-exams/aws-certified-cloudops-engineer-associate), [DEA-C01 AWS Certified Data Engineer - Associate](https://blowstack.com/practice-exams/aws-certified-data-engineer-associate), [MLA-C02 AWS Certified Machine Learning Engineer - Associate](https://blowstack.com/practice-exams/aws-certified-machine-learning-engineer-associate), [SCS-C03 AWS Certified Security - Specialty](https://blowstack.com/practice-exams/aws-certified-security-specialty), [SAA-C03 AWS Certified Solutions Architect - Associate](https://blowstack.com/practice-exams/aws-certified-solutions-architect-associate), [SAP-C03 AWS Certified Solutions Architect - Professional](https://blowstack.com/practice-exams/aws-certified-solutions-architect-professional).

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

1. **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.
2. **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.
3. **Data Transfer Encryption**: Encrypts data in transit to protect data during transfers.
4. **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.
5. **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.
6. **Monitoring & Logging**: Provides detailed monitoring through Amazon CloudWatch and logging via AWS CloudTrail, allowing for comprehensive tracking of data transfer processes and operational activity.
7. **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. **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. **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. **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. **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. **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 S3](https://blowstack.com/tools/cloud-services-hub/amazon-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 CloudWatch](https://blowstack.com/tools/cloud-services-hub/amazon-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 EC2](https://blowstack.com/tools/cloud-services-hub/amazon-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)](https://blowstack.com/tools/cloud-services-hub/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 EventBridge](https://blowstack.com/tools/cloud-services-hub/amazon-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 FSx](https://blowstack.com/tools/cloud-services-hub/amazon-fsx-(for-all-types))**: 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)](https://blowstack.com/tools/cloud-services-hub/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 Glacier](https://blowstack.com/tools/cloud-services-hub/amazon-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 VPC](https://blowstack.com/tools/cloud-services-hub/amazon-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 CloudFormation](https://blowstack.com/tools/cloud-services-hub/aws-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.
- **[AWS CloudTrail](https://blowstack.com/tools/cloud-services-hub/aws-cloudtrail)**: AWS DataSync API activity is recorded in AWS CloudTrail. These records let you audit actions such as creating locations, changing task settings, and starting task executions.
- **[AWS Config](https://blowstack.com/tools/cloud-services-hub/aws-config)**: AWS Config records supported AWS DataSync resources, including agents, tasks, and storage locations. You can track configuration changes and evaluate these resources with applicable Config rules.
- **[AWS Direct Connect](https://blowstack.com/tools/cloud-services-hub/aws-direct-connect)**: AWS DataSync can move data between on-premises storage and AWS over an AWS Direct Connect connection. Depending on the network design, agents can reach public DataSync endpoints through a public virtual interface or private endpoints through private connectivity.
- **[AWS Identity and Access Management (IAM)](https://blowstack.com/tools/cloud-services-hub/aws-identity-and-access-management-(iam))**: AWS DataSync uses IAM policies to control who can manage agents, locations, and tasks. It also assumes IAM roles to access S3 locations and perform other authorized operations on your behalf.
- **[AWS Key Management Service (AWS KMS)](https://blowstack.com/tools/cloud-services-hub/aws-key-management-service-(aws-kms))**: AWS DataSync uses permissions on KMS keys when reading or writing S3 objects encrypted with SSE-KMS. Its access role must be authorized to use the relevant keys, including when transferring encrypted data across accounts.
- **[AWS PrivateLink](https://blowstack.com/tools/cloud-services-hub/aws-privatelink)**: AWS DataSync supports interface VPC endpoints powered by AWS PrivateLink. Agents can communicate with DataSync through private IP addresses rather than requiring an internet path to public service endpoints.
- **[AWS Secrets Manager](https://blowstack.com/tools/cloud-services-hub/aws-secrets-manager)**: AWS DataSync integrates with Secrets Manager to store and retrieve credentials for supported storage locations, including SMB and object storage. DataSync can use a managed secret or an existing secret with an appropriate access role.
- **[AWS Security Token Service (AWS STS)](https://blowstack.com/tools/cloud-services-hub/aws-security-token-service-(aws-sts))**: AWS DataSync uses AWS STS to assume the IAM roles configured for access to resources such as S3 locations. The resulting temporary credentials authorize transfer operations without requiring long-lived access keys for those roles.
- **[AWS Site-to-Site VPN](https://blowstack.com/tools/cloud-services-hub/aws-site-to-site-vpn)**: AWS DataSync agents can use AWS Site-to-Site VPN connectivity to reach private DataSync endpoints and storage resources in a VPC. This supports transfers from on-premises storage over an encrypted network connection.
- **[AWS Snow Family](https://blowstack.com/tools/cloud-services-hub/aws-snow-family)**: AWS DataSync can run through the agent included on AWS Snowcone devices to transfer collected data online to supported AWS storage. This lets you send data from an edge location without shipping the device back for every transfer.
- **[AWS Step Functions](https://blowstack.com/tools/cloud-services-hub/aws-step-functions)**: AWS Step Functions can orchestrate DataSync through its AWS SDK integration, including starting task executions and checking their status. A state machine can wait for a transfer to succeed before continuing with downstream work.

## What is AWS DataSync

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

- [Hybrid Cloud Storage](https://blowstack.com/tools/cloud-concepts-hub/hybrid-cloud-storage): Hybrid cloud storage integrates on-premises storage with cloud storage so applications can use data across both environments.
- [Incremental Transfer](https://blowstack.com/tools/cloud-concepts-hub/incremental-transfer): Incremental transfer moves only new or changed data after an established baseline instead of repeatedly transferring the entire dataset.
- [Disaster recovery](https://blowstack.com/tools/cloud-concepts-hub/disaster-recovery): Disaster recovery is the planned restoration of applications, infrastructure, and data after a disruptive event within defined downtime and data-loss limits.
- [Migration and data transfer](https://blowstack.com/tools/cloud-concepts-hub/migration-and-data-transfer): Migration and data transfer is the planned movement of applications and data between environments, including the methods, costs, and operational controls needed to complete that movement safely.
- [7 Rs of Migration](https://blowstack.com/tools/cloud-concepts-hub/7-rs-of-migration): The 7 Rs of Migration are seven strategies for deciding whether and how to move applications and workloads to the cloud.
- [Backup Isolation](https://blowstack.com/tools/cloud-concepts-hub/backup-isolation): Backup isolation separates recovery copies and their management controls from production systems so that a production compromise or failure does not also destroy the backups.
- [Data Synchronization](https://blowstack.com/tools/cloud-concepts-hub/data-synchronization): Data synchronization keeps related data in different systems aligned by detecting, transferring, and applying changes according to defined consistency and freshness requirements.
- [Immutable Backups](https://blowstack.com/tools/cloud-concepts-hub/immutable-backups): Immutable backups are recovery copies protected against modification and premature deletion for an enforced retention period.
- [Migration Phases](https://blowstack.com/tools/cloud-concepts-hub/migration-phases): Migration phases are the stages used to assess readiness, prepare a cloud foundation, and move workloads into a validated operating environment.
- [On-Premises Infrastructure](https://blowstack.com/tools/cloud-concepts-hub/on-premises-infrastructure): On-premises infrastructure is computing, storage, and networking equipment deployed in facilities controlled by an organization rather than in a public cloud provider’s data centers.

## AWS DataSync exam questions

Real practice exam questions on AWS DataSync, with the correct answer and its explanation.

### Question 1 (MLA-C02)

**Question:**

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?

**Correct 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.

**Explanation:** 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.

### Question 2 (SAP-C03)

**Question:**

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?

**Correct 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.

**Explanation:** 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.

### Question 3 (SOA-C03)

**Question:**

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?

**Correct 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.

**Explanation:** 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.

### Question 4 (SCS-C03)

**Question:**

A company is configuring a scheduled AWS DataSync task to copy files from an on-premises NFS server to an Amazon S3 bucket for recovery from accidental deletion or corruption. Production users cannot administer the destination bucket. The task will use TransferMode=CHANGED and map each source file to the same S3 key on every run.

The recovery design must meet these requirements:
• New and modified source files are copied during each scheduled run.
• Earlier copies of modified files remain recoverable after subsequent runs.
• If a file is deleted from the source, its most recently copied contents remain accessible through a standard S3 GET request without a version ID.

The bucket has no Lifecycle expiration rules, and no other process modifies destination objects. Which configuration meets these requirements?

**Correct answer:** Enable S3 Versioning before the first transfer. Set OverwriteMode=ALWAYS and PreserveDeletedFiles=PRESERVE.

**Explanation:** ALWAYS allows DataSync to copy changed source files over their existing destination keys. S3 Versioning retains the previous object versions for recovery. PRESERVE keeps destination objects when their corresponding source files are deleted, leaving their latest copied contents accessible without specifying a version ID.

### Question 5 (DEA-C01)

**Question:**

A research company is moving a file-based analytics workload between AWS Regions. It must copy 18 TB of data from an Amazon EFS file system to a designated directory in an existing EFS file system in the destination Region. The applications depend on the files' numeric POSIX user IDs, group IDs, and permissions. The company requires built-in verification of transferred file contents and does not want to deploy or maintain transfer hosts or modify application clients. Network connectivity and access permissions are available in both Regions.

Which solution meets these requirements?

**Correct answer:** Create an AWS DataSync task with the two EFS file systems as its source and destination locations. Preserve POSIX ownership and permissions, and enable verification of transferred files. Run the task without deploying a DataSync agent.

**Explanation:** DataSync supports transfers between EFS file systems across AWS Regions without an agent. The task can target a destination directory, preserve numeric user IDs, group IDs, and POSIX permissions, and verify transferred file contents.

### Question 6 (SAA-C03)

**Question:**

A research company is moving 35 TB of datasets from Google Cloud Storage to Amazon S3. The source bucket remains active during a 2-week transition, so the company needs an initial transfer followed by daily transfers of new and modified objects. The company can deploy a virtual appliance in Google Cloud but does not want to maintain transfer scripts or stage a second complete copy of the dataset. Network capacity is sufficient for the migration. Which solution meets these requirements while avoiding unnecessary intermediate storage costs?

**Correct answer:** Deploy an AWS DataSync agent in Google Cloud. Configure Google Cloud Storage as an object storage source by using its S3-compatible endpoint and HMAC credentials. Configure Amazon S3 as the destination and schedule daily tasks that transfer only changed data.

**Explanation:** DataSync supports transfers from Google Cloud Storage through its S3-compatible interface. An agent deployed in Google Cloud can transfer objects directly to Amazon S3. Scheduled tasks using the changed-data transfer option handle the initial copy and subsequent updates without custom synchronization scripts or a full intermediate copy. Google Cloud data egress and applicable AWS charges still apply.

## Practice AWS DataSync in a full exam

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

- [SAA-C03](https://blowstack.com/practice-exams/aws-certified-solutions-architect-associate): 11 questions
- [SAP-C03](https://blowstack.com/practice-exams/aws-certified-solutions-architect-professional): 4 questions
- [SOA-C03](https://blowstack.com/practice-exams/aws-certified-cloudops-engineer-associate): 4 questions
- [MLA-C02](https://blowstack.com/practice-exams/aws-certified-machine-learning-engineer-associate): 2 questions
- [SCS-C03](https://blowstack.com/practice-exams/aws-certified-security-specialty): 2 questions
- [DEA-C01](https://blowstack.com/practice-exams/aws-certified-data-engineer-associate): 2 questions

## Learn AWS DataSync in lessons

16 short lessons on AWS DataSync in 6 certification courses.

- MLA-C02: AWS DataSync: file and object transfer tasks (Premium), https://app.blowstack.com/lessons/aws-datasync-file-and-object-transfer-tasks-mla-c02
- SAP-C03: AWS DataSync: task execution and synchronization semantics (Premium), https://app.blowstack.com/lessons/aws-datasync-task-execution-and-synchronization-semantics-sap-c03
- SOA-C03: AWS DataSync: transfer task performance (Premium), https://app.blowstack.com/lessons/aws-datasync-transfer-task-performance-soa-c03
- SCS-C03: AWS Backup vs AWS DataSync: recovery points or data transfer (Premium), https://app.blowstack.com/lessons/aws-backup-vs-aws-datasync-recovery-points-or-data-transfer-scs-c03
- DEA-C01: AWS DataSync and AWS Transfer Family: choosing a transfer approach (Premium), https://app.blowstack.com/lessons/aws-datasync-and-aws-transfer-family-choosing-a-transfer-approach-dea-c01
- SAA-C03: AWS DataSync: locations and transfer tasks (Premium), https://app.blowstack.com/lessons/aws-datasync-locations-and-transfer-tasks-saa-c03
