You can manually release pay-as-you-go clusters based on your business requirements. This topic describes how to manually release a PolarDB for MySQL cluster.
Precautions
You cannot manually release subscription clusters.
NoteFor information about how to manage a subscription or pay-as-you-go cluster after the cluster expires or after the payment for the cluster becomes overdue, see Cluster expiration and overdue payments.
You can manually release a cluster only when the cluster Instance Running Usage is in the Running state.
NoteTo release a serverless cluster whose Instance Running Usage value is Stopped, you must first start the cluster and change the Instance Running Usage value of the cluster to Running. For information about how to manually start a serverless cluster, see Manually start a cluster.
This feature is designed to release the entire cluster, including all nodes in the cluster. For information about how to release a single read-only node, see Add or remove read-only nodes.
Procedure
Log on to the PolarDB console.
In the left-side navigation pane, click Clusters.
In the upper-left corner, select the region where the cluster is deployed.
On the Clusters page, find the cluster that you want to release and choose in the Actions column.
In the Release Cluster dialog box, select a backup retention policy and click OK.
Retain Backups value
Description
When the cluster is deleted, the cluster data is automatically backed up, and all backup sets of the cluster are retained for a long period of time.
Retains all backups for a cluster after you delete the cluster.
When the cluster is deleted, the cluster data is automatically backed up, and the backup set is retained for a long period of time.
Retains the last backup for a cluster when you delete the cluster.
All backups are deleted immediately.
Deletes all backups for a cluster after you delete the cluster.
WarningIf you select this policy, the deleted clusters cannot be restored.
NoteIf you select the When the cluster is deleted, the cluster data is automatically backed up, and all backup sets of the cluster are retained for a long period of time, or When the cluster is deleted, the cluster data is automatically backed up, and the backup set is retained for a long period of time policy, the system automatically backs up all data of the PolarDB cluster before the cluster is deleted.
After you delete a cluster, level-1 backups automatically become level-2 backups. You can go to the Cluster Recycle Bin page to view all backups. For more information, see Restore a released cluster.
Related API operations
Operation | Description |
Queries a list of PolarDB clusters. | |
Deletes a PolarDB cluster. |