Fully managed document database services on AWS

Looking for the flexibility of a document data model with the automation of a cloud service?

You’ve come to the right place. MongoDB Atlas is built and run by the team behind MongoDB, the most popular NoSQL JSON database on AWS.

Amazon DocumentDB is an imitation of MongoDB, built on a completely different technology, and featuring an emulation of the MongoDB API that most resembles MongoDB v3.6, which was released six years ago.

Scroll down to see how the two services compare when it comes to security, reliability, scalability, performance, and more.

Try MongoDB Atlas today

8 characters minimum
I agree to the terms of service and privacy policy.Get started free

Already have an account? Sign in.

Compare Amazon DocumentDB and MongoDB Atlas side-by-side

Amazon DocumentDBMongoDB Atlas
High availability with fast failover and retryable writesUp to 120 second failover, no retryable writes, Global Clusters still route writes to a single primaryTypical failover of 5 seconds with retryable writes
Support for role-based access control and authentication restrictions

Predefined roles only, no support for LDAP or Active Directory

Granular access control, full auditing, , with integrations to AWS KMS and customers' own key management service
Multi-statement distributed ACID transactionsAmbiguous commits, poor error handling, small data sizes. Transactions across shards are not available as DocumentDB does not support sharding Full support
Native text search, JOINs, geospatial processing, graph traversalsData must be replicated to multiple adjacent AWS services, driving up cost and complexityAll available from a single API and platform
Schema governanceSchema controls must be enforced in the appOptional schema governance and enforcement
Scale writes and partition data beyond a single nodeSingle primary only, largest instance supports 30,000 concurrent connectionsLargest Atlas instance supports 128,000 concurrent connections
Replicate and scale beyond a single regionSingle primary with up to 15 replicas; Global Clusters still vulnerable to failures of the single primary that can process writesGlobal clusters with up to 50 replicas per shard across multiple regions and even multiple cloud providers
Support for latest MongoDB versionFeature set resembles MongoDB 3.0/3.2, released in 2015MongoDB 5.0
Fully compatible with MongoDBImitation API, fails up to 61% of correctness testsYes
Availability of advanced developer and analysis toolsLimited telemetry: DocumentDB exposes fewer than 50 metricsMongoDB exports over 100 metrics, in addition to developer aids such as Performance Advisor, which analyzes slow query logs and ranks suggestions by impact to database performance
Access to MongoDB expertiseDocumentDB is not supported by MongoDB, and there is no escalation path to MongoDB engineersFull support directly from MongoDB, including escalation to product engineers; deep pool of talent certified on MongoDB
Native support for time series dataNo supportFull support in MongoDB 5.0 with Time series collections
Amazon DocumentDB
High availability with fast failover and retryable writesUp to 120 second failover, no retryable writes, Global Clusters still route writes to a single primary
Support for role-based access control and authentication restrictions

Predefined roles only, no support for LDAP or Active Directory

Multi-statement distributed ACID transactionsAmbiguous commits, poor error handling, small data sizes. Transactions across shards are not available as DocumentDB does not support sharding
Native text search, JOINs, geospatial processing, graph traversalsData must be replicated to multiple adjacent AWS services, driving up cost and complexity
Schema governanceSchema controls must be enforced in the app
Scale writes and partition data beyond a single nodeSingle primary only, largest instance supports 30,000 concurrent connections
Replicate and scale beyond a single regionSingle primary with up to 15 replicas; Global Clusters still vulnerable to failures of the single primary that can process writes
Support for latest MongoDB versionFeature set resembles MongoDB 3.0/3.2, released in 2015
Fully compatible with MongoDBImitation API, fails up to 61% of correctness tests
Availability of advanced developer and analysis toolsLimited telemetry: DocumentDB exposes fewer than 50 metrics
Access to MongoDB expertiseDocumentDB is not supported by MongoDB, and there is no escalation path to MongoDB engineers
Native support for time series dataNo support
MongoDB Atlas
High availability with fast failover and retryable writesTypical failover of 5 seconds with retryable writes
Support for role-based access control and authentication restrictionsGranular access control, full auditing, , with integrations to AWS KMS and customers' own key management service
Multi-statement distributed ACID transactionsFull support
Native text search, JOINs, geospatial processing, graph traversalsAll available from a single API and platform
Schema governanceOptional schema governance and enforcement
Scale writes and partition data beyond a single nodeLargest Atlas instance supports 128,000 concurrent connections
Replicate and scale beyond a single regionGlobal clusters with up to 50 replicas per shard across multiple regions and even multiple cloud providers
Support for latest MongoDB versionMongoDB 5.0
Fully compatible with MongoDBYes
Availability of advanced developer and analysis toolsMongoDB exports over 100 metrics, in addition to developer aids such as Performance Advisor, which analyzes slow query logs and ranks suggestions by impact to database performance
Access to MongoDB expertiseFull support directly from MongoDB, including escalation to product engineers; deep pool of talent certified on MongoDB
Native support for time series dataFull support in MongoDB 5.0 with Time series collections

Join hundreds of thousands of teams already building with MongoDB

Click here for an in-depth look at how Amazon DocumentDB compares to MongoDB Atlas in terms of architecture, compatibility, deployment, operations, performance, and pricing.
Copyright © 2020 MongoDB, Inc.