Document Databases
Document database clusters are managed MongoDB replica-set deployments on your Hetzner account, with DNS endpoints, security groups, parameter groups, and backups.
How it works
- Create a cluster and wait until Status is Ready.
- Open TCP port
27017on the attached security group for your client CIDR. - Connect with the read/write domain as user
root(auth databaseadmin). - (Optional) Add replica-set members, run switchover, or configure backups.
Engines
| Engine | Versions | Port | Admin user |
|---|---|---|---|
| MongoDB | 7.0, 8.0, 8.3 (orderables vary by zone) | 27017 | root (admin) |
Endpoints
- Read/write domain — current primary
- Read-only domain — secondaries (same host as primary when the replica set has one member)
In the console
Choose Document Databases in the navigation pane. From there you can list clusters, manage identities, parameter groups, backup policies, backup runs, and migrations.