Migrating and Synchronising Data Online with AWS DataSync
This lesson explains how AWS DataSync moves large amounts of data online between on-premises storage, other clouds and AWS storage, as a one-off migration or on a schedule.
Learning outcomes
After completing this lesson, you will be able to:
- Describe what DataSync transfers.
- Estimate transfer time from size and bandwidth.
- Identify typical uses of DataSync.
What DataSync does
AWS DataSync transfers data online between storage systems. It copies from and to NFS and SMB file servers, HDFS, self-managed object storage and other clouds, into or out of Amazon S3, Amazon EFS and Amazon FSx, and also between AWS storage services. For on-premises or other-cloud sources, a DataSync agent runs near the source; no agent is needed for transfers between AWS services.
Transfers are incremental after the first run, encrypted in transit and verified for integrity, and they can be scheduled and limited in bandwidth. DataSync preserves file metadata such as permissions and timestamps, and it works over the internet, AWS Direct Connect or VPC endpoints.
The following diagram shows a transfer from an on-premises file server.

DataSync facts
Estimating transfer time
Divide the data size by the usable bandwidth and compare with the deadline.
| Data | Link | Time |
|---|---|---|
| 50 TB | 1 Gbps at about 80% (about 8.6 TB per day) | About six days: DataSync works if the link can be dedicated |
| 100 TB | 100 Mbps | More than three months: go offline with Snowball |
Online or offline?
Typical uses
DataSync suits several common transfer tasks. It migrates network-attached storage (NAS) file shares to Amazon EFS or Amazon FSx, preserving permissions so users see the same files and access rights after the move. It moves archives into Amazon S3 Glacier storage classes for long-term retention at low cost.
It also replicates data to AWS regularly, on a schedule, for processing in the cloud or as a disaster recovery copy of on-premises data; because transfers are incremental, each run copies only what changed.
Migrating a NAS to Amazon EFS
A company moves 40 TB from an on-premises NFS server to EFS over a 1 Gbps Direct Connect link, with the application switching over at a weekend.
| Step | Action |
|---|---|
| 1 | Deploy a DataSync agent on premises |
| 2 | Run an initial full transfer during the week, with a bandwidth limit in office hours |
| 3 | Run incremental transfers nightly |
| 4 | At the weekend, stop writes, run a final incremental transfer and switch the application to EFS |
DataSync verifies data integrity and preserves permissions, and the incremental runs keep the final cutover short.
How does DataSync make repeated transfers efficient and reliable?
Show answer
It copies only files that changed since the last run and verifies data integrity in transit and at the destination.
Exam Tips
Remember for the exam
- For scheduled online migration of NAS data to S3, EFS or FSx, use DataSync.
- Divide the data size by the bandwidth to estimate the transfer time, and compare it with the deadline.
- To move data between AWS storage services, such as EFS to S3, use DataSync without an agent.
- To limit the impact of a migration on the network, set a DataSync bandwidth limit.