Help Center> GaussDB> Billing> Billing Mode Changes> Pay-per-Use to Yearly/Monthly
Updated on 2023-11-10 GMT+08:00

Pay-per-Use to Yearly/Monthly

If you have a pay-per-use DB instance that you expect to use for a long time, you can change it to yearly/monthly billing to reduce costs. Doing so will create an order. After you pay for the order, yearly/monthly billing will be applied immediately.

Suppose you bought a pay-per-use DB instance at 15:29:16 on April 18, 2023 and changed it to yearly/monthly billing at 16:30:30 on the same day. After you paid for the order, yearly/monthly billing was applied immediately. On the Billing Center > Billing page, three line items were generated, one for each of the hours the instance was used on a pay-per-use basis, and one for the yearly/monthly subscription:

  • Pay-per-use expenditures for 15:29:16 to 16:00:00 on April 18, 2023
  • Pay-per-use expenditures for 16:00:00 to 16:30:30 April 18, 2023
  • A single, yearly/monthly expenditure generated at 16:30:30 on April 18, 2023

Constraints

Resources such as EIPs that are used by an 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

Billed By

Bandwidth Type

Change to Yearly/Monthly Billing with the DB Instance

Handling Measure

Bandwidth

Dedicated

Not supported

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

For details, see Changing the EIP Billing Mode.

Traffic

Dedicated

Not supported

An EIP that is billed by traffic on a pay-per-use basis cannot be directly changed to be billed on a yearly/monthly 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 on a yearly/monthly basis.

For details, see Changing the EIP Billing Mode.

Precautions

  • The billing mode of the instance must be pay-per-use.
  • Pay-per-use instances in any of the following statuses cannot be changed to yearly/monthly instances: frozen, creation failed, changing instance specifications, and scaling up.
  • Changing the billing mode from pay-per-use to yearly/monthly does not affect services.

Changing the Billing Mode of a Single DB Instance

  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 > GaussDB. The GaussDB console is displayed.
  4. On the Instances page, locate the target pay-per-use instance and choose More > Change to Yearly/Monthly in the Operation column.
  5. Select how many months you want to renew the subscription for. The minimum duration is one month.

    • If you do not need to modify your settings, click Pay to go to the payment page.
    • If you are not sure about the settings, you can click Submit & Pay Later. The system will reserve your order. You can choose Billing Center > My Orders in the upper right corner and pay or cancel the order.

  6. Select a payment method and click Confirm.
  7. View the result on the Instances page.

    In the upper right corner of the instance list, click to refresh the list. After the change completes, the instance status will change to Available and the billing mode will change to Yearly/Monthly.

Changing the Billing Mode of DB Instances in Batches

Only pay-per-use instances can be changed to yearly/monthly instances.

The status of pay-per-use DB instances must be Available or Abnormal.

  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 > GaussDB. The GaussDB console is displayed.
  4. On the Instances page, select all the target pay-per-use DB instances and click Change to Yearly/Monthly above the instance list.
  5. Select how many months you want to renew the subscription for. The minimum duration is one month.

    • If you do not need to modify your settings, click Pay to go to the payment page.
    • If you are not sure about the settings, you can click Submit & Pay Later. The system will reserve your order. You can choose Billing Center > My Orders in the upper right corner and pay or cancel the order.

  6. Select a payment method and click Confirm.
  7. View the results on the Instances page.

    In the upper right corner of the instance list, click to refresh the list. After the change completes, the instance status will change to Available and the billing mode will change to Yearly/Monthly.