Keep MongoDB data inside one country for a bank, backups and replicas included
Residency for MongoDB is a placement problem, not a setting. Every place a copy of the data can land has to be inside the country: replica set members, backups, the oplog stream, logs and the monitoring that reads them. A three-member replica set can sit in three availability zones of one in-country region and still acknowledge writes by majority, so two of three members must survive for writes to continue. A bank that must also survive the loss of a whole site needs a second in-country site, not a second country. OSStend designs the placement with your compliance team, runs MongoDB in your cloud account, or in your data center, and keeps operator access, backup copies and log storage inside the boundary. MongoDB's pricing page says Atlas charges mainly apply to data leaving a cluster or moving between regions or cloud providers (MongoDB, checked 23 Nov 2026), which is why cross-region traffic is designed out, not tolerated.
45 minutes with an engineer: we review your workload and sketch the design.
- ✓MongoDB
- ✓Data residency
- ✓Banking
- Engine
- MongoDB replica sets, w: majority
- Placement
- 3 zones, one in-country region; second in-country site for DR
- Backups and logs
- In the same country
- Access
- Through your identity provider, audited
- Runs where
- Your cloud account or data center
Typical situation
Trigger. A regulator or internal policy requires customer data to stay in one country, and the current setup replicates or backs up across a border.
Versions. A current MongoDB major version, three-member replica sets, majority write concern.
- No copies outside the country
- Operator access logged and in-region
- A second site for disaster recovery in the same country
A typical situation, not a named customer.
MongoDB data residency means every copy stays in the country: replica members, backups, logs and monitoring. OSStend places a three-member replica set across zones in one in-country region or across two in-country sites, keeps backups and logs in the same boundary, and runs it 24/7 in your cloud account or data center.
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 |
|---|---|---|
| Placement design | Maps each copy of the data to a zone, site and country | Confirms the boundary with compliance |
| Replica set operation | Elections, failover tests, upgrades | Approves change windows |
| Backups | Schedules and tests restores into the same country | Holds storage and retention |
| Logs and monitoring | Keeps metrics and logs inside the boundary | Provides the log platform |
| Operator access | Engineers use your identity provider and session recording | Grants and reviews access |
| Evidence | Provides placement diagrams and change records | Presents them to auditors |
Where it can run
Residency makes the place matter. This use case runs in your cloud account in an in-country region, or in your data center. OSStend's cloud only fits if its region is in your country and your policy allows it.
| Option | When it fits | Licence and source |
|---|---|---|
| Our cloud | Only where the region is in your country and policy allows a provider-run cloud | 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 | An in-country region of AWS, Azure or Google Cloud, with keys in your key management | Same licence note; the bank holds the account |
| Your data center | Two in-country sites you already own | Same licence note; OSStend operates it as contractor |
Licence placement comes from the OSStend licensing review, 19 Nov 2026. This table is not legal advice.
How we run it
Residency is kept by routine checks, not a one-time design. The cadence below is typical and is set in the design.
Boundary design, 1 to 2 weeks
Draw every copy path: members, backups, logs, metrics, support access and the tools engineers use.
Build in region, 1 to 2 weeks
Create the replica set across three zones, set majority write concern and encrypt with keys you hold.
Prove failover, 2 to 3 days
Fail a member and a zone, confirm elections complete and the application keeps writing.
Second site, 1 to 2 weeks
Add an in-country DR site and test promotion and restore into it.
Steady state, ongoing
Monthly checks that no copy left the boundary, quarterly failover drills, and upgrades on your calendar.
Cost basis
Residency changes the bill through zones, a second site and the transfer between them. MongoDB's own pricing page names cross-region and cross-provider movement as a charge driver for Atlas, and your cloud lists similar transfer lines.
| Cost line | Residency effect | Where it shows |
|---|---|---|
| Replica members | Three, one per zone | Your cloud bill (instances and disks) |
| Second in-country site | A second cluster or members at DR site | Your cloud or data center |
| Cross-zone and cross-site transfer | Replication traffic between zones and sites | Your cloud bill, billed per GB on most clouds |
| In-country backup storage | Backups stay in region | Your storage line |
| Engineering and 24/7 cover | Access through your identity provider | OSStend, quoted per design |
Source for the Atlas transfer wording: MongoDB pricing, checked 23 Nov 2026. No rates are stated here because they differ by cloud and region; read them from your cloud's price list for the chosen region.
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
Residency breaks quietly when a default sends something out of region. These are the patterns we watch for.
- Backup copy to another region.
- A storage rule or cloud default replicating backups; we check the destination bucket region.
- Logs to a shared platform.
- Metrics or logs shipped to a tool hosted elsewhere.
- Election storms.
- Network flaps between zones causing repeated elections and write stalls.
- Majority loss.
- With one site down, a three-member set may lose its majority; we alert on member count and test it.
- Operator access outside the boundary.
- Sessions from outside approved networks or without your identity provider.
- Replication lag to the DR site.
- Lag beyond your recovery objective.
When OSStend is not the right fit
OSStend fits a regulated team that needs MongoDB to stay in one country and wants engineers to run it there. It does not fit a team that needs a legal opinion on its rules from us.
Contact us if
- ✓Policy requires all copies in one country.
- ✓You can provide an in-country second site.
- ✓You accept engineer access through your own access controls.
Not a fit if
- ✕You need a legal opinion on what residency requires.
- ✕Only one site and no DR in the country is possible.
- ✕A multi-region active-active design is required.
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.
Does majority write concern help residency?
It helps durability: a write is acknowledged only when most members hold it. Residency is about where those members are.
Can engineers outside the country support us?
Only if your policy allows it. Access can be limited to approved engineers working through your identity provider; the rules are set in the design.
Can you certify that we comply?
No. We provide placement diagrams and change records. Whether they meet a rule is for you and your regulator. See FIPS and sovereign deployments.
What about Atlas in a regional cluster?
That is an option; the Atlas to MongoDB use case covers the move when you want control of the account.
Related pages
- 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.
- Deployment · Data residencyData sovereignty cloud and residency optionsData sovereignty cloud options: OSStend runs PostgreSQL, Kafka and more in the region you pick, in your own cloud account or in your data center.
- Use caseMove a SaaS app off MongoDB AtlasA SaaS product leaving Atlas for MongoDB in its own cloud account: mongosync cutover, connection string swap, what to rebuild and Atlas tier prices.
Map your MongoDB copies with an engineer
Bring the residency rule and your current replica and backup layout. An engineer will mark the gaps 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





