MongoDB is a source-available cross-platform document-oriented database program for high-volume storage. Classified as a NoSQL database program, MongoDB uses JSON-like documents with optional schemas.
There are two kinds of database cluster plans you can choose from: single node clusters and high availability clusters.
Single node clusters begin at $15.00 per month for a single node cluster with 1 GiB of RAM. Single node clusters are not highly available. We recommend these clusters for preliminary development and testing.
High availability clusters begin at $15.00 per month for a 2 GB RAM/1 vCPU primary node with at least two $15.00 per month standby nodes for automatic failover.
We only support three node replica sets for high availability MongoDB clusters. For more information about MongoDB’s high availability cluster architecture, see MongoDB’s official documentation.
Traffic to and from managed databases does not count against your bandwidth billing transfer allowance.
All managed databases are deployed onto Droplets. You can choose to deploy your managed database on a Droplet with a CPU that is shared with other DigitalOcean users, or deploy it on a machine with a dedicated CPU.
Learn more about shared CPU vs. dedicated CPU and the best use cases for each kind of plan in Choosing the Right Droplet Plan.
Machine Type | CPU | vCPUs | Memory |
---|---|---|---|
Basic | Shared | 1 - 8 | 1 - 16 GB RAM |
General Purpose | Dedicated | 2 - 40 | 8 - 160 GB RAM 4 GB RAM / vCPU |
Storage-Optimized | Dedicated | 2 - 32 | 16 - 256 GB RAM 8 GB RAM / vCPU 150 - 225 GB SSD / vCPU |
Review the region availability matrix to see which machine types are available for each region.
We offer the following Droplet plans for MongoDB cluster nodes:
API/CLI Slug | CPUs | Memory (GiB) | SSD (GiB) | Price (hourly) | Price (monthly) |
---|---|---|---|---|---|
s-1-1-8-dd |
1 | 1 | 15-25 | $0.01786 | $12 |
s-1-2-30-dd |
1 | 2 | 34-54 | $0.03452 | $23 |
s-2-4-80-dd |
2 | 4 | 56-116 | $0.07262 | $49 |
s-4-8-175-dd |
4 | 8 | 120-240 | $0.14286 | $96 |
s-6-16-350-dd |
6 | 16 | 248-498 | $0.28333 | $190 |
s-8-32-700-dd |
8 | 32 | 504-1,014 | $0.56429 | $379 |
s-16-64-1000-dd |
16 | 64 | 1,016-2,036 | $1.12619 | $757 |
API/CLI Slug | CPUs | Memory (GiB) | SSD (GiB) | Price (hourly) | Price (monthly) |
---|---|---|---|---|---|
g-2-8-50-dd |
2 | 8 | 40-200 | $0.15923 | $107 |
g-4-16-100-dd |
4 | 16 | 90-450 | $0.31548 | $212 |
g-8-32-200-dd |
8 | 32 | 190-950 | $0.6131 | $412 |
g-16-64-400-dd |
16 | 64 | 390-1,950 | $1.22321 | $822 |
g-32-128-800-dd |
32 | 128 | 790-3,950 | $2.47321 | $1,662 |
g-40-160-1000-dd |
40 | 160 | 990-4,950 | $3.09077 | $2,077 |
API/CLI Slug | CPUs | Memory (GiB) | SSD (GiB) | Price (hourly) | Price (monthly) |
---|---|---|---|---|---|
so-2-16-450-dd |
2 | 16 | 440-2,200 | $0.22619 | $152 |
so-4-32-900-dd |
4 | 32 | 890-4,450 | $0.4494 | $302 |
so-8-64-1760-dd |
8 | 64 | 1,750-8,750 | $0.90774 | $610 |
so-16-128-3520-dd |
16 | 128 | 3,510-17,550 | $1.8125 | $1,218 |
so-24-192-5270-dd |
24 | 192 | 5,260-21,640 | $2.72024 | $1,828 |
so-32-256-7030-dd |
32 | 256 | 7,020-23,400 | $3.61012 | $2,426 |