MongoDB
Overview
MongoDB is an open source NoSQL document-oriented database. We provide these databases with daily backups and monitoring for both shared and dedicated plans.
Supported Versions
In order to comply with MongoDB Server Side Public License, the version currently installed by the add-on is:
Dedicated | Dev |
---|---|
v4.0.3 | v4.0.3 |
Higher Versions
If you puchased a higher version from MongoDB and you want to deploy your database on Clever Cloud, please contact us.
About Free Databases
Free plans are recommended for test and development usage only. Using these databases in production is not recommended, because performance may vary depending on the global usage of the cluster. Therefore, before switching to production, consider upgrading to a dedicated database for better performance.
Important Note About Fair Use on Free Databases
Heavy usage of free databases may impact the shared cluster they rely upon. It will degrade performance of the other databases. To that extent, we set a soft limit of 15 operations/second. Going above the limit will expose your database to disconnection, would you not answer our notices.
Database Daily Backup and Retention
By default, Clever Cloud performs a free backup every day, with a retention of seven days. Retention and frequency can be customized for Premium customers.
Each backup can be found in the add-on dashboard in the web console, along with the credentials.
Database Migration Process
The migration process is pretty much the same for each of these cases:
- migrating from a Clever Cloud shared database to a dedicated one
- migrating from an external database to a Clever Cloud one
- migrating between Clever Cloud Databases
The process consists in three steps:
- First, perform a backup and download it, either with the Clever Cloud add-on dashboard or the
mongodump
command from your workstation. - Install
mongorestore
(a tool packaged with MongoDB) - On your workstation, use the taylor-made
mongorestore
command line located in your mongodb dashboard page (open the “Backup” panel and click on the “Restore” link to find the complete command line to perform the database import). If needed, change thensFrom
andnsTo
flags, depending on what you actually want to do (importing this database in another, importing another to this one, …).
Encryption at rest
Encryption at rest is available on MongoDB. You can have more information on the dedicated page
Can I use Mongo Ops Manager on Clever Cloud?
To be able to use Mongo Ops Manager, you’ll need a valid MongoDB Enterprise Advanced subscription and to deploy a Linux version of their manager solution. If you haven’t purchased any license from MongoDB and you are using the Community version, you might be looking for a similar service for your databases.
Does Clever Cloud provide a similar service?
The features available with Mongo Ops Manager could be relevant if you managed your infrastructure and the maintenance of your MongoDB databases yourself. However, if you use Clever Cloud to access our Mongo add-ons, you are already opting for a managed service, and will therefore benefit from the following features similar to Mongo Ops Manager:
- A centralized interface to access your database settings and perform operations on them.
- A monitoring and alert system that can be configured with Grafana (an example with Slack alerts can be found here).
- A backup and restore system already configured for our add-ons (customizable upon request) with easy migration and one-click importation.
- The ability to automate tasks with our CLI.
- Enhanced security through our default access management on Clever Cloud (encryption at rest, default unauthorized super admin operations, etc.).
Note that these features are available for all our databases add-ons, in addition to MongoDB.
The managed databases provide an advantage if you want to avoid the complexity of installing and deploying databases and if you want simple-to-use management and monitoring tools.
🔑 Rights and permissions
Add-ons are managed services, meaning that users have standard access to the database. Some operations like database and user creation, as well as some settings modifications aren’t available by default. This ensures optimal performances and security for managed services as configured by Clever Cloud.
If you think your system might require more advanced administrative access, contact Clever Cloud support to explain your use case and we will work with you to find a solution.