This topic describes how to enable auto-renewal for PolarDB for MySQL clusters. After auto-renewal is enabled, you do not need to manually renew your cluster subscription.

Background information

A subscription cluster has a validity period. If the cluster is not renewed in a timely manner, service interruptions or even data loss occurs after the cluster expires. If you enable auto-renewal for your cluster, you do not need to manually renew your subscription or concern yourself with service interruptions caused by unexpected cluster expiration.

Note Pay-as-you-go clusters do not expire. Therefore, no renewal is required.

Considerations

  • After auto-renewal is enabled for a cluster, the subscription fee is deducted from your account nine days before the cluster expires. Coupon deduction is also supported. Make sure that your account balance is adequate.
  • If you manually renew the subscription of the cluster before the automatic fee deduction, the system automatically renews the subscription of the cluster next time before the cluster expires.
  • The auto-renewal feature takes effect the next day after you enable this feature. If your cluster expires the next day, manually renew the subscription of the cluster to prevent service interruptions. For more information, see Manually renew the subscription to a cluster.

Enable auto-renewal when you purchase a cluster

Note After you enable auto-renewal, the system automatically renews the subscription of the cluster based on the subscription cycle. For example, if you purchase a cluster for three months and enable auto-renewal, you are charged for a three-month subscription in each time of auto-renewal.
When you create a cluster, you can select Auto-renewal.Enable auto-renewal when you purchase a cluster

Enable auto-renewal after a cluster is purchased

Note After you enable auto-renewal, the system automatically renews the subscription based on the renewal cycle you select. For example, if you select a three-month renewal cycle, you are charged for a three-month subscription in each time of auto-renewal.
  1. Log on to the PolarDB console.
  2. In the top navigation bar, choose Expenses > Renewal Management.
    续费
  3. Click the Manual or Nonrenewal tab. Set filters to find the clusters for which you want to enable auto-renewal. You can enable auto-renewal for a single cluster or multiple clusters at a time.
    • Enable auto-renewal for a single cluster
      1. In the Actions column of the cluster, click Enable Auto Renewal.Enable auto-renewal after a cluster is purchased
      2. In the dialog box that appears, select a value for Unified Auto Renewal Cycle and click Auto Renew.开通
    • Enable auto-renewal for multiple clusters in a batch
      1. Select multiple clusters and click Enable Auto Renewal.Enable auto-renewal for multiple clusters in a batch
      2. In the dialog box that appears, select a value for Unified Auto Renewal Cycle and click Auto Renew.

Edit the auto-renewal cycle

  1. Log on to the PolarDB console.
  2. In the top navigation bar, choose Expenses > Renewal Management.
    续费
  3. Click the Auto tab. Set filters to find the cluster. In the Actions column of the cluster, click Edit Auto Renewal.Edit the auto-renewal cycle
  4. In the dialog box that appears, edit the auto-renewal cycle and click OK.
    修改

Disable auto-renewal

  1. Log on to the PolarDB console.
  2. In the top navigation bar, choose Expenses > Renewal Management.
    续费
  3. Click the Auto tab. Set filters to find the cluster. In the Actions column of the cluster, click Enable Manual Renewal.Disable auto-renewal
  4. In the message that appears, click OK.
    关闭

Related API operations

API Description
CreateDBCluster Creates a PolarDB cluster.
Note You can enable auto-renewal when you create a cluster.
ModifyAutoRenewAttribute Sets the auto-renewal status of a subscription cluster.
Note You can enable auto-renewal after a cluster is created.
DescribeAutoRenewAttribute Queries the auto-renewal status of a subscription cluster.