Updated on 2023-09-12 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 usage. 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 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. Change the EIP to be billed by bandwidth on a pay-per-use basis.
  2. Change the EIP to be billed by traffic on a pay-per-use basis.

For details, see Changing EIP Billing Mode.

Changing the Billing Mode 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 > Relational Database Service.
  4. On the Instances page, locate the target DB instance and choose More > Change to Pay-per-use in the Operation column.

    Alternatively, click the DB instance name to go to the Basic Information page. In the Billing Information area, click Change to Pay-per-use on the right of Billing Mode.

    Figure 1 Changing to pay-per-use

  5. In the displayed dialog box, click Yes.
  6. Confirm the instance billing information and click Change to Pay-per-Use.