Set Up a MongoDB Cluster

You can add a MongoDB cluster on any of the following editions: Playground, Business, or Enterprise.

Create a Cluster

1. In the Data Center Designer, click the Databases menu.

2. In the Databases page, click + Add in the MongoDB Clusters section.

3. Provide an appropriate Display Name.

4. From the drop-down list, choose a Location where your data for the database cluster can be stored. You can select an available data center within the cluster's data directory to create your cluster.

5. Choose the Edition type as Playground. In this edition, you can create one playground instance for free and test MongoDB.

6. Select the Template to use the resources for creating your MongoDB cluster. In the Playground edition, the following standard resources are available:

  • RAM Size (GB): 2.

  • vCPU: 1.

  • Storage Size: 50 GB.

7. Select the Database Type as the Replica Set. This database type maintains replicas of data sets and offers redundancy and high availability of data.

8. Select the Instances to host a logical database manager environment to catalog your databases. By default, one instance is offered for free in this edition.

Set up MongoDB Playground template

9. In the Cluster to Datacenter Connection section, set up the following:

  1. Select a Data Center: Select a data center from the available list. Use the search option to enter a data center that you want to select.

  2. LAN in the selected Datacenter: Select a LAN for the chosen data center.

10. In the Private IP/Subnet, perform the following actions:

  1. Private IP/Subnet: Enter the private IP or subnet address in the correct format by using the available Private IPs.

  1. Click Add to save the private IP/Subnet address details.

  2. Click Add Connection to connect the cluster to the data center.

MongoDB cluster to data center connection

11. Select the appropriate MongoDB Version. The IONOS Database Manager supports 5.0 and 6.0 MongoDB versions.

12. In the Maintenance Window, set the following:

  • Maintenance time: Set the time (in UTC) for the maintenance of the MongoDB cluster. Use the pre-defined format (hh:mm:ss) or you can use the clock. The maintenance occurs in a 4-hour-long window, adjust the time accordingly.

  • Maintenance day: From the dropdown menu, choose the preferred day on which the maintenance of the cluster must take place.

13. Click Save to provision the creation of the MongoDB cluster.

MongoDB cluster maintenance window

Result: The MongoDB cluster for the defined values is created in the Playground edition.

Last updated

Was this helpful?

Revision created

Minor update from the comments