MongoDB Atlas is my default pick because it's MongoDB's own service and has a free-forever tier. For real MongoDB on a different cloud, DigitalOcean, ScaleGrid and Elestio run managed clusters; Azure Cosmos DB and Amazon DocumentDB speak the MongoDB API but aren't MongoDB.
Quick note on sources: I built this from vendor pages read in December 2026, using each host's pricing page, product page or documentation. I didn't deploy a database on any of them, so there are no speed tests here. Two vendors' MongoDB product links returned errors, so for those I used their homepage and pricing page instead. Render, Percona Server for MongoDB and FerretDB Cloud were considered and dropped: no MongoDB on Render's pages, Percona is software you run yourself, and FerretDB's site didn't load.
The short answer
Start with Atlas unless you have a reason not to. Pick a compatible API only if you're committed to that cloud and have tested your queries against it. Pick an app platform when the database is a small part of a bigger app you already deploy there.
Nine hosts side by side
Every cell comes from the host's own page. Not published means the page stated no free tier, free plan or trial.
| Host | What runs | Free route stated | Hosting model |
|---|---|---|---|
| MongoDB Atlas | MongoDB, from MongoDB itself | Free forever, 512MB storage | Shared or dedicated on AWS, Azure or Google Cloud |
| ScaleGrid | MongoDB with SSH root access | 7-day trial, no credit card | Dedicated or Bring Your Own Cloud |
| DigitalOcean Managed MongoDB | MongoDB 8.0, 7.0 and 6.0 | Not published | Managed cluster with standby nodes |
| Azure Cosmos DB for MongoDB | MongoDB-compatible API, not MongoDB | Free tier: first 1000 RU/s and 25 GB | RU or vCore billing |
| Amazon DocumentDB | MongoDB API-compatible, not MongoDB | One month free trial for new users | Instances or serverless, inside AWS |
| Elestio | MongoDB among many open source databases | 3-day free trial; card required to start | Dedicated VM per service |
| Railway | MongoDB as a one-click template | Free plan with usage credits; services sleep | Usage-based services |
| Northflank | Managed MongoDB next to your code | Sandbox with 1 database; card required | Billed by vCPU hour and disk |
| Clever Cloud | MongoDB add-on | Try for free (terms not shown) | One-click database, nightly backups |
Two of the nine are compatible APIs rather than MongoDB, and 8 of the 9 state a free plan, free tier or free trial of some kind. Only one, Atlas, describes its free tier as free forever.
Each host and what it offers
MongoDB Atlas
Atlas is MongoDB's own cloud service, running clusters on Amazon Web Services, Microsoft Azure or Google Cloud. Its free-forever tier gives 512MB of storage on shared RAM and vCPU. Skip it if dedicated hardware must fit a very small budget.
ScaleGrid
ScaleGrid gives full MongoDB admin access with SSH root access and custom replica set configurations, on Dedicated or Bring Your Own Cloud plans. A 7-day trial needs no credit card. Skip it if you want a free plan that never ends.
DigitalOcean Managed MongoDB
These managed clusters offer MongoDB versions 8.0, 7.0 and 6.0, with dedicated vCPUs available and standby nodes that start serving requests if the primary node fails. Skip it if you rely on Atlas-only features such as Atlas Search.
Azure Cosmos DB for MongoDB
This is a compatibility API, not MongoDB: Microsoft says it doesn't run MongoDB databases and isn't affiliated with MongoDB, Inc. The free tier covers the first 1000 RU/s and 25 GB. Skip it if you want a serverless account on that free tier.
Amazon DocumentDB
DocumentDB is a MongoDB API-compatible document database, not MongoDB itself, and AWS says applications typically migrate without code changes. New users get a one month free trial. Skip it if your application has to run outside AWS.
Elestio
Elestio runs MongoDB among PostgreSQL, MySQL, Redis and more, each as a fully managed service on a dedicated VM, with automated backups, SSL certificates and OS patches included. Skip it if you want a price quoted for MongoDB specifically.
Railway
On Railway, MongoDB is a one-click template beside Postgres, Redis and MySQL, and the free plan allows up to 0.5 GB RAM and 0.5 GB volume storage per service. Skip it if the database must answer instantly after a quiet spell, because free services sleep.
Northflank
Northflank puts managed MongoDB next to your code alongside Postgres, MySQL and Redis, and its free Sandbox covers 2 services, 2 jobs and 1 database. Skip it if you won't add a card, since Sandbox requires a valid payment method.
Clever Cloud
Clever Cloud sets up MongoDB in one click and backs up its MongoDB databases every night by default, with a Try for free option on the product page. Skip it if you need published storage pricing before signing up.
Four kinds of MongoDB host
The vendor's own cloud. Running MongoDB from the company that makes it gets you new versions and features first, and support from the people who write the database. The free tier is shared, so treat it as a place to learn and prototype. When you move to dedicated hardware, the bill changes shape, so price the dedicated tier before you build a business on the free one. My guide on whether MongoDB is free covers the Community Server and the licence side.
Do you make a MongoDB hosting service? Tool makers can ask to be considered for a featured place on this list.
Want AI doing the heavy lifting in your marketing?
I build the systems that handle the boring 80 percent, so you get your week back. Done properly, with the human kept in.
Managed MongoDB on another provider. Four hosts in the table run real MongoDB on their own infrastructure or yours. The appeal is control and price predictability: a fixed cluster size, root access on one, and on that same host the option to keep servers in your own cloud account. You lose any feature the vendor keeps for its own cloud, so list the features your app uses first.
Compatible APIs from the big clouds. Two services speak the MongoDB wire protocol, so your existing drivers connect. They aren't MongoDB, and Microsoft says so directly about its own service. That's fine when your queries stay inside the supported feature set and you want the database billed and secured like the rest of your Azure or AWS estate. Test aggregation pipelines, indexes and transactions on the real service before you commit.
App platforms with a database template. Two hosts here let you add MongoDB as a service next to your application, billed by usage. It's quick and cheap for side projects and staging environments. Check how backups, persistence and idle sleep work on the plan you pick, because these platforms are built for apps first and databases second.
Picking by situation
- Learning MongoDB or building a prototype: a free tier from the vendor's own cloud or an app platform is enough. Expect shared resources and plan to move before launch.
- A production app with steady traffic: pick a dedicated cluster with replicas or standby nodes, in the same region as your application servers.
- A company that already runs everything on Azure or AWS: a compatible API keeps billing, access control and networking in one place. Run your real queries against it during the trial first.
- Data that must stay in your own cloud account: look for a Bring Your Own Cloud option, which keeps the servers inside your account while someone else manages them.
- A small team that wants one bill for app and database: an app platform puts both in one dashboard, as long as the database stays small.
Mistakes I'd avoid with hosted MongoDB
Assuming compatible means identical. A MongoDB-compatible API accepts the same drivers, but not every operator, index type or behaviour is guaranteed. Microsoft states that its service doesn't run MongoDB. Read the compatibility notes for your version before migrating.
Launching on a free tier. Shared RAM and CPU mean another customer's busy hour can slow yours. Free tiers suit learning, not paying customers.
Forgetting about sleep. On some app platforms, a free service sleeps after a few idle minutes and wakes on the next request. A database that sleeps adds a delay to the first query after a quiet spell.
Skipping a restore test. Nightly backups are only useful if you can restore one. Run a test restore to a separate cluster in your first week and time how long it takes.
Ignoring the region. A database in one region and an app in another adds latency to every query and can add data transfer charges. Put them side by side.
Reading only the starting price. Storage, backups, extra nodes and support tiers can each add to the bill. Price the setup you'll run in production, with replicas, not the smallest plan on the page.
Want your tool on this list? Featured spots and reviews here are paid partnerships. Here's how to partner with me.
Frequently asked questions
Is MongoDB Atlas free?
Atlas has a free-forever tier with 512MB of storage on shared RAM and vCPU, aimed at learning and exploring. Larger and dedicated clusters are paid.
Is Amazon DocumentDB the same as MongoDB?
No. AWS describes DocumentDB as MongoDB API-compatible, which means MongoDB drivers connect to it, but it's a separate AWS database. Test your queries before migrating.
Is Azure Cosmos DB for MongoDB real MongoDB?
No. Microsoft says it doesn't run MongoDB databases to provide the service and isn't affiliated with MongoDB, Inc. It offers wire protocol compatibility so existing drivers and tools work.


