---
title: "Scale an OpenSearch cluster"
sidebar_label: "Scale cluster"
sidebar_position: 9
description: "How to change the node group configuration in an OpenSearch cluster"
---

import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
import {TabItemLabel} from '@selectel/docux/components'
import Formbricks from '@theme/MDXComponents/Formbricks'
import MoreVerticalIcon from '@selectel/docux/icons/more-vertical'

# Scale an OpenSearch cluster

In an OpenSearch Managed Database cluster, you can [add](#add-node-group) or [remove a node group](#delete-node-group).

You can also [scale a node group](#resize-node-group):

* increase the number of nodes in a group — in the [Data node group](/managed-databases/opensearch/about-node-groups.mdx#data-node-groups) you can increase the number of nodes up to ten;
* change [node group configuration](/managed-databases/opensearch/configurations.mdx#node-group-configurations) — increase vCPU, RAM, or disk size. You can select a configuration from a different configuration line, but the disk type must remain the same, and the disk size must be larger.The time required to change the configuration depends on the amount of data in the cluster.

## Add a node group \{#add-node-group}

You can add a node group with the Dashboard role and a second node group with the Data role.

1. In the [Dashboard](https://my.selectel.ru/vpc/default/dbaas/), on the top menu click **Products** and select **Managed Databases**.

2. Open the **Active** tab.

3. Open the database cluster page → **Settings** tab.

4. In the **Cluster** block, click **Add node group**.

5. Optional: change the node group name.

6. Select a node group role — learn more about roles in the [OpenSearch Node Groups](/managed-databases/opensearch/about-node-groups.mdx) guide.

7. Select a [configuration line](/managed-databases/opensearch/configurations.mdx#configuration-lines).

8. If you selected a line with custom configurations, specify the number of vCPUs, RAM size, and disk size.

9. If you selected a line with fixed configurations, select a configuration.

10. Specify the number of nodes in the group.

11. Optional: to make the group nodes accessible from the internet, assign them a public IP address:

    * if you selected an existing private subnet, toggle the **Public access** switch. The private subnet must meet the [requirements](/managed-databases/redis/public-ip.mdx#requirements);
    * if you are creating a new private subnet, [assign a public IP address](/managed-databases/redis/public-ip.mdx#assign-public-ip-in-existing-cluster) after adding the node group.

    IP addresses are automatically assigned to all nodes in the group.

12. Click **Save**.

## Scale a node group \{#resize-node-group}

Scale a node group when user activity is at its lowest.

1. In the [Dashboard](https://my.selectel.ru/vpc/default/dbaas/), on the top menu click **Products** and select **Managed Databases**.

2. Open the **Active** tab.

3. Open the database cluster page → **Settings** tab.

4. In the  node group menu, select **Change Configuration**.<MoreVerticalIcon />

5. Scale the node group. You can:

   * select a [configuration](/managed-databases/opensearch/configurations.mdx) with a disk size larger than the previous configuration;
   * increase the number of vCPUs, RAM, and disk size in a line with custom configurations;
   * select a configuration from a different configuration line, but the disk type used must match and the disk size must be larger;
   * increase the number of nodes.

6. Click **Save**.

## Delete a node group \{#delete-node-group}

You can only delete a node group with the Dashboard role.Node groups with Manager and Data roles cannot be deleted.

1. In the [Control panel](https://my.selectel.ru/vpc/default/dbaas/), in the top menu click **Products** and select **Cloud Databases**.
2. Откройте вкладку **Активные**.
3. Откройте страницу кластера базы данных → вкладка **Настройки**.
4. In the  node group menu, select **Delete**.<MoreVerticalIcon />
5. Enter the node group name to confirm.
6. Click **Delete**.

<Formbricks />
