All Products
Search
Document Center

PolarDB:Change the billing method of a cluster from pay-as-you-go to subscription

Last Updated:Apr 15, 2024

You can change the billing method of a PolarDB cluster from pay-as-you-go to subscription based on your business requirements.

Prerequisites

  • Your cluster is in the Running state.

  • Your cluster does not have pending orders to change the billing method from pay-as-you-go to subscription. If pending orders exist, you must pay for or cancel them on the Orders page.

  • If a cluster uses specifications that are no longer available such as dedicated specifications of 2 cores and 4 GB memory, you cannot change the billing method to subscription. In this case, you must change the cluster specifications before you change the billing method to subscription. For more information, see Manually upgrade or downgrade a PolarDB cluster.

Rules for changing the billing method

In PolarDB, compute and storage resources are decoupled. They each are billed on a pay-as-you-go or subscription basis.

  • You cannot change the storage billing method of a cluster. However, you can change the billing method of the cluster.

  • You can change a pay-as-you-go cluster to a subscription cluster that uses the pay-as-you-go billing method for its storage resources.

  • You cannot change a pay-as-you-go cluster to a subscription cluster that uses the subscription billing method for its storage resources.

See the following rules:

  • Enterprise Edition:

    • If the computing resources of a cluster are billed on a pay-as-you-go basis, the storage resources must be billed on a pay-as-you-go basis. If the computing resources of a cluster are billed on a subscription basis, the storage resources can be billed on a pay-as-you-go or subscription basis.

    • You can switch the billing method for an entire cluster, but cannot switch the billing method of the storage resources within the cluster separately.

      • For a pay-as-you-go cluster whose computing resources are billed on a pay-as-you-go basis and whose storage resources are billed on a pay-as-you-go basis, you can switch it to a subscription cluster whose computing resources are billed on a subscription basis and whose storage resources are billed on a pay-as-you-go basis.

      • For a subscription cluster whose computing resources are billed on a subscription basis and whose storage resources are billed on a subscription basis, you can switch it to a subscription cluster whose computing and storage resources are all billed on a pay-as-you-go basis.

        Note

        If you switch the pay-as-you-go billing method of this cluster back to the subscription billing method, both the computing resources and storage resources are are billed on a subscription basis.

      • For a subscription cluster whose computing resources are billed on a subscription basis and whose storage resources are billed on a pay-as-you-go basis, you can switch it to a pay-as-you-go cluster whose computing and storage resources are all billed on a pay-as-you-go basis.image.png

Note
  • If your cluster uses the pay-as-you-go billing method for the storage resources, you can purchase storage plans to reduce costs. For more information, see What are storage plans.

Impacts

The operations in this topic do not affect the running of clusters.

Procedure

  1. Log on to the PolarDB console.

  2. In the upper-left corner, select the region where the cluster to which you want to connect is deployed.

  3. Find the cluster for which you want to change the billing method and choose More > Switch to Subscription in the Actions column.

    转包月

  4. On the Switch to Subscription page, confirm the cluster information and the Purchase Plan value. Then, read and select Terms of Service and click Buy Now.

    Note
    • The new billing method takes effect after you pay for the order.

    • If the order is unpaid or the payment fails, an unfinished order appears on the Orders page. Before you pay for or cancel this order, you cannot purchase a new cluster or change the billing method to subscription.