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 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:
Deploy a DataSync agent next to the NFS server, create a task from the NFS location to the EFS location, run it once, then schedule it nightly.
AWS documentation
AWS Transfer Family
AWS Transfer Family for managed SFTP, FTPS, FTP and AS2 transfers into Amazon S3 and Amazon EFS, authentication options and common uses.
Transferring large amounts of data
Working out how long a large data transfer takes over the internet, Direct Connect or Snowball, and which options suit one-off and ongoing transfers.