Set Up a MongoDB Cluster
You can add a MongoDB cluster on any of the following editions: Playground, Business, or Enterprise.
Create a Cluster
To create a MongoDB cluster, follow these steps:
1. In the DCD, go to Menu > Databases > MongoDB.

2. In the MongoDB cluster overview window, click Create cluster to create a new MongoDB cluster.
3. Specify the following in the Properties section:
Provide an appropriate Cluster Name.
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.
Select the appropriate MongoDB Version. The IONOS Database Manager supports MongoDB versions 6.0 and 7.0.

4. Choose an Edition.
In the Playground edition, the following standard resources are available:
RAM Size (GB): 2.
vCPU: 1.
Storage Size: 50 GB.

In the Business edition, select a relevant Template to based on the resources required for creating your MongoDB cluster. The resources vary for each of the predefined templates based on the RAM Size (GB), vCPU, and Storage Size. Select a template from the drop-down list that suits your needs.

In the Enterprise edition, choose the following resources for creating each node of your MongoDB cluster. The total billed resources will be these values multiplied by the number of instances and the number of shards (if applicable).

5. Configure your cluster in the Cluster configuration section.
Database type: It is set to Replica Set, by default. This database type maintains replicas of data sets and offers redundancy and high data availability.
Instances: By default, one instance is offered for free in this edition to host a logical database manager environment to catalog your databases.

Database type: It is set to Replica Set, by default. This database type maintains replicas of data sets and offers redundancy and high data availability.
Note: The Sharded Cluster database type is not available for selection in the Business edition.
Instances: Select a value from the drop-down list to host a logical database manager environment to catalog your databases. By default, one instance and three instances are possible in the Business edition.

Database type: Select the Database type from the following:
Replica Set: Maintains replicas of datasets; offers redundancy and high availability of data.
Sharded Cluster: Maintains collection of datasets that are distributed across many shards (servers) and hence offers horizontal scalability.
Amount of shards: Define the Amount of shards between two to a maximum of thirty-two shards. This is applicable to Sharded Cluster only.
Instances: Select the number of instances to host a logical database manager environment to catalog your databases. By default, three instances are possible in the Enterprise edition.
Backup Location: Select a backup location that is explicitly the location of your backup (region). You can have off-site backups by using a region that is not included in your database region.
BI Connector enabled: Toggle to enable the MongoDB Connector for Business Intelligence (BI) to query a MongoDB database by using SQL commands to aid in the data analysis. If you do not want to use BI Connector, you can toggle off this setting.

6. Upon selecting Enterprise edition, you can choose from the following in the Resources section.
Number of CPUs (per instance): You can choose between 1 and 31 CPU cores using the slider or choose from the available shortcut values.
RAM Size (per instance): Values of up to 230 GB RAM sizes are possible. Select the RAM size using the slider or choose from the available shortcut values.
Storage Type: The SSD Premium, SSD Standard, or HDD storage options are available.
Storage Size: Set the storage size value to at least 100 GB in case of SSD Standard and Premium storage types for optimal performance of the database cluster. You can configure the storage size to a maximum of 4 TB.

7. In the Network configuration section, set up the following:
Datacenter: Select a data center from the drop-down list.
Datacenter LAN: Select a LAN for the chosen data center. The drop-down list shows all the available private LANs.
IP/Subnet: Enter the private IP or subnet address in the correct format by using the available Private IPs. For Business and Enterprise editions, specify one private IP/Subnet address detail for every instance based on the chosen number of Instances.

8. In the Maintenance period (optional) section, set the following:
Day: From the drop-down list, choose the preferred day on which the maintenance of the cluster must take place.
Start Time (UTC): 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.

9. Click Save to provision the creation of the MongoDB cluster.
Result: The MongoDB cluster with the chosen edition is created.

Last updated
Was this helpful?