Updated on 2025-09-04 GMT+08:00

Billing Examples

Billing Scenario

A user purchased a pay-per-use GeminiDB Cassandra instance at 15:30:00 on March 18, 2023. The instance configuration is as follows:

  • Specifications: 2 vCPUs | 8 GB
  • Nodes: 3
  • EIP bandwidth: 6 Mbit/s

After a period, the user found that the current instance specifications could not meet service requirements and increased the specifications to 4 vCPUs and 16 GB at 9:00:00 on March 20, 2023. The user changed the billing mode to yearly/monthly at 10:30:00 on March 20, 2023 and paid the instance in advance for one month. So how much will the user be billed for this instance in March and April?

Billing Analysis

The total price of this GeminiDB Cassandra instance involves both pay-per-use and yearly/monthly usage:

  • 15:30:00 on March 18, 2023 to 10:30:00 on March 20, 2023: pay-per-use
    • 15:30:00 on March 18, 2023 to 9:00:00 on March 20, 2023
      • Instance specifications: 2 vCPUs and 8 GB of memory
      • Nodes: 3
      • Used storage space: 100 GB
      • Used backup space: 100 GB
      • EIP bandwidth: 6 Mbit/s
    • 9:00:00 on March 20, 2023 to 10:30:00 on March 20, 2023
      • Instance specifications: 4 vCPUs and 16 GB of memory
      • Nodes: 3
      • Storage: 200 GB
      • Backup storage: 210 GB (pay-per-use from 10:00:00 to 10:30:00 on March 20, 2023)
      • EIP bandwidth: 6 Mbit/s
  • 10:30:00 on Mar 20, 2023 to 23:59:59 on Apr 20, 2023: yearly/monthly
    • Instance specifications: 4 vCPUs and 16 GB of memory
    • Nodes: 3
    • Storage: 200 GB
    • Backup storage: 300 GB (pay-per-use from 23:59:59 on April 10, 2023 to 23:59:59 on April 20, 2023)
    • EIP bandwidth: 6 Mbit/s
    • Billing duration: one month

Unit prices in this example are used for reference only, and the calculated prices are only estimates. The actual unit price and cost may vary. For details, see the data released on the Huawei Cloud official website.

Pay-per-use

From 15:30:00 on March 18, 2023 to 09:00:00 on March 20, 2023, an instance with 2 vCPUs and 8 GB of memory was used for 41.5 hours, so the price is calculated as follows.

From 9:00:00 to 10:30:00 on March 20, 2023, an instance with 4 vCPUs and 16 GB of memory was used for 1.5 hours, so the price is calculated as follows.

Yearly/Monthly

From 10:30:00 on March 20, 2023 to 23:59:59 on April 20, 2023, the yearly/monthly instance was used for one month. The price is calculated as follows.

From March to April, the total price of this instance is USD950.91 (40.51 + 2.82 + 907.58).