Skip to Content

AWS DataSync

AWS DataSync for moving and synchronizing large amounts of data online between on premises, other clouds and AWS storage, agents, scheduling, and what it preserves.

What it is

AWS DataSync: an agent next to an on-premises NFS or SMB server sends data over TLS to DataSync on a schedule, which writes it to Amazon S3 in any storage class, Amazon EFS or any Amazon FSx file system; transfers between AWS storage services need no agent AWS DataSync: an agent next to an on-premises NFS or SMB server sends data over TLS to DataSync on a schedule, which writes it to Amazon S3 in any storage class, Amazon EFS or any Amazon FSx file system; transfers between AWS storage services need no agent

Online copy and sync, on a schedule.

AWS DataSync moves large amounts of data to and from AWS, online.

  • On premises or another cloud → AWS (NFS, SMB, HDFS, object storage, other clouds' storage): needs an agent near the source.
  • AWS → AWS (between storage services): no agent needed.
  • Can synchronize to:
    • Amazon S3 (any storage class, including Glacier);
    • Amazon EFS;
    • Amazon FSx (Windows, Lustre, NetApp ONTAP, OpenZFS).
  • Replication tasks can be scheduled hourly, daily, weekly.
  • File permissions and metadata are preserved (NFS POSIX, SMB…).
  • One agent task can use up to 10 Gbps; a bandwidth limit can be set.
  • Data is encrypted in transit (TLS) and verified at the end.

DataSync now has an Enhanced mode for virtually unlimited numbers of files with higher performance; Basic mode has file-count quotas.

Real-world examples

  • A studio copies 80 TB of video from its NAS to S3 with DataSync over Direct Connect, then keeps a nightly sync running until cut-over.
  • A team copies an EFS file system to another Region every night with DataSync, without any agent.

Exam tips

  • "Move or sync files online from NFS/SMB to S3, EFS or FSx" → DataSync (with an agent).
  • "Copy between EFS, FSx and S3", "keep metadata and permissions" → DataSync.
  • "Scheduled transfers" → DataSync tasks. "Ongoing on-premises access to S3 files" → Storage Gateway instead.

Common traps

  • "DataSync needs an agent for S3 to EFS." AWS-to-AWS transfers don't.
  • "DataSync is a file share." It copies data; it doesn't serve files to applications (that's Storage Gateway or EFS/FSx).

Check yourself

A DataSync lab needs an on-premises share or two file systems, so instead:

AWS documentation

On this page

Open notes

Spotted a mistake?

These notes are open source. Suggest a fix, or star the repo if they helped you.

Suggest an edit

For AI agents: llms.txt · llms-full.txt