Updated on 2023-11-21 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
  • Public network bandwidth: 6 Mbit/s

After a period of time, the user found that the current GeminiDB Cassandra instance specifications no longer met service requirements and updated the specifications to 4 vCPUs | 16 GB at 09:00:00 on March 20, 2023. Since the user wanted to use the instance long term, the user then changed the instance to yearly/monthly billing with a one-month duration at 10:30:00 on the same day. So how much will the user be billed for this GeminiDB Cassandra instance in March and April?

Billing Analysis

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

  • Pay-per-use usage: March 18, 2023, 15:30:00 to March 20, 2023, 10:30:00
    • March 18, 2023, 15:30:00 to March 20, 2023, 9:00:00
      • Instance specifications: 2 vCPUs | 8 GB
      • Nodes: 3
      • Used storage space: 100 GB
      • Used backup space: 100 GB
      • Public network bandwidth: 6 Mbit/s
    • March 20, 2023, 9:00:00 to March 20, 2023, 10:30:00
      • Instance specifications: 4 vCPUs | 16 GB
      • Nodes: 3
      • Used storage space: 200 GB
      • Used backup space: 210 GB (billed on a pay-per-use basis from March 20, 2023, 10:00:00 to March 20, 2023, 10:30:00)
      • Public network bandwidth: 6 Mbit/s
  • Yearly/Monthly: March 20, 2023, 10:30:00 to April 20, 2023, 23:59:59
    • Instance specifications: 4 vCPUs | 16 GB
    • Nodes: 3
    • Used storage space: 200 GB
    • Used backup space: 300 GB (billed on a pay-per-use basis from April 10, 2023, 23:59:59 to April 20, 2023, 23:59:59)
    • Public network bandwidth: 6 Mbit/s
    • Billed duration: one month

Unit prices in this example are used for reference only. The prices shown here are only estimates. As unit prices change from time to time, the prices shown here will differ from actual prices. For details, see the data released on the Huawei Cloud official website.

Pay-per-use

From March 18, 2023, 15:30:00 to March 20, 2023, 09:00:00, a GeminiDB Cassandra instance with specifications 2 vCPUs | 8 GB was used for 41.5 hours, so the price would be calculated as follows.

From March 20, 2023, 09:00:00 to March 20, 2023, 10:30:00, a GeminiDB Cassandra instance with specifications 4 vCPUs | 16 GB was used for 1.5 hours, so the price would be calculated as follows.

Yearly/Monthly

From March 20, 2023, 10:30:00 to April 20, 2023, 23:59:59, a GeminiDB Cassandra instance purchased using yearly/monthly billing was used for one month, so the price would be calculated as follows.

From March to April, the total price of this GeminiDB Cassandra instance is $950.91 USD (40.51 + 2.82 + 907.58).