What Is AWS DataSync? How It Works, Pricing and When You Need an Agent (2026)
AWS DataSync is AWS’s service for copying large amounts of files and objects into, out of and between AWS storage: from your file servers, from other clouds, or between Amazon S3, EFS and FSx.
Here’s the catch: the DataSync fee is only part of the bill. Copying into Amazon S3 also triggers S3 request charges for every LIST, HEAD, GET, PUT and COPY, and copying out of AWS pays normal data transfer out. And in Enhanced mode, a task scheduled every day adds about $16.50 a month in run fees alone.
Jake’s shop kept ten years of invoices and photos on an old file server in the back room. Ethan wanted them in Amazon S3 before the server’s disks gave up.
Jake: "Can’t we just copy them over?"
Ethan: "We could try, for a week. DataSync copies them in parallel, checks every file arrived intact, and can keep doing it nightly until we switch over."
New to this? The plain-English version
- Location: a place DataSync reads from or writes to, such as an NFS share, an S3 bucket or an Azure container.
- Task: a saved copy job from one location to another, which you can run once or on a schedule.
- Task execution: one run of a task. Enhanced mode charges $0.55 per run.
- Agent: a small virtual machine you run next to your own storage so DataSync can reach it.
- NFS / SMB: the two common ways file servers share folders (Linux-style and Windows-style).
- Verification: DataSync checks that what arrived matches what was sent.
Jake: "So it’s a moving company for files?"
Ethan: "One that counts every box at both ends, and charges by the pound."
Is DataSync for you? Three quick questions
- Are you moving files or objects (not a live database)?
- Is it a lot of data, or something you’ll copy again and again? For one small folder, the AWS CLI is enough.
- Can you run a small VM next to your file server if it’s on-premises?
What AWS DataSync works with
| Where | Supported storage |
|---|---|
| On-premises | NFS, SMB, HDFS and S3-compatible object storage |
| AWS | Amazon S3 (including S3 Glacier classes), Amazon EFS, FSx for Windows File Server, FSx for Lustre, FSx for OpenZFS, FSx for NetApp ONTAP |
| Other clouds | Google Cloud Storage, Azure Blob Storage, Azure Files, Wasabi, DigitalOcean Spaces, Oracle Cloud Object Storage, Cloudflare R2, Backblaze B2, Alibaba Cloud OSS, IBM Cloud Object Storage, NAVER Cloud, Seagate Lyve Cloud |
Typical jobs: migrating a file share to Amazon S3 or Amazon EFS, archiving old data straight into S3 Glacier Deep Archive, replicating to a standby file system, and pulling data in from another cloud.
AWS DataSync pricing
| Item | Price (US East and Ireland) | Notes |
|---|---|---|
| Basic mode | $0.0125 per GB copied | No per-run fee |
| Enhanced mode data | $0.015 per GB transferred | Faster, parallel, no file-count quotas |
| Enhanced mode runs | $0.55 per task execution | Every scheduled or manual run |
| Upfront / minimum | None | Pay as you go |
Worked examples: moving 1 TB (1,024 GB) costs about $12.80 in Basic mode, or $15.36 + $0.55 in Enhanced mode. A daily Enhanced sync adds 30 × $0.55 = $16.50 a month in run fees, on top of the per-GB fee for whatever changed.
- Also billed: S3 request charges (LIST, HEAD, GET, PUT, COPY), storage in the destination, KMS, CloudWatch Logs and metrics.
- Data transfer: copying from AWS to on-premises pays data transfer out; copying between Regions pays inter-Region transfer.
- PrivateLink: if the agent talks to DataSync through a VPC endpoint, only the control traffic is billed there, not your data.
Jake: "Thirteen dollars for a terabyte?"
Ethan: "Plus the S3 requests. With millions of tiny invoices, those requests are worth checking first."
Do you need a DataSync agent?
| Transfer | Agent needed? |
|---|---|
| On-premises NFS, SMB, HDFS or object storage to or from AWS | Yes |
| Amazon EFS or FSx to or from another cloud | Yes |
| Between AWS services in the same account | No |
| Amazon S3 to another AWS service across accounts | No |
| Amazon S3 to or from another cloud’s object storage | No |
| Between two non-S3 AWS services across accounts | Usually yes |
The agent is a VM appliance you deploy next to your storage. Basic tasks need a Basic agent and Enhanced tasks an Enhanced agent; for millions of files, run several tasks in parallel with one agent each. The agent guide covers the edge cases, such as GovCloud.
Basic mode vs Enhanced mode
| Enhanced mode | Basic mode | |
|---|---|---|
| How it works | Lists, prepares, transfers and verifies in parallel | One step after another |
| Number of files | Virtually unlimited | Quotas apply |
| Speed | Faster for most workloads | Slower |
| Logs | Structured (JSON) | Unstructured |
| Verification | Verifies transferred data | Verifies all data by default |
| Where | All locations except S3 on Outposts | All locations |
| Price | $0.015/GB + $0.55 per run | $0.0125/GB |
Transfers between NFS, SMB or HDFS and AWS storage need an Enhanced mode agent to use Enhanced mode. The task mode guide compares every option.
How to use AWS DataSync: your first transfer
- If on-premises storage is involved, deploy a DataSync agent VM near your file server and activate it in the DataSync console.
- In the DataSync console choose Create task.
- Source location: for example your SMB share or NFS export (through the agent), or an S3 bucket.
- Destination location: for example an S3 bucket and storage class, or an EFS file system.
- Task settings: choose Enhanced or Basic mode, verification, filters for what to include, and an optional schedule.
- Create the task and choose Start. Watch the counters and logs in the console and CloudWatch.
For a migration, run the task once to copy everything, then on a schedule to pick up changes, and do a final run at cutover.
DataSync vs DMS, Storage Gateway and Transfer Family
| Service | Use it for |
|---|---|
| AWS DataSync | Copying files and objects between storage systems (migrate, sync, archive) |
| AWS DMS | Migrating databases; see our DMS guide |
| AWS Storage Gateway | Giving on-premises apps ongoing access to cloud storage |
| AWS Transfer Family | A managed SFTP, FTPS or FTP server that receives files into S3 or EFS |
| AWS Transform | AI-guided server and application migration; see our AWS Transform guide |
Common DataSync mistakes
| Mistake | What happens | Do this instead |
|---|---|---|
| Ignoring S3 request charges | Millions of small files cost more than expected | Estimate LIST/PUT counts, consider archiving into fewer objects |
| Basic mode for huge file counts | Hits quotas, runs slowly | Use Enhanced mode |
| Scheduling Enhanced runs every hour | $0.55 per run adds up (~$400 a month) | Schedule as often as you really need |
| Expecting two-way sync | Each task copies one direction | Create a second task for the other direction |
| Using DataSync for a database | Wrong tool | Use AWS DMS |
How Ethan moved the invoice archive
- He deployed a DataSync agent VM on the back-room server’s host and activated it.
- He created an SMB location for the invoices share and an S3 location with the S3 Standard storage class.
- He ran one Enhanced mode task to copy about 400 GB, roughly $6 plus $0.55 in DataSync fees.
- He scheduled a nightly run for a week to catch new invoices, then did the final run and switched the shop over.
- Files older than seven years went into a second task straight to S3 Glacier Deep Archive.
Jake: "And the old server?"
For readers preparing for an AWS certification
We have been covering AWS certifications alongside our fixes, so here is a short extra for readers studying for one. If you only came for the fix, you already have it; feel free to skip this part.
Exams that test this topic: Solutions Architect – Associate (SAA-C03) • CloudOps Engineer – Associate (SOA-C03) • Solutions Architect – Professional (SAP-C03 from November 17, 2026).
Here are the exam-style questions this topic tends to raise, with the reasoning you need to answer them:
1. A company must copy 200 TB from an on-premises NFS file server into Amazon S3 over the network with automatic integrity verification. Which service fits?
AWS DataSync with a DataSync agent deployed next to the NFS server, copying to an S3 location (Enhanced mode for large file counts).
2. Which AWS DataSync transfers do NOT require an agent?
Transfers between AWS storage services in the same account, between Amazon S3 and another AWS service across accounts, and between S3 and other clouds object storage.
3. A team needs to migrate an Oracle database, while another needs to move a file share. Which services should each use?
AWS DMS for the database migration and AWS DataSync for the file share.
4. Business partners must upload files to Amazon S3 over SFTP. Is DataSync the right choice?
No. Use AWS Transfer Family, which provides a managed SFTP, FTPS or FTP endpoint into S3 or EFS; DataSync copies between storage systems you control.
5. Why might a dataset with tens of millions of files fail or run slowly in DataSync Basic mode, and what helps?
Basic mode has quotas on files, objects and directories and works sequentially; Enhanced mode handles virtually unlimited objects in parallel, and splitting into parallel tasks with one agent each speeds large transfers.
Exam codes and dates change often. Our AWS certification changes page keeps track of what is current.
Ethan: "Retired, once the last nightly run matched the counts."
AWS DataSync documentation and official references
- AWS DataSync pricing: Basic and Enhanced rates and extra charges.
- What is AWS DataSync?: supported storage and use cases.
- Do I need a DataSync agent?: which transfers need one.
- Choosing a task mode: Basic vs Enhanced in detail.
Frequently asked questions
What is DataSync in AWS?
AWS DataSync is a managed service that copies files and objects between storage systems: from on-premises NFS, SMB, HDFS or object storage, from other clouds, or between AWS services such as Amazon S3, EFS and FSx. It encrypts the data in transit and checks it arrived intact.
How does AWS DataSync work?
You define a source location and a destination location, then create a task that copies between them. When either side is on your own servers (or some other clouds), a small DataSync agent VM runs next to that storage; transfers between AWS services and S3-to-cloud transfers need no agent.
How much does AWS DataSync cost?
Basic mode costs $0.0125 per GB copied. Enhanced mode costs $0.015 per GB plus $0.55 per task execution. S3 requests, storage and data transfer out are billed separately at their normal rates.
Is AWS DataSync free?
No. There’s no upfront or minimum charge, but every gigabyte copied is billed: $0.0125 per GB in Basic mode or $0.015 per GB plus $0.55 per run in Enhanced mode.
Does AWS DataSync need an agent?
Only for some transfers: between AWS and on-premises storage, between EFS or FSx and other clouds, and some cross-account transfers where neither side is S3. Copies between AWS services in one account, or between S3 and other clouds’ object storage, need no agent.
What is the difference between DataSync Basic and Enhanced mode?
Enhanced mode lists, prepares, transfers and verifies in parallel, handles virtually unlimited objects and writes structured JSON logs. Basic mode works step by step, has quotas on file counts and verifies all data by default. Enhanced costs a little more per GB plus $0.55 per run.
AWS DataSync vs DMS: which should I use?
DataSync copies files and objects; AWS DMS migrates databases. Moving a file share or a bucket is DataSync; moving a MySQL or Oracle database is DMS.
AWS DataSync vs Storage Gateway: what is the difference?
DataSync moves data from one place to another as transfer jobs. Storage Gateway gives your on-premises applications ongoing access to cloud storage. Use DataSync to migrate or sync data, Storage Gateway to keep using cloud storage from on-premises apps.
AWS DataSync vs Transfer Family: what is the difference?
Transfer Family runs a managed SFTP, FTPS or FTP server so partners can send you files into S3 or EFS. DataSync is for you to copy data between storage systems you control.
Does AWS DataSync support SFTP?
SFTP isn’t one of DataSync’s location types; it connects to NFS, SMB, HDFS and object storage. For SFTP, use AWS Transfer Family.
Is AWS DataSync bidirectional?
Each task copies one way, from its source location to its destination. To keep two places in sync both ways, create two tasks, one in each direction.
Is AWS DataSync serverless?
For transfers between AWS services, and between S3 and other clouds, there’s nothing to run. When on-premises storage is involved, you deploy the DataSync agent as a VM next to your storage.
Which clouds can DataSync copy from?
Google Cloud Storage, Microsoft Azure Blob Storage and Azure Files, Wasabi, DigitalOcean Spaces, Oracle Cloud Object Storage, Cloudflare R2, Backblaze B2, Alibaba Cloud OSS, IBM Cloud Object Storage, NAVER Cloud and Seagate Lyve Cloud.
Can DataSync move data to S3 Glacier?
Yes. You can write straight into S3 storage classes such as S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive to archive cold data.
How do I speed up a large DataSync transfer?
Use Enhanced mode, and for millions of files split the dataset into several tasks running in parallel, each with its own agent.
What other charges come with DataSync?
Standard S3 request charges (LIST, HEAD, GET, PUT, COPY), storage, KMS, CloudWatch, data transfer out to on-premises or between Regions, and PrivateLink endpoints if you use them for the agent’s control traffic.
Revision note. Written December 3, 2026, during AWS re:Invent week. Rates and supported locations change, so check the live pricing page before a large transfer. “Slow and steady wins the race”: copy once, then sync nightly until cutover.