# Update a MongoDB Cluster

You can update an existing MongoDB cluster on any of the following editions: **Playground**, **Business**, or **Enterprise**.

## Edit a Cluster

{% hint style="info" %}
**Note:** All the available MongoDB clusters that are part of your contract are listed under the **MongoDB Clusters** section on the **Databases** page.
{% endhint %}

1\. In the **DCD**, go to **Menu** > **Databases** > **MongoDB**.

2\. In the **MongoDB cluster overview** window, select the cluster that needs modification using one of these options:

* Click **Edit** in the **OPTIONS** column.

![Edit a cluster](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-2fcfa41bcd773e50f0c205447d1e5ad3f0ce1366%2Fmongodb-edit.png?alt=media)

* Alternatively, you can select a cluster from the list by clicking on its name or by selecting **Details** in the **OPTIONS** column.
  * Select **Edit** in the **Cluster details** tab.

![Alternative edit option](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-2b874ed97dfc5aa4f5fc8215d7a7239188414836%2Fmongodb-edit-alternative.png?alt=media)

3\. The **Edit** window displays the details of the cluster. You can edit the following:

{% tabs %}
{% tab title="Playground" %}

* **Properties:** Enter a new name in **Cluster Name** to edit the name of the MongoDB cluster.
* **Edition:** You can upgrade the existing cluster edition from **Playground** to either **Business** or **Enterprise**.
* **Cluster configuration:** The **Database type** is set to **Replica set**. Depending on the edition, you would see the allowed number of **Instances** to choose from. For example, if the existing cluster is updated to **Business** edition and a **MongoDB Business S** template is selected, then, you could choose to edit the number of instances to either one or three instances.
* **Network configuration:** You can add additional private IP addresses from the **IP/Subnet** drop-down list when you increase the number of **Instances** to upgrade the existing **Playground** edition to an another MongoDB edition.
* **Maintenance period (optional):** \* **Day:** From the drop-down list, modify the preferred day on which the maintenance of the cluster must take place. \* **Start Time (UTC):** Choose the appropriate time from the clock displayed.

{% hint style="info" %}
**Note:**

* Database snapshots are not available for clusters in the **Playground** edition. For more information, see [<mark style="color:blue;">Editions</mark>](https://docs.ionos.com/sections-test/guides/databases/overview#editions).<br>
* Delete an existing cluster by using the delete option.
  {% endhint %}

![Edit Playground edition](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-1aed99462f3a27810f084aeaad217fc0e82ac75c%2Fmongodb-cluster-edit-playground.png?alt=media)
{% endtab %}

{% tab title="Business" %}

* **Properties:** Enter a new name in **Cluster Name** to edit the name of the MongoDB cluster.
* **Edition:** You can upgrade the existing cluster edition from **Business** to another version of **Business** or **Enterprise**.
* **Cluster configuration:** The **Database type** is set to **Replica set**. Depending on the edition, you would see the allowed number of **Instances** to choose from. For example, if the existing cluster is updated to **Business** edition and a **MongoDB Business L** template is selected, then, you could choose to edit the instances to either one or three instances.
* **Network configuration:** You can add additional private IP addresses from the **IP/Subnet** drop-down list when you increase the number of **Instances** to upgrade the existing **Business** edition to an another MongoDB edition.
* **Maintenance period (optional):**
  * **Day:** From the drop-down list, modify the preferred day on which the maintenance of the cluster must take place.
  * **Start Time (UTC):** Choose the appropriate time from the clock displayed.

{% hint style="info" %}
**Note:**

* Database snapshots are available for clusters in the **Business** edition. In the **Backups** tab, restore the data in the cluster from the selected snapshot. For more information, see [<mark style="color:blue;">Restore a MongoDB Cluster via the DCD</mark>](https://docs.ionos.com/sections-test/guides/databases/mongodb/how-tos/restore-mongodb-cluster).<br>
* Delete an existing cluster by using the delete option. When you delete a cluster, all of its backup data is also immediately deleted.
  {% endhint %}

!\[Edit Business edition]\(../../../images/mongodb/mongodb-cluster-edit-business.png)
{% endtab %}

{% tab title="Enterprise" %}

* **Properties:** Enter a new name in **Cluster Name** to edit the name of the MongoDB cluster.
* **Edition:** You can only view the existing cluster edition set as **Enterprise**.

**Note:** At this time, it is not possible to downgrade the **Enterprise** edition to any other edition.
{% endtab %}

{% tab title="undefined" %}
\* \*\*Cluster configuration:\*\* \* The \*\*Database type\*\* can be \*\*Sharded cluster\*\* or \*\*Replica set\*\* based on the value selected during the cluster creation. \* Update the \*\*Amount of shards\*\* as required. \* Select from three, five, or seven \*\*Instances\*\* from the drop-down list to host a logical database manager environment to catalog your databases.
{% endtab %}

{% tab title="undefined" %}
{% hint style="info" %}
**Note:** At this time, downscaling of instances is not supported.
{% endhint %}
{% endtab %}

{% tab title="undefined" %}

* Select a value from the drop-down list to update the offsite **Backup Location** to allow backup data to be stored in a location other than the deployed database cluster. Available backup locations: `Germany/Frankfurt am Main (de)`, `Spaine/Logroño (eu-south-2)`, `Germany/Berlin (eu-central-2)`, and `Germany/Berlin (eu-central-3)`.
* Toggle on or off the **Enable BI Connector**. It is advised to enable the MongoDB Connector for Business Intelligence (BI) to query a MongoDB database by using SQL commands to aid in the data analysis.
* **Resources:**
  {% endtab %}

{% tab title="undefined" %}
{% hint style="info" %}
**Note:** To scale resources in the **Enterprise** edition, please contact [<mark style="color:blue;">IONOS Cloud Support</mark>](https://docs.ionos.com/cloud/support/general-information/contact-information) for assistance with this feature.
{% endhint %}
{% endtab %}

{% tab title="undefined" %}

* **Network configuration:** You can add additional private IP addresses from the **IP/Subnet** drop-down list when you increase the number of **Instances**.
* **Maintenance period (optional):**
  * **Day:** From the drop-down list, modify the preferred day on which the maintenance of the cluster must take place.
  * **Start Time (UTC):** Choose the appropriate time from the clock displayed.
    {% endtab %}

{% tab title="undefined" %}
{% hint style="info" %}
**Note:**

* Database snapshots are available for clusters in the **Enterprise** edition. In the **Backups** tab, restore the data in the cluster from the selected snapshot. For more information, see [<mark style="color:blue;">Restore a MongoDB Cluster via the DCD</mark>](https://docs.ionos.com/sections-test/guides/databases/mongodb/how-tos/restore-mongodb-cluster).<br>
* Delete an existing cluster by using the delete option. When you delete a cluster, all of its backup data is also immediately deleted.
  {% endhint %}
  {% endtab %}

{% tab title="undefined" %}
!\[Edit Enterprise edition]\(../../../images/mongodb/mongodb-cluster-edit-enterprise.png)
{% endtab %}
{% endtabs %}

{% hint style="info" %}
**Note:** The **Estimated price** will be displayed based on the input. The estimated cost is exclusive, where certain variables like traffic and backup are not considered.
{% endhint %}

4\. Click **Save** to provision your changes.

{% hint style="success" %}
**Result:** The existing MongoDB cluster is updated with the newly defined values.
{% endhint %}
