MongoDB Atlas Comparison

Comparing MongoDB as a Service Offerings

MongoDB Atlas is delivered by the same team that builds MongoDB. But it’s not the only MongoDB service available to you. The chart below shows how the different options stack up.*

*as of March 2020

Overview

MongoDB Atlas Amazon DocumentDB Cosmos DB Emulation API

Supports all MongoDB features with full application compatibility

Yes

Runs actual MongoDB

No

Imitates v3.6 API.
Fails >60% of compatibility tests.

No

Imitates v3.6 API.
Limited compatibility with MongoDB.

Access to the latest MongoDB version

Yes

Run v4.2, v4.0 or v3.6.

No

Imitates v3.6 API.

No

Imitates v3.6 API.

Free Tier

Yes

Storage: 512 MB RAM: Variable

No

Limited

Just for the first 400 RU/s. Not sandboxed, so no way to avoid cost if usage increases beyond the 400RU limit

Live migration

Yes

Yes

Available as separate paid service

No

Choice of cloud providers

AWS, Azure & GCP

No

AWS only

No

Azure Only

Choice of instance configuration

Yes

Multiple instance sizes and classes

Limited

Around a dozen instances only, all of a single AWS class, limiting flexibility in accommodating different workload profiles

No

Configuration based on provisioned throughput. No way to independently select underlying hardware configurations

MongoDB multi-document ACID transactions

Yes

No

No

JSON data type support

BSON

(Binary JSON) Regular JSON + longs, doubles, floats, decimal, dates, and times

Primitive JSON

and some advanced data types, but does not support decimal

BSON

Some data types have restrictions, including the inability to modify them once set

Maximum document size

16MB

2MB

16MB

JSON schema for data governance controls

Yes

No

All schema controls must be written in the app tier

No

All schema controls must be written in the app tier

Integrated text search and graph queries

16MB

MongoDB aggregation pipeline and Atlas Search

No

No

Graph queries available via separate graph API only

Replica Set Configuration

Up to 50 replicas

All replicas configured as data-bearing nodes

Up to 15 replicas

Replicas are not data-bearing. DocumentDB maintains 6 copies of data at the storage layer

3 data-bearing nodes

Automatic Sharding Support

Yes

Scale writes horizontally across multiple nodes. Store multiple TB of data on a single shard.

No

Yes

Sharding is required to store more than 10GB of data.

Data Explorer

Yes

No

Yes

SQL-based BI Connectivity

Yes

No

Power BI and Qlik Sense only

Native data visualization without 3rd party BI tools

Yes

MongoDB Charts

No

No

Pause and resume clusters

Yes

Yes

No

Database supported in on-premise and hybrid deployments

Yes

MongoDB Enterprise Advanced

No

No

Embeddable database with sync for mobile devices

Yes

MongoDB Realm

No

No

Global Clusters

MongoDB Atlas Amazon DocumentDB Cosmos DB Emulation API

Global writes

Low-latency writes from anywhere in the world

Yes

No

Single AWS region only, only one writeable node

Yes

Risk of data loss due to conflict resolution. Reads can be eventually consistent (returning stale or deleted data)

Cross-region replication

Distribute data around the world for multi-region fault tolerance and local reads

Yes

No

Cluster locked to single AWS region only

Yes

Reads can be eventually consistent (returning stale or deleted data)

Monitoring and Disaster Recovery

MongoDB Atlas Amazon DocumentDB Cosmos DB Emulation API

Automatic scaling of compute and storage

Yes

No

Yes

50% upcharge for autoscaling, can only scale within a certain tier

Monitoring of database health with automated alerting

Yes

MongoDB Atlas UI & support for APM platforms (New Relic)

Partial

Only a limited number of account-level metrics are exposed

Partial

Only a limited number of account-level metrics are exposed

Backup snapshots with on-demand Point in Time restore

Yes

Yes

No

Snapshots taken every 4 hours. Service ticket must be raised for Cosmos DB support to restore the backup. Must be completed within 8 hours or snapshots are overwritten and data is lost

Queryable backups

Yes

No

No

Automated & consistent snapshots of sharded clusters

Yes

Not Applicable

Sharding not supported

Yes

Security Control

MongoDB Atlas Amazon DocumentDB Cosmos DB Emulation API

Granular role-based access control

Yes

Limited

Coarse-grained roles only

No

Field-level access control

Yes

No

No

AWS VPC Peering

Yes

Yes

Not Applicable

Encryption of data in-flight

Yes

TLS/SSL as standard

Yes

Yes

Encryption of data at-rest

Yes

Yes

Yes

Client-side field level encryption

Encryption of data in-use. Data not readable by service provider

Yes

No

No

LDAP Integration

Yes

No

Yes

Database-level auditing

Track DDL, DML, DCL operations

Yes

No

Yes

Bring your own KMS

Yes

No

AWS KMS only

No

Azure key vault only

Support & Services

MongoDB Atlas Amazon DocumentDB Cosmos DB Emulation API

Database support delivered directly by MongoDB engineers

Yes

Available with an optional pre-paid support contract

No

No

Consulting services from engineers with multiple years of MongoDB expertise

Yes

MongoDB Consulting Services

No

No

Get started with MongoDB Atlas today