Document DB
A MongoDB-compatible database, backed up like PostgreSQL.
At a glance
- Compatibility
- MongoDB 7.0 wire protocol
- Topology
- 1 node, or 3 nodes with automatic failover
- Backups
- Kept 0 to 35 days, point-in-time restore
- Connections
- TLS only, port 27017
What it does
- Your MongoDB drivers
- Connect with the MongoDB drivers and tools you use today.
- Point-in-time restore
- Encrypted backups with restore to a point in time into a new cluster, plus manual backups kept until you delete them.
- Users and protection
- Users with passwords stored in Secrets, deletion protection, and a final backup when a cluster is deleted.
Command line
Create a cluster and a user.
$ dcloud docdb clusters create --identifier catalog --node-type performance-4
$ dcloud docdb users create <cluster> --name app Price
As of 19 November 2026
Billed as the machines its nodes run on, plus storage and backups per GB-month (backups up to the allocated storage are free).
| Type | vCPU | Memory | Per hour | Month, at most |
|---|---|---|---|---|
standard-2 | 2 | 4 GiB | €0.0096 | €5.99 |
performance-1x1 | 1 | 1 GiB | €0.0104 | €6.49 |
dedicated-2 | 2 | 8 GiB | €0.0697 | €43.49 |
dedicated-4 | 4 | 16 GiB | €0.1386 | €86.49 |
| What | Price | Unit |
|---|---|---|
| Document DB storage † | €0.0572 | per GB-month |
| Document DB backups † | €0.0143 | per GB-month |
† Charged after notice: metered today and shown in the console with what it would cost. It appears on invoices from a date we announce in advance, never retroactively.