Developer & Infra

MongoDB: switch toDocumentDB

Every MongoDB Community Server release since October 16, 2018 is under MongoDB's own Server Side Public License instead of the AGPL, and MongoDB says the SSPL has not been approved by the Open Source Initiative.

SourcesMongoDBOpen Source Initiative

01Head to head

MongoDBDocumentDB
Who's behind it

MongoDB, Inc. Public company

Linux Foundation Foundation

What it costs

Not the main problem

Free option, paid plans

Can you check the code

Partly

Yes · MIT

Good at
  • MongoDB Atlas has a free-forever cluster with 512 MB of storage, and dedicated clusters start at $56.94 a month
  • Atlas runs on AWS, Google Cloud and Microsoft Azure, with full-text and vector search built in
  • Stores BSON documents inside PostgreSQL, with full-text, geospatial and vector search
  • Runs from a Docker image, Linux packages or a Kubernetes operator; Microsoft also sells it as the managed Azure DocumentDB
Watch out for

  • Version 1.0 only shipped on October 19, 2026, and its release notes list known issues, including writes that can be applied twice after a lost connection
  • Microsoft claims 99.03% MongoDB compatibility, not 100%, so test your queries before you move
  • The local Docker image sends usage telemetry unless you turn it off

SourceMongoDBSourcesDBTAMicrosoft LearnDocumentDBGitHub

02Why leave MongoDB

  1. Betrayal

    MongoDB moved its Community Server from the open-source AGPL to its own Server Side Public License, which it admits the Open Source Initiative has not approved.

    You might askDoes the SSPL matter if I only use MongoDB in my own app?

    Usually not. MongoDB's FAQ says section 13 is about offering MongoDB as a service to third parties, and that running it internally or for subsidiaries doesn't count. The change matters because the server is no longer under a license the OSI recognizes as open source.

03Why DocumentDB holds up

DocumentDB started at Microsoft in 2024 as PostgreSQL extensions and joined the Linux Foundation under the MIT license in August 2025, with AWS, Google, Yugabyte and Supabase among its listed supporters. It speaks the MongoDB wire protocol, so MongoDB drivers and tools can connect to it, and because it contains no MongoDB server code, Microsoft says the SSPL does not apply to it.

Beta. Usable today, still maturing.

What it costs

Free
Free under the MIT license to run yourself, from a Docker image, Linux packages or a Kubernetes operator.
Paid
Microsoft sells a fully managed version, Azure DocumentDB, which also has a free tier.
SourcesDocumentDBMicrosoft Learn

Who runs it

Linux FoundationFoundationDonations and sponsors

A Series of LF Projects, LLC. Its technical steering committee has 11 members from Microsoft, Amazon, AB InBev, Rippling and YugabyteDB.

SourceDocumentDB

By the numbers

Stars
3.6k
Forks
270
Contributors
121
Last commit
Nov 10, 2026
Latest release
v1.2-0Nov 12, 2026
Open issues
148

Stats checked Nov 18, 2026.

How the health score of 88 adds up
  • Activity35/35Last commit 8 days ago, as of when the stats were fetched
  • Releases15/15Latest release v1.2-0, published 5 days ago
  • Community21/303,582 stars (100k or more earns full marks)
  • Contributors7/10121 contributors (1,000 or more earns full marks)
  • License10/10MIT: an OSI-approved open-source license

Signals marked n/a are left out and the score is rescaled. It measures project health from public data, not security or quality.

For teams