Service · Migration and Transfer
AWS DataSync
Moves files and objects online, fast and on a schedule, between storage systems and AWS.
- 1The agent reads files over NFS or SMB.
- 2It sends them to DataSync over TLS, with compression and verification.
- 3DataSync writes to S3, EFS or FSx and checks the result.
Online migration or sync of files
DataSync
Local access to cloud-backed storage
Partner file exchange over SFTP
Huge data, slow network
| Need | Service |
|---|---|
| Online migration or sync of files | |
| Local access to cloud-backed storage | |
| Partner file exchange over SFTP | |
| Huge data, slow network |
What it is
AWS DataSync copies data over the network between on-premises storage (NFS, SMB, HDFS, object storage), other clouds, and AWS storage: Amazon S3, Amazon EFS and Amazon FSx. For on-premises sources you install a DataSync agent as a virtual machine that reads your storage. For AWS to AWS copies, no agent is needed.
What it is
A task defines the source, the destination and the options. You can run it on a schedule, such as hourly or daily, and it copies only what changed. DataSync checks the data after the copy, keeps file permissions and metadata, compresses and encrypts data in transit, and can limit the bandwidth it uses. A VPC endpoint keeps the traffic private, for example over Direct Connect.
It is the answer for “migrate or sync file data online”. It is not for ongoing on-premises access to cloud files (Storage Gateway), not for outside partners who use SFTP (Transfer Family), and not when the network is too slow for the data size (Snow Family).
Remember
- Sources: NFS, SMB, HDFS and object storage. Targets: S3, EFS and FSx.
- Agent as a virtual machine for on-premises sources. None for AWS to AWS.
- Scheduled tasks, incremental copies, data verification, bandwidth limits.
- Preserves file permissions and metadata. Encrypts data in transit.
Remember
- Works over the internet, or privately with a VPC endpoint over Direct Connect.
On the exam
- “Migrate file data from NFS to Amazon EFS or S3 on a schedule” points to AWS DataSync.
- “On-premises applications keep using local files backed by S3” points to Storage Gateway.
- “Partners upload through SFTP” points to Transfer Family.
Do not mix it up with
AWS Storage GatewayChoose the gateway type by the protocol your on-premises application uses.
AWS Snow FamilyRugged devices for offline data transfer and edge computing, when the network is too slow. No longer sold to new customers.
AWS Transfer FamilyManaged SFTP, FTPS, FTP and AS2 endpoints that write into S3 or EFS.