Data Transfer
On this page
Sources of Data Transfer Costs
Atlas data transfer costs depend on the cloud service provider hosting your cluster. Atlas tabulates data transfer costs daily.
Atlas charges for data transfer between your Atlas node and another node. The following transfers incur costs, listed in order of lowest cost to highest:
Data transfer in the same AWS region.
Data transfer between different AWS regions.
Data transfer to a location outside of an AWS region, excluding incoming transfers to the Atlas node.
Cloud Backup Snapshot Export
Atlas charges $.125
per GB of data exported to the AWS S3
bucket or Azure Blob Storage Container, in addition to the data transfer cost
incurred from AWS or Azure itself. Atlas compresses the data
before exporting. To estimate the amount of data being exported, add up
the dataSize
of each database in your cluster. This total should correspond to
the uncompressed size of your export, which would be the maximum cost
incurred from Atlas for the data export operation.
To learn more about cloud backup snapshot export, see Export Cloud Backup Snapshot.
Atlas charges for data transfer between your Atlas node and another node. The following transfers incur costs, listed in order of lowest cost to highest:
Data transfer between Availability Zones. Atlas on Azure uses Availability Zones in new cluster deployments in regions that support them.
Data transfer using in-region VNet peering.
Data transfer to a different region. Data transfer charges for an Atlas cluster depend on the geographic location of the source node.
Data transfer using cross-region VNet peering.
Atlas charges for data transfer between your Atlas node and another node. The following transfers incur costs, listed in order of lowest cost to highest:
Data transfer between zones in the same region.
Data transfer between regions in the United States of America.
Data transfer between continents.
Data transfer between regions in the same continent other than the United States of America.
Data transfer to a location outside of a Google Cloud data center, excluding incoming transfers to the Atlas node.
Clusters
Multi-region clusters might have higher data transfer costs depending on the number and location of additional regions, as well as the number of clusters deployed to each region.
Note
Exceptions to Data Transfer Cost
Atlas doesn't charge for incoming data transfers to an Atlas cluster. Additionally, M0, M2, or M5 cluster tiers are not charged for outgoing data.
Serverless Instances
Serverless instances incur costs for data transfer to and from the virtual machine responsible for backing up and restoring data.
Push-based Log Exports
Exporting push-based logs incurs costs for data transfer.
Data Egress
Atlas charges $0.09 per GB for all egress data transfer.
Live Migrate Your Data to Atlas
MongoDB hosts and operates the free Atlas Live Migration Service to help users migrate existing MongoDB databases to MongoDB Atlas. MongoDB doesn't charge for any incoming data transfers to an Atlas cluster. Learn more about migrating to Atlas.
How to Reduce Data Transfer Costs
The vast majority of Atlas customers spend less than 10% of their budget on data transfer. If you are spending significantly more, some of these optimizations may reduce your data transfer costs:
Check all applications and processes that access your data for inefficiencies. Ensure that queries do not:
Re-read data that already exists on the client.
Re-write existing data to your cluster.
Ensure that queries originate from the same cloud region and provider as your cluster whenever possible.
When cross-region queries are necessary:
Ensure read queries use the preference "nearest."
Source write queries from your Highest Priority Region whenever possible. For more information on region priorities, see Electable Nodes for High Availability.
Use the Aggregation Framework to preprocess your data before you transfer it. For example, you can project document fields using the
$project
aggregation stage to reduce the size of a document before you transfer it.Ensure that your client driver uses wire protocol compression to communicate with MongoDB. Atlas always compresses intra-cluster communication. To learn how to configure your driver, refer to your Driver's Documentation.
Note
Queries from on-premises environments into Atlas, across cloud providers, or between continents on the same cloud provider incur the greatest data transfer costs.