Learn about the technical capabilities and limitations of the Managed Databases (also called Cloud Databases) for MongoDB offer.
Capabilities and limitations
Supported regions
To view Cloud Databases availability, please see our regions and availability webpage.
Entire database instances have to be in the same region.
MongoDB versions
The Cloud Databases offer supports the following MongoDB versions:
- MongoDB 6.0
- MongoDB 7.0
Please refer to the Cloud Databases - Lifecycle Policy for recommendations on version upgrades and end-of-life announcements of major versions. Additionally, MongoDB recommends always installing and using the latest stable version of MongoDB. See MongoDB Versioning for more information.
MongoDB Drivers
You can use any of the MongoDB-recommended drivers to access your cluster.
Plans
Two plans are available:
- Discovery
- Production
The primary difference between these two plans is that Discovery is free and Production is paid.
Nodes
- Discovery and Production plans both support clusters containing 3 nodes.
License type
- Discovery and Production plans use the MongoDB Community license.
License cost is included in the service plans. You cannot bring your own licenses.
Hardware resources
Please refer to the pricing page for details on node types and specifications.
Right now, all nodes of a given cluster should be of the same type and live in the same regions.
Features
Network
MongoDB clusters are reachable through default port 27017.
Public as well as private networking (vRack) can be used for all the offers. Private network is not available for the Discovery offer.
Ingress and Egress traffic are included in the service plans and unmetered.
The database service's IP address is subject to change periodically. Thus, it is advised not to rely on these IPs for any configuration, such as connection or egress policy. Instead, utilize the provided DNS record and implement CIDR-based egress policies for more robust and flexible network management.
Private network considerations
Here are some considerations to take into account when using a private network:
- Network ports are created in the private network of your choice. Thus, further operations on that network might be restricted - e.g. you won’t be able to delete the network if you didn’t stop the Public Cloud Databases services first.
- DHCP must be enabled in your private network to launch MongoDB clusters in the said private network.
- When connecting from an outside subnet, the OpenStack IP gateway must be enabled in the subnet used for the Database service. The customer is responsible for any other custom network setup.
- Subnet sizing should include considerations for service nodes, other co-located services within the same subnet, and an allocation of additional available IP addresses for maintenance purposes. Failure to adequately size subnets could result in operational challenges and the malfunctioning of services.
Authorized IPs
Once your service is up and running, you can specify IP addresses (or CIDR blocks) to authorize incoming traffic. Until then, your service will be unreachable.
Backups
Discovery plan clusters are not backed up.
Production plan clusters are automatically backed up daily. Backup retention is 7 days.
See the Automated Backups guide for more information.
Logs and Metrics
Logs and metrics are available via the OVHcloud Control Panel, API, and can be forwarded to Logs Data Platform.
- Logs retention: 1000 lines of logs;
- Metrics retention: 1 calendar year.
If the database instance is deleted, logs and metrics are also automatically deleted.
Users and roles
Creation of users is allowed with the proposed roles:
Role | Database |
---|---|
backup | admin |
clusterAdmin | admin |
clusterManager | admin |
clusterMonitor | admin |
dbAdmin | User configured |
dbAdminAnyDatabase | admin |
dbOwner | User configured |
enableSharding | User configured |
hostManager | User configured |
read | User configured |
readAnyDatabase | admin |
readWrite | User configured |
readWriteAnyDatabase | admin |
restore | admin |
root | admin |
userAdmin | User configured |
userAdminAnyDatabase | admin |
To properly manage your MongoDB cluster, some MongoDB users are set up in your clusters by OVHcloud:
-
admin@admin
is your initial user -
mms-automation@admin
is a technical user required for automation purposes -
backup-*@admin
is used to perform backups
Furthermore, user creation from the MongoDB Shell is not supported: You need to use the OVHcloud API or the OVHcloud Control Panel to manage your clusters' users. Any user created through the Mongo shell will be deleted by the automation mechanism.
Go further
For more information and tutorials, please see our other MongoDB and Cloud Databases support guides or explore the guides for other OVHcloud products and services.
If you need training or technical assistance to implement our solutions, contact your sales representative or click on this link to get a quote and ask our Professional Services experts for a custom analysis of your project.