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:

DedicatedDev
v4.0.3v4.0.3
⚠️
Important: Dev plans are free and intended solely for testing purposes. They don’t provide the same guarantees or SLAs as dedicated plans.

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:

  1. First, perform a backup and download it, either with the Clever Cloud add-on dashboard or the mongodump command from your workstation.
  2. Install mongorestore (a tool packaged with MongoDB)
  3. 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 the nsFrom and nsTo 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 (role owner). Some operations like databases and users 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.

Authorized actions:

  • Manage collections (create, delete…).
  • Manage indexes.
  • Manage documents.

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.

Here is the list of actions that you won’t be able to perform:

  • Database administration (for example you won’t be able to create new databases).
  • Users administration (you won’t be able to create other users than the one handled with our control plane, ie the base owner and read-only users).
  • Server configuration update.
  • Cluster creation.
  • Backup frequency or retention control.

Ask Clever Cloud support if you want to perform one of these actions.

Last updated on