Vertically Resizing an OpenSearch Cluster

Vertically resize an OpenSearch cluster to increase or decrease the memory and OCPU resources for the cluster's leader nodes, data nodes, and OpenSearch Dashboard nodes. This form of scaling lets you to adjust the performance of OpenSearch clusters.

For most vertical resizing scenarios, to improve the performance of the OpenSearch cluster, you scale up only the data nodes. To route network traffic more quickly, scale up the leader nodes. If your scenario requires a lot of chart-related work for OpenSearch Dashboard, scale up the OpenSearch Dashboard nodes.

Before you resize a cluster, review Limitations and Considerations.

You can adjust all vertical resize settings during the same vertical resize operation, except for the data node storage setting. You can adjust the data node storage setting only during a vertical resize operation in which no other settings are being changed.

Note

When you resize a cluster, the cluster's search functionality is in read-only mode until the resize operation is complete. See Cluster Patching and Resize Operations. This applies to all vertical and horizontal resize operations, except the operation to adjust the data node storage. When you adjust the storage for a data node during the resize operation, the search functionality stays in read/write mode.
    1. Open the navigation menu and click Databases. Under OpenSearch, click Clusters.

    2. Under List scope, select the compartment that contains the cluster.

    3. In the Clusters list, click the name of the cluster that you want to resize.

    4. On the cluster details page, click Resize.

    5. Select Vertical, and then adjust the data node, leader node, or OpenSearch Dashboard settings that you want adjust.

    6. Click Resize.
    7. On the work request page, click View details or Close.
  • Use the resizevertical command and required parameters to vertically resize a cluster:

    oci opensearch cluster resizevertical --opensearch-cluster-id cluster_ocid [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the Command Line Reference.

  • For information about using the API and signing requests, see REST APIs and Security Credentials. For information about SDKs, see Software Development Kits and Command Line Interface.

    Run ResizeOpensearchClusterVertically operation to vertically resize a cluster.