Help Center> GaussDB(for MySQL)> Billing> Billing Mode Changes> Pay-per-Use to Yearly/Monthly
Updated on 2024-01-18 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.

  • 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 on April 18, 2023
  • A single, yearly/monthly expenditure generated on April 18, 2023, 16:30:30

Constraints

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

Change

Change Description

From pay-per-use (billed by bandwidth) to yearly/monthly

Directly change it on the console.

For details, see From Pay-per-Use (Billed by Bandwidth) to Yearly/Monthly.

From pay-per-use EIP (billed by traffic) to yearly/monthly

Perform two steps to change it on the console:
  1. Change the EIP from billed by traffic to billed by bandwidth
  2. Change the EIP to yearly/monthly billing

From billing by traffic (pay-per-use) to billing by bandwidth (pay-per-use)

Directly change it on the console.

For details, see Pay-per-Use EIPs: From Billing By Traffic to By Bandwidth

From billing by bandwidth (pay-per-use) to billing by traffic (pay-per-use)

Directly change it on the console.

For details, see Pay-per-Use EIPs: From Billing By Traffic to By Bandwidth

After the change is successful, the new billing mode is applied immediately.

Restrictions

  • The billing of the primary node and read replicas for a pay-per-use instance cannot be changed separately to yearly/monthly.
  • Pay-per-use DB instances in any of the following statuses cannot be changed to yearly/monthly DB instances: frozen, creation failed, changing instance specifications, scaling up, and creating read replicas.

Changing the Billing Mode of a 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, choose Databases > GaussDB(for MySQL).
  4. On the Instances page, locate the pay-per-use instance that you want to change to the yearly/monthly instance and choose More > Change to Yearly/Monthly in the Operation column. On the displayed page, select your desired storage space and click Next.

    Alternatively, click the instance name to go to the Basic Information page. In the Billing Information area, click Change next to the Billing Mode field. On the displayed page, select your desired storage space and click Next.

    Figure 1 Changing the billing mode from pay-per-use to yearly/monthly

    By default, the new storage space is rounded up to the nearest multiple of ten. For example, if the used storage space of your pay-per-use instance is 91 GB, the minimum storage space you can select when you change the billing mode to yearly/monthly is 100 GB.

  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, the system will reserve your order. You can choose Billing Center > Unpaid Orders in the upper right corner and pay or cancel the order. In addition, the instance status is Changing to Yearly/Monthly. Payment incomplete. Pay Now.

  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.

Changing the Billing Mode of Multiple Instance in Batches

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

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

  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, choose Databases > GaussDB(for MySQL).
  4. On the Instances page, select the desired instances and click Change to Yearly/Monthly above the instance list.

    Figure 2 Changing pay-per-use instances to yearly/monthly in batches (1)

  5. In the displayed dialog box, select storage space for the instances and click Yes.

    Figure 3 Changing pay-per-use instances to yearly/monthly in batches (2)

  6. 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, the system will reserve your order. You can choose Billing Center > Unpaid Orders in the upper right corner and pay or cancel the order. In addition, the instance status is Changing to Yearly/Monthly. Payment incomplete. Pay Now.

  7. Select a payment method and click Pay.
  8. View the results on the Instances page.

    In the upper right corner of the instance list, click to refresh the list. The instance status will become Available after the change is successful. The billing mode will change to Yearly/Monthly.