All Products
Search
Document Center

PolarDB:Cluster lock feature

Last Updated:Mar 11, 2024

You can enable the cluster lock feature for your pay-as-you-go clusters to prevent potential irreversible consequences arising from accidental manual release of the clusters. This topic describes how to enable or disable the cluster lock feature.

Prerequisites

The billing method of the cluster is pay-as-you-go.

Precautions

  • The billing method of clusters with the cluster lock feature enabled cannot be changed to subscription.

  • The cluster lock feature cannot prevent the automatic release of clusters in normal cases such as the following ones:

    • A payment in your account is overdue for more than eight days.

    • The cluster does not comply with the applicable security compliance policies.

Enable the cluster lock feature

  1. Log on to the PolarDB console.

  2. In the left-side navigation pane, click Clusters.

  3. In the top navigation bar, select the region in which the cluster that you want to manage is deployed.

  4. You can use one of the following methods to enable the cluster lock feature:

    • Method 1:

      On the Clusters page, find the cluster and choose More > Add Cluster Lock in the Actions column. Add a cluster lock

    • Method 2:

      1. On the Clusters page, click the cluster.

      2. On the Overview page, click Enable next to Cluster Lock. Enable the cluster lock feature

  5. In the message that appears, click OK.

Disable the cluster lock feature

  1. Log on to the PolarDB console.

  2. In the left-side navigation pane, click Clusters.

  3. In the top navigation bar, select the region in which the cluster that you want to manage is deployed.

  4. You can use one of the following methods to disable the cluster lock feature:

    • Method 1:

      On the Clusters page, find the cluster and choose More > Release Cluster Lock in the Actions column. Release a cluster lock

    • Method 2:

      1. On the Clusters page, click the cluster.

      2. On the Overview page, click Disable next to Cluster Lock. Disable the cluster lock feature

  5. In the message that appears, click OK.

View the status of the cluster lock feature

  1. Log on to the PolarDB console.

  2. In the left-side navigation pane, click Clusters.

  3. In the top navigation bar, select the region in which the cluster that you want to manage is deployed.

  4. On the Clusters page, click the cluster.

  5. On the Overview page, view the status of Cluster Lock.

    View the status

Related API operations

Operation

Description

ModifyDBClusterDeletion

Enables or disables the cluster lock feature.