Updated on 2024-03-20 GMT+08:00

Yearly/Monthly to Pay-per-Use

After creating a yearly/monthly DB instance, you can change it to pay-per-use for more flexibility, and you can recoup part of what you paid for the subscription.

Suppose a user bought a yearly/monthly DB instance at 15:29:16 on April 18, 2023 and changed it to pay-per-use billing at 16:30:00 on May 18, 2023. On the Billing Center > Billing page, bills are generated as follows:

  • Yearly/Monthly expenditures for 15:29:16 on April 18 to 23:59:59 on May 18, 2023
  • Pay-per-use expenditures for 23:59:59 on May 18, 2023 to the end time of pay-per-use billing. A bill was generated every hour.

The pay-per-use billing mode will be applied only after the yearly/monthly billed duration ends and auto-renew will be not in effect.

Constraints

Resources such as the EIP that is used by a DB instance may not support the change with this DB instance. For details about their billing mode change rules and handling methods, see Table 1.

Table 1 EIP billing mode change rules

Resource

Billing Mode

Billed By

Bandwidth Type

Change to Pay-per-Use Billing with the DB Instance

Handling Measure

EIP

Yearly/Monthly

Bandwidth

Dedicated

Not supported

Change the EIP to yearly/monthly billing on the EIP console.

For details, see Changing EIP Billing Mode.

EIP

Yearly/Monthly

Traffic

Dedicated

Not supported

An EIP billed on a yearly/monthly basis cannot be directly changed to be billed by traffic on a pay-per-use basis. To change this:

  1. First, change the EIP billed on a yearly/monthly basis to be billed by bandwidth on a pay-per-use basis.
  2. Then, change the EIP billed by bandwidth on a pay-per-use basis to be billed by traffic on a pay-per-use basis.

For details, see Changing EIP Billing Mode.

Changing the Billing Mode of a DB Instance from Yearly/Monthly to Pay-per-Use

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click in the upper left corner of the page and choose Databases > Document Database Service.
  4. On the Instances page, locate the yearly/monthly DB instance and choose More > Change to Pay-per-use in the Operation column.
  5. On the displayed page, confirm the instance information and click Change to Pay-per-Use to submit the change. The billing mode will change to pay-per-use after the DB instance expires.
  6. After you submit the change, check whether a message is displayed in the Billing Mode column, indicating that the billing mode will be changed to pay-per-use after the DB instance expires.
  7. To cancel the change, choose Billing & Costs > Renewal to enter the Billing Center. On the Renewals page, locate the instance and click More > Cancel Change to Pay-per-Use.
  8. In the displayed dialog box, click Yes.