# View MongoDB Clusters

After successfully configuring your MongoDB clusters, you can modify specific details, restore backups, or delete a specific cluster if it is no longer required.

To modify the values, follow these steps:

* In the **DCD**, go to **Menu** > **Databases** > **MongoDB**. A list of all MongoDB clusters is displayed.

{% hint style="success" %}
**Result:** You can view the total number of resources allocated and the list of all clusters in addition to the following details:

* **NAME:** Displays the name of the cluster. Select the name of the cluster to view its [<mark style="color:blue;">details</mark>](#view-individual-cluster-details).
* **STATE:** Displays the state of the respective cluster:
  * **BUSY:** When the cluster is being created or updated. For example, after creation, modifying its details or after restoration.
  * **AVAILABLE:** When the cluster is available and healthy.
  * **DESTROYING:** When the cluster is being deleted.
  * **FAILED:** An error occurred.
* **LOCATION:** Displays the location where the cluster is located.
* **INSTANCES:** Displays the number of instances.
* **VERSION:** The version selected during cluster creation.
* **EDITION:** The edition selected during cluster creation.
* **OPTIONS:** Select ![](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-0820a9f96e75bb8fa664037bb8f38d7d825394d7%2Fthree-dots.png?alt=media) to perform the following:
  * **Details:** Select to view the [<mark style="color:blue;">details</mark>](#view-individual-cluster-details) of the respective cluster.
  * **Edit:** Select to [<mark style="color:blue;">edit</mark>](https://docs.ionos.com/sections-test/guides/databases/mongodb/how-tos/update-mongodb-cluster) the respective cluster.
  * **Delete:** Select to delete the corresponding cluster. In the dialog box that appears, select **Delete** to confirm deletion. For more information, see [<mark style="color:blue;">Delete a MongoDB Cluster</mark>](https://docs.ionos.com/sections-test/guides/databases/mongodb/how-tos/delete-cluster).<br>
    {% endhint %}

!\[List of MongoDB clusters]\(../../../images/mongodb/mongodb-cluster-list.png)

## View individual Cluster details

You can view the details of a specific cluster. To do so, follow these steps:

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

A list of all MongoDB clusters is displayed.

2\. Select a cluster from the list by clicking on its name. Alternatively, click **Details** in the **OPTIONS** column.

![Cluster selection to view its details](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-3fcc45c590678c3cfc14c5a22215ca0c09b22ad4%2Fmongodb-edit-alt.png?alt=media)

{% hint style="success" %}
**Result:** You can copy the cluster's **Cluster UUID** and **Connection URI** from the **Cluster details** tab. Additionally, you can also do the following:

* [<mark style="color:blue;">Edit a MongoDB Cluster</mark>](https://docs.ionos.com/sections-test/guides/databases/mongodb/how-tos/update-mongodb-cluster)
* [<mark style="color:blue;">Delete a MongoDB cluster</mark>](https://docs.ionos.com/sections-test/guides/databases/mongodb/how-tos/delete-cluster)
* [<mark style="color:blue;">Restore a MongoDB Cluster through the DCD</mark>](https://docs.ionos.com/sections-test/guides/databases/mongodb/how-tos/restore-mongodb-cluster)
* [<mark style="color:blue;">Define roles</mark>](#user-management)
  {% endhint %}

![View the details of a MongoDB cluster](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-6b57c6c44b3c72fc2d299130ae0791d37c74d08c%2Fmongodb-cluster-details.png?alt=media)

## User Management

To assign users and define roles, follow these steps:

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

A list of all MongoDB clusters is displayed.

2\. Select a cluster from the list for which you want to assign users and define roles.

3\. From the **MongoDB cluster overview**, go to **User management** tab.

4\. Click **Add user** to create and manage user roles for the MongoDB cluster.

![User management](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-98dc3e5fe3f4816649a1932dde4c8b096afd74ee%2Fmongodb-add-user.png?alt=media)

5\. Enter the **User** name, **Password**, select the **Role** from the drop-down list that shows all MongoDB's built-in roles, and enter the **Database** name. You can add one or more roles. For more information, refer to the [<mark style="color:blue;">MongoDB Documentation</mark>](https://www.mongodb.com/docs/manual/reference/built-in-roles/).

![Define roles](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-e1850a3ec59961bd545a5eb879ac05e6986893d3%2Fmongodb-add-user-roles.png?alt=media)

6\. Click **Add**.

{% hint style="success" %}
**Result:** The user is successfully created and displayed in the **Manage users** overview page.
{% endhint %}

![Successful user creation](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-aacc40d88aba016de832f6b831640bc2912a2f30%2Fmongodb-user-management-success.png?alt=media)

You can edit the user's password, role, and database details or delete the user from the **Manage users** page.
