Delete a pay-as-you-go ApsaraDB for ClickHouse cluster to stop billing and release all associated resources.
Deletion is permanent. All data in the cluster is deleted and cannot be restored. Back up or migrate your data before proceeding. See Data migration and synchronization and Import and export through CSV files.
Limitations
Only pay-as-you-go clusters can be deleted directly. Subscription clusters cannot be deleted — they are released in one of two ways:
Automatic release after expiration: The cluster is released when the subscription period ends. For details on billing after expiration, see Overdue payments.
Manual release before expiration: Submit an unsubscription request. See International site unsubscription instructions.International site unsubscription instructions
Before you begin
Complete the following steps before deleting a cluster:
Back up or migrate your data. Deletion is irreversible. See Data migration and synchronization or Import and export through CSV files.
Settle any overdue payments. If your account has an overdue balance, the cluster may be locked. If you delete a locked cluster, the associated Classic Load Balancer (CLB) is not released automatically — CLB charges continue to accrue until you settle the balance. After you settle the overdue payment, the CLB will be released. To avoid unexpected charges, release the CLB manually before deleting. See CLB release and mount.
Confirm the cluster status is Running. You cannot delete a cluster that is not in the Running state.
Billing
When you delete a cluster, billing stops immediately. The associated CLB is also released, and CLB billing stops within the next hour.
For a full breakdown of CLB fees, see Billing of dependent services.
Delete a pay-as-you-go cluster
Log on to the ApsaraDB for ClickHouse console.
In the upper-left corner, select the region where the cluster is deployed.
On the Clusters page, select the instance list for the cluster type.
In the Actions column of the target cluster, do one of the following based on the cluster edition:
Community-compatible edition: Click More > Delete.
Enterprise edition: Click Release.
In the dialog box, click OK. Billing stops immediately after the cluster is released.