All Products
Search
Document Center

ApsaraDB RDS:Change the billing method from subscription to pay-as-you-go

Last Updated:Sep 11, 2023

This topic describes how to change the billing method of an ApsaraDB RDS for MariaDB instance from subscription to pay-as-you-go.

Prerequisites

  • The RDS instance uses the subscription billing method. For more information about billing methods, see Billable items, billing methods, and pricing.

  • The RDS instance is in the Running state.

  • The RDS instance does not use a phased-out instance type. For more information, see Primary ApsaraDB RDS instance types. If the RDS instance uses a phased-out instance type, you must change the instance type before you change the billing method of the RDS instance to pay-as-you-go.

Billing rules

After you change the billing method of your RDS instance to pay-as-you-go, a refund is returned based on the original payment method.

Refund = Fee actually paid - Fee for consumed resources

  • The fee actually paid is the money that you paid and does not include the amount that is covered by coupons or vouchers.

  • The fee for consumed resources is calculated based on the following formula: Fee for consumed resources = Daily fee × Consumed subscription duration × Discount for the consumed subscription duration. The daily fee is equal to the order-specific fee divided by 30.

    Note

    The consumed subscription duration is accurate to days. The part that is less than one day is counted as one day.

Impacts

The change of the billing method does not affect the running of your RDS instance.

Note

If you want to use the RDS instance for a long period of time, we recommend that you use the subscription billing method because the subscription billing method is more cost-effective than the pay-as-you-go billing method and you are offered more discounts for longer subscription durations.

Procedure

  1. Log on to the ApsaraDB RDS console.
  2. In the top navigation bar, select the region in which the RDS instance resides.
  3. Find the RDS instance and click the ID of the instance.
  4. In the Status section of the Basic Information page, click Change to Pay-As-You-Go to the right of Billing Method.

  5. Confirm the configuration of your RDS instance, read and select Terms of Service, click Pay Now, and then complete the payment.

Related operations

Operation

Description

TransformDBInstancePayType

Changes the billing method of an instance.