Navigation

Data Transfer Costs

Sources of Data Transfer Costs

Atlas data transfer costs depend on the cloud service provider where you deployed the cluster. Multi-region clusters may 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.

Atlas tabulates data transfer costs daily.

Note

Atlas does not charge for data transfer on M0 Free Tier and M2/M5 shared clusters.

AWS

Atlas charges for data transfer between the Atlas server and another server. Data transfer charges include traffic between cluster nodes, including an outgoing transfer from the source node and an incoming transfer to the destination node within the same AWS region. Charges for data transfer increase as follows, from lowest to highest:

  • Data transfer between the originating MongoDB Atlas server and a server in the same AWS region.
  • Data transfer between the originating MongoDB Atlas server and a server in a different AWS region.
  • Data transfer between the originating MongoDB Atlas server and a server not in an AWS region.
GCP

Atlas charges for outgoing data transfers from an Atlas server to another server. Incoming data transfers to an Atlas server are free. Data transfer charges for a Atlas cluster are as follows, from lowest to highest:

  • Outgoing data transfer between the originating MongoDB Atlas node and:
    • a server that is in the same region but not in the same zone, or
    • a server where both the originating MongoDB Atlas node and the destination server are in different regions in the United States of America.
  • Outgoing data transfer between the originating MongoDB Atlas node and:
    • a server in a different continent, or
    • a server in the same continent (excluding USA) but a different region, or
    • a server or machine not in a GCP data center.
Azure
Atlas charges for outgoing data transfer from an Atlas server to another server or machine not in the same region. Incoming data transfers to a Atlas server are free. Data transfer charges for an Atlas cluster depend on the geographic location of the source server.

Live Migrate Your Data to Atlas

The Atlas Live Migration Service is a free service hosted and operated by MongoDB to help users migrate existing MongoDB databases to MongoDB Atlas. All incoming data transfers to an Atlas cluster are also free. 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 Atlas cluster whenever possible.

    When cross-region queries are necessary:

  • 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 is using wire protocol compression to communicate with MongoDB (Atlas will always use compression for intra-cluster communication). For more information on configuring your driver, refer to your Driver’s Documentation.

Note

Queries from non-cloud environments into Atlas, across cloud providers, or between continents on the same cloud provider incur the greatest data transfer costs.