Move a multi-tenant SaaS product off MongoDB Atlas into your own cloud account
A SaaS product moves off MongoDB Atlas by syncing the Atlas cluster to a new MongoDB replica set in your own cloud account, then switching the connection string once the sync is committed. MongoDB's own mongosync tool is built for one-time migrations between clusters with minimal downtime, and the destination cannot serve application traffic until you call commit and canWrite returns true (MongoDB docs, checked 23 Nov 2026). Atlas lists dedicated tiers per hour: M30 at $0.54 (8 GB RAM) and M40 at $1.04 (16 GB RAM), which is about $394 and $759 over a 730-hour month (MongoDB pricing, checked 23 Nov 2026, arithmetic labelled). The harder part for a multi-tenant product is not the copy. It is everything Atlas did for you that now needs an owner: backups, alerting, index advice and private networking. OSStend designs the target, runs the sync and the cutover, and takes over that work 24/7.
45 minutes with an engineer: we review your workload and sketch the design.
- ✓MongoDB
- ✓Atlas exit
- ✓SaaS
- Source
- Atlas dedicated replica set
- Target
- MongoDB replica set in your AWS, Azure or Google Cloud account
- Method
- mongosync, then commit
- Downtime
- A short write pause at commit
- Runs where
- Your cloud account and VPC
Typical situation
Trigger. Atlas spend grows with data and traffic, and a customer asks for the database inside the SaaS company's own cloud account.
Versions. Same MongoDB major version on both sides, because mongosync supports major versions only.
- Tenants must not see a long outage
- Private networking to app VPCs
- Backups must keep point-in-time restore
A typical situation, not a named customer.
To leave Atlas, build the new MongoDB cluster in your cloud account at the same major version, sync with mongosync, verify, then commit and swap the connection string. OSStend runs the sync and cutover, replaces Atlas backups and alerting, and operates the cluster 24/7. A SaaS app with many tenants keeps one cluster and one change window.
Customers
Partners
- PostgreSQL
- MySQL
- MongoDB
- Redis
Valkey
- OpenSearch
- Kafka
- RabbitMQ
- AWS
- Google Cloud
- Azure
- Kubernetes
- OpenShift
- Prometheus
- Grafana
- Datadog
- Dynatrace
- Splunk
What OSStend runs and what you keep
OSStend engineers design, move and run the cluster; you keep the application, the data and the decisions about it. The split below is what is set in the design you sign off, and it is written into the contract.
| Area | OSStend | You |
|---|---|---|
| Target design | Sets topology, instance size, storage and oplog size | Approves, owns the cloud account |
| Sync and verification | Runs mongosync, compares counts and indexes | Supplies Atlas access and an application test plan |
| Cutover | Owns the runbook and the commit | Switches the connection string in the application |
| Backups | Replaces Atlas backups with a scheduled, tested restore | Holds the storage |
| Alerting | Rebuilds alerts for lag, disk, connections and slow queries | Receives pages in your tooling |
| Index and query advice | Reviews slow queries monthly | Ships the application changes |
| Upgrades | Plans major and patch upgrades | Approves windows |
Where it can run
For this use case the cluster runs in your cloud account, so the data, network and bill stay with you. OSStend also runs MongoDB in its own cloud or your data center when that suits another part of the estate.
| Option | When it fits | Licence and source |
|---|---|---|
| Our cloud | A SaaS company that wants the same service with no cloud account of its own to manage | MongoDB Community Server is published under the Server Side Public License (MongoDB, checked 31 Oct 2026). OSStend runs MongoDB in its own cloud, in your cloud account or in your data center. |
| Your cloud account | Customer contracts or security reviews that require the database in your account and VPC | Same licence note; infrastructure is on your cloud bill |
| Your data center | A hybrid estate where some tenants must sit on site | Same licence note |
Licence placement comes from the OSStend licensing review, 19 Nov 2026. This table is not legal advice.
How the move works
The move is a sync, a verification and a short cutover. Times are typical for a few hundred gigabytes and are fixed in your design. The full method is in the Atlas to self-managed MongoDB guide.
Review and design, 1 week
Read the Atlas cluster tier, version, indexes and connection patterns, then write the target design.
Build the target, 3 to 5 days
Create the replica set in your account at the same major version, with private networking and backups from day one.
Sync with mongosync, 3 days to 2 weeks
Run mongosync from Atlas to the target, watch progress, and keep reads and writes on Atlas meanwhile.
Verify, 3 to 5 days
Compare document counts and indexes, replay a sample of production queries and compare plans on both sides.
Commit and switch, 1 day
Stop writers briefly, commit, confirm canWrite is true, swap the connection string and keep Atlas read-only for a fallback period.
Cost basis
Atlas bills a per-hour rate by tier, with data transfer and backup billed on top. On your own account the same load is instance, disk and transfer on your cloud bill, plus OSStend's fee.
| Atlas dedicated tier | RAM and storage | Per hour | About per 730-hour month |
|---|---|---|---|
| M10 | 2 GB, 10 to 128 GB | $0.08 | $58 (page states $56.94 a month) |
| M20 | 4 GB, 20 to 256 GB | $0.20 | $146 |
| M30 | 8 GB, 40 to 512 GB | $0.54 | $394 |
| M40 | 16 GB, 80 GB to 1 TB | $1.04 | $759 |
Source: MongoDB pricing, checked 23 Nov 2026; the page says prices use default storage and vary by configuration and location. Monthly figures are arithmetic (rate x 730 hours). The page lists no data transfer or backup rates, so none are shown.
OSStend's own price is quoted per design after a 45-minute workload review. It depends on the node design, the service level tier and where the cluster runs; see pricing.
What we watch on call
After the move, the patterns that bite a MongoDB-backed SaaS are the ones Atlas used to hide. These are the signals we watch.
- Oplog window.
- The window must outlast the longest secondary outage or sync; we alert when it shrinks under the agreed hours.
- Replication lag.
- Secondary lag against the primary, since tenant reads on secondaries show stale data first.
- Cache pressure.
- WiredTiger cache eviction and page faults rising after a new tenant joins.
- Connection storms.
- App deploys that open thousands of connections at once; we watch connections against the limit.
- Missing indexes under real load.
- A query plan that was fine on Atlas but scans on the new cluster, found in the cutover comparison and kept under watch.
- Untested restores.
- Backup age and a scheduled restore test, because Atlas no longer does it for you.
When OSStend is not the right fit
The move fits a SaaS product with real Atlas spend or a customer demand for its own account. It does not fit a small app that Atlas's lower tiers hold well.
Contact us if
- ✓Atlas spend or customer contracts push the database into your account.
- ✓You want one team to own backups, alerts and upgrades.
- ✓You can run both sides for a few weeks.
Not a fit if
- ✕The app is small and the Atlas bill is a minor line.
- ✕It depends on Atlas-only services such as Atlas Search that you will not replace.
- ✕You want to run MongoDB with no outside help.
Questions buyers ask
Short answers to the questions that come up most on this kind of move. Each can be checked against the sources linked above.
What is the downtime for tenants?
A write pause at commit, measured in the rehearsal. Reads can stay on Atlas until the connection string changes.
Can we move to a different MongoDB version at the same time?
We advise against it. mongosync supports major versions only, so the move and the upgrade are done as two steps.
What about Atlas Search or Atlas Vector Search?
Those are Atlas services. They need a replacement in the design, so we list every Atlas feature in use before sizing. See MongoDB Atlas alternatives.
Is this just the standard migration guide?
The guide covers the method. This page covers a multi-tenant product that needs the swap and the operating model decided together.
Related pages
- Migration guideMigrate MongoDB off Atlas without downtimeMigrate MongoDB off Atlas with mongosync or mongodump: version limits, what to check, how cutover works, and managed running by OSStend engineers.
- PricingDatabase as a service pricing: dedicated, tailoredDatabase as a service pricing from OSStend: dedicated, tailored clusters priced by engine, size, SLA tier and location. Enterprise only, with no free tier.
- AlternativeMongoDB Atlas pricing and alternatives in 2027MongoDB Atlas pricing and alternatives: Atlas list prices, and managed MongoDB in OSStend's cloud, your cloud or your data center, with the migration run for you.
Plan your Atlas exit with an engineer
Bring the Atlas tier, version and the Atlas features you use. An engineer will sketch the move in 45 minutes.
- ✓A design sketch for your workload, not a plan menu
- ✓A zero-downtime cutover path for what you run today
- ✓A price for that design, after the review





