vs

Amazon DocumentDB vs Azure DocumentDB

Amazon DocumentDB: AWS's managed MongoDB-API database on a proprietary, Aurora-style storage layer. Azure DocumentDB: Microsoft's managed MongoDB-compatible service, built on the open-source DocumentDB engine.

key differences

  • Only Amazon DocumentDB has change data capture, compression.
  • Amazon DocumentDB has a serverless option; Azure DocumentDB does not.

choose amazon-documentdb for

  • +Lift-and-shift of MongoDB apps already running on AWS
  • +Catalogs, profiles and content stores for AWS-native services
  • +Vector search alongside JSON documents in AWS

best at · OLTP, Content, Metadata

choose azure-documentdb for

  • +MongoDB migrations to Azure without SSPL
  • +Content management and catalog backends with complex aggregations
  • +RAG applications storing embeddings next to documents

best at · OLTP, Content, Vector search

overview
Primary model
Document
Document
Also supports
Vector, Spatial
Vector, Spatial
Type
Managed service
Managed service
Status
Active
Active
Developer
Amazon Web Services
Microsoft
First release
2019
2023
Latest version
8.0 (Nov 11, 2025)
–
License
ProprietaryProprietary AWS service
ProprietaryProprietary Azure service (engine is MIT-licensed DocumentDB)
Free tier
—
✓
popularity
WhichDB Score
15.7
0.0
Rank
#204
#692
GitHub stars
–
–
Stack Overflow questions
462
–
scale & guarantees
Comfortable data size
Large (≤ 1 PB)
Large (≤ 1 PB)
Horizontal scaling
Native
Native
Multi-region
Read replicas
Read replicas
ACID
Full
Full
Consistency
Strong, Eventual
Strong
Schema
Flexible
Schemaless
Architecture
Shared storage, Primary replica, Serverless
Distributed, Primary replica
deployment
Self-hosted
—
—
Vendor-managed cloud
✓
✓
Serverless
✓
—
Embedded
—
—
Edge
—
—
Clouds
AWS
Azure
capabilities
Transactions
✓
✓
Joins
✓
✓
Secondary indexes
✓
✓
Full-text search
✓
✓
Vector search
✓
✓
Geospatial
✓
✓
JSON
✓
✓
Change data capture
✓
—
Triggers
—
—
Stored procedures
—
—
Materialized views
—
—
TTL / expiry
✓
✓
Pub/Sub
—
—
Columnar storage
—
—
In-memory
—
—
Durable persistence
✓
✓
Compression
✓
—
Encryption at rest
✓
✓
Role-based access
✓
✓
Time travel
—
—
Branching
—
—
Online schema changes
✓
✓
Streaming ingest
—
—
Offline sync
—
—
Runs in WebAssembly
—
—
interfaces
Query languages
MongoDB Query API (MQL), Aggregation pipeline
MongoDB Query API (MQL), Aggregation pipeline
Client languages
Java, Python, JavaScript, Go, C#, PHP, Ruby
C#, Java, Python, JavaScript, Go
Best for
OLTP, Content, Metadata, Vector search
OLTP, Content, Vector search, RAG

Amazon DocumentDB vs Azure DocumentDB: FAQ

What is the difference between Amazon DocumentDB and Azure DocumentDB?

Amazon DocumentDB: AWS's managed MongoDB-API database on a proprietary, Aurora-style storage layer. Azure DocumentDB: Microsoft's managed MongoDB-compatible service, built on the open-source DocumentDB engine. Only Amazon DocumentDB has change data capture, compression. Amazon DocumentDB has a serverless option; Azure DocumentDB does not.

When should I choose Amazon DocumentDB over Azure DocumentDB?

Choose Amazon DocumentDB for lift-and-shift of MongoDB apps already running on AWS; catalogs, profiles and content stores for AWS-native services; and vector search alongside JSON documents in AWS. Choose Azure DocumentDB for MongoDB migrations to Azure without SSPL; content management and catalog backends with complex aggregations; and RAG applications storing embeddings next to documents.

Is Amazon DocumentDB or Azure DocumentDB more popular?

Amazon DocumentDB ranks #204 on the WhichDB Score (15.7/100) and Azure DocumentDB ranks #692 (0.0/100). Popularity is not fit: check the requirements that matter for your project.

Are Amazon DocumentDB and Azure DocumentDB open source?

No. Amazon DocumentDB is proprietary, closed-source software. No. Azure DocumentDB is proprietary, closed-source software.