Introducing DocumentDB 1.0: Our 19th Cloud Engine
Today we are adding DocumentDB 1.0 to Layerbase Cloud, our 19th hosted database engine. It joins FerretDB as another choice for applications that use MongoDB drivers and want an alternative to Atlas.
Create a DocumentDB database, or compare our MongoDB-compatible engines.
Another choice for MongoDB workloads
We have supported FerretDB for a long time. Some Atlas users have made the move, but we have also heard hesitation. Choosing a database is a long-term decision, and the uncertainty around MongoDB's lawsuit against FerretDB, filed in May 2025, has been part of those conversations. That is not a judgment on the merits of the case or on FerretDB's technology. It is a reason we want customers to have more choices.
We are excited to see DocumentDB reach its first generally available release. Originally developed at Microsoft and now a Linux Foundation project, DocumentDB is MIT licensed. It stores BSON documents using PostgreSQL and exposes a MongoDB-compatible gateway.
This is the standalone open-source DocumentDB project, not Amazon DocumentDB or the managed Azure service. FerretDB remains supported on Layerbase. Existing databases are not converted, and nothing about their connection details or data changes with this release.
Use familiar drivers, test your actual workload
DocumentDB speaks the MongoDB wire protocol. You can connect with mongosh or a MongoDB driver using the connection string from your Layerbase dashboard. For example, after connecting to a disposable database:
db.tasks.insertOne({
title: 'Try DocumentDB on Layerbase',
status: 'ready',
owner: 'developer'
})
db.tasks.find({ status: 'ready' }).toArray()That makes it a useful option for document-oriented application data, prototypes and development environments. Compatibility is not a promise that every MongoDB or Atlas feature behaves identically. Test your queries, indexes, aggregation pipelines and authentication requirements before moving a production workload. Our connection guide covers getting connected.
The guided Atlas migration currently imports into FerretDB. For DocumentDB, use a separately tested export/import workflow and validate the result in a disposable database before cutover. Keep the source until you have checked representative documents, indexes and application behavior. The two engines have separate compatibility profiles; FerretDB benchmarks are not DocumentDB benchmarks.
The day after launch we measured the two side by side with YCSB on matched 4 vCPU / 8 GB instances. The October 23, 2026 FerretDB vs DocumentDB run has the methodology, image digests, caveats and every result row, with the raw CSV and JSON to download.
Branching matters more as agents write more code
Atlas users have told us they want an easier way to give each preview environment or coding agent its own isolated database. We agree. An agent testing a migration or rewriting data should have a disposable environment, not a production connection string.
DocumentDB supports database branching on Layerbase, alongside FerretDB. Create an isolated branch for an agent, preview deployment, or test; writes to that branch stay separate from the parent. Reset the branch from its parent when you need a fresh copy. See the branching guide for the workflow and supported engines.
Free, Solo and Pro
Update, November 2026: DocumentDB is now on the Free plan. At launch it started on Solo, because we wanted to measure it under concurrent queries and indexing before putting it inside the Free plan's per-database memory budget. We ran that test on November 3: a fresh instance used about 41 MB idle and 114 MB under 10 concurrent query streams, and it settles near 140 MB until the database sleeps. That fits, so a DocumentDB database now costs nothing and needs no card. Like every Free database, it sleeps when idle and wakes on the next connection.
Solo at $5/month adds an always-on pool, so the database you pin never sleeps, plus backups every 12 hours. Pro at $15/month comes with a seven-day free trial. A payment method is required; the trial converts to $15/month unless canceled. See the current terms on the pricing page.
Pro includes up to 10 databases, 25 GB of storage and a shared 1.5 GB always-on RAM pool. Ingress and egress have no per-GB bill. They are included subject to the acceptable-use policy: combined traffic across your databases is limited to 100 GB per rolling day, 500 GB per rolling week and 1,500 GB per rolling 30 days. Those bandwidth allowances are separate from memory and storage limits. We think that is generous room to build without a surprise transfer bill.
Free local development, without Docker
On Linux x64 and ARM64, you can run DocumentDB locally for free through the Layerbase CLI, without Docker or a Cloud subscription. With a current installation:
npm install -g layerbase
lbase create documentdb-demo --engine documentdb --db-version 1.0.0 --start
lbase connect documentdb-demoThe CLI uses the same native runtime tooling behind our hosted integration. Native Mac integration is in progress. DocumentDB does not run on Windows. DocumentDB support in Layerbase Desktop is also planned; the current Desktop release does not yet include it. Linux CLI availability should not be read as availability on every local platform.
Get started
Create DocumentDB on Layerbase, connect your application and try the queries that matter to you. If you are choosing between DocumentDB and FerretDB, the MongoDB-compatible engine comparison explains the distinction before you create anything.
Our Cloud catalog now has 19 engines. DocumentDB gives you another implementation to evaluate, with a flat plan price and the option to develop locally on Linux before deciding where to host.
Keep reading
- Now available: convert MongoDB to PostgreSQL on LayerbaseLayerbase can now turn a MongoDB or DocumentDB database into PostgreSQL tables, with a mapping you review first and checks before you switch.
- Convert MongoDB to PostgreSQL with a mapping you can reviewMove MongoDB or DocumentDB into PostgreSQL, edit the table mapping, approve relationships, and inspect verification before switching your application.
- DocumentDB is now on the Free planStandalone DocumentDB 1.0 now runs on the Layerbase Free plan: 2 databases, 5 GB, no card. We measured its memory against PostgreSQL before moving it down from Solo.
- MongoDB alternatives: DocumentDB, FerretDB and the managed services worth comparingThe MongoDB alternatives people actually compare, starting with open-source DocumentDB and FerretDB, then Atlas itself, Azure, Amazon DocumentDB, Firestore, Couchbase and plain PostgreSQL JSONB. What each one is, what it costs to start, and what it asks you to change.