Help Center> GaussDB(for MySQL)> Billing> Billing Termination
Updated on 2023-09-18 GMT+08:00

Billing Termination

Yearly/Monthly DB Instances

When you purchase a yearly/monthly DB instance, you make a one-time up-front payment. By default, the billing automatically stops when the purchased subscription expires.

  • If you no longer need a DB instance, but the subscription has not yet expired, you can unsubscribe from it. Depending on what coupons were used for the purchase and on if 5-day unconditional unsubscription rules apply, Huawei Cloud may issue you a refund. For details about unsubscription rules, see Unsubscriptions.
  • If you have enabled auto-renewal but no longer wish to automatically renew the subscription, disable it before the auto-renewal date (7 days before the expiration date by default) to avoid unexpected expenditures.

Pay-per-Use DB Instances

When you buy a DB instance billed at a pay-per-use basis, you can delete the instance if it is no longer used.

Searching for DB Instances from Bills and Stopping Billing

To ensure that all DB instances are deleted, you can search the billing records by instance name, and then delete the DB instances you identify in this way.

  1. Log in to the management console.
  2. On the top menu bar, choose Billing & Costs > Bills. The Bills page is displayed.
  3. On the Bill Details tab, click the icon shown in the following figure to copy the resource name.

    Figure 1 Copying a DB instance name

  4. Click in the upper left corner of the page, choose Databases > GaussDB(for MySQL).
  5. Enter the name of the DB instance copied in 3 in the search box and click .

    Figure 2 Searching for a DB instance

  6. Locate the DB instance and click More > Delete in the Operation column. Ensure that the DB instance has been removed from the list.

    The system usually deducts fees of the last settlement period within one hour after the products are used. As a result, after a pay-per-use resource is deleted, the bill information may still exist. For example, if you delete a pay-per-use DB instance at 08:30, the expenditures for that hour from 08:00 to 09:00 are usually not billed until about 10:00.