MongoDB Replica Set
Indicative from-price range
Indicative from-price range for self-hosting MongoDB Replica Set on 3 servers: about $72 to $337 per month (USD), as of 2026-10-19, for the reference workload (Replica set members: 3; Data-bearing copies: 3). From-price by provider, each the cheapest server in that provider's own shortlist: $72 on DigitalOcean (basic-2vcpu-4gb, 2 vCPU, 4 GB RAM, fra1); $192 on OVHcloud (rise-1, 6 vCPU, 32 GB RAM, eu-west); $199 on Hetzner (AX41, 6 vCPU, 64 GB RAM, eu-central); $413 on Amazon Web Services (i7i.large, 2 vCPU, 16 GB RAM, us-east-1); $528 on Google Cloud (c4a-standard-4-lssd, 4 vCPU, 16 GB RAM, us-central1); $1,278 on Servers.com (el-01, 16 vCPU, 192 GB RAM, eu-west); $1,524 on Microsoft Azure (L8s_v4, 8 vCPU, 64 GB RAM, eastus).
Reference workload
- Replica set members: 3
- Data-bearing copies: 3
Methodology
This range is generated automatically from public provider price lists. It has not been reviewed by a person, it is not a quote, and it may differ from the total the calculator chooses for your own workload with its AI step. Method: the calculator's offer shortlist for the reference workload (the same ranking it builds before the AI step, up to 12 offers across providers; 12 here) is priced at its monthly list price in USD. The low end is the cheapest of the per-provider from-prices below and the high end is the median server of the combined shortlist, each multiplied by 3, the smallest baseline topology (replica-set). The from-price for each provider applies the same method to that provider's own shortlist (the calculator's ranking restricted to that provider), so it is the cheapest server that ranking offers there, not a recommendation. Prices are taken from the price snapshot dated 2026-10-19; prices quoted in EUR are converted with the ECB reference rate dated 2026-10-19. Servers with fewer than 2 vCPU or less than 4 GB RAM are not priced. Only server rental list prices for the product's own servers are counted: dependencies, licences, support, traffic charges, taxes and setup fees are not included. The reference workload leaves these required inputs without a default unset, so the ranking does not account for them: Logical dataset size (GB).
Price sources
- Amazon Web Services: https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonEC2/current/us-east-1/index.json
- DigitalOcean: https://www.digitalocean.com/pricing/droplets
- Google Cloud: https://cloudbilling.googleapis.com/v1/services/6F81-5844-456A/skus
- Hetzner: https://www.hetzner.com/_resources/app/data/app/live_data_en_EUR.json
- Microsoft Azure: https://prices.azure.com/api/retail/prices
- OVHcloud: https://eu.api.ovh.com/1.0/order/catalog/public/eco?ovhSubsidiary=FR
- Servers.com: https://www.servers.com/products/scalable-bare-metal
Size MongoDB Replica Set for your own workloadMarkdown versionFor AI agents (llms.txt)
MongoDB is a document-oriented NoSQL database that stores JSON-like BSON records and scales horizontally through sharding; a replica set is its built-in mechanism for replicating data across nodes and automatically electing a new primary on failover.
Baseline topologies
| Topology | Minimum nodes | Roles |
|---|---|---|
| replica-set | 3 | data-bearing |
What drives the cost
- Replica set members
- Total members in the replica set, including primary and secondaries.
- Data-bearing copies
- Number of data-bearing copies you want for quorum-safe redundancy.
- Logical dataset size (GB)
- Current logical data volume before replication, backups, and growth headroom.
Where it runs
bare_metal, dedicated, cloud_vm
Size MongoDB Replica Set and get a cost estimate