Updated on 2023-11-21 GMT+08:00

Billing Examples

Billing Scenario

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

  • Specifications: 2 vCPUs | 12 GB
  • Nodes: 3
  • Public network bandwidth: 6 Mbit/s

After a period of time, the user found that the current GeminiDB Redis instance specifications no longer met service requirements and updated the specifications to 4 vCPUs | 24 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 Redis instance in March and April?

Billing Analysis

The total price of this GeminiDB Redis 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 | 20 GB
      • Nodes: 3
      • Used storage space: 20 GB
      • Used backup space: 20 GB
      • Public network bandwidth: 6 Mbit/s
    • March 20, 2023, 9:00:00 to March 20, 2023, 10:30:00
      • Instance specifications: 4 vCPUs | 40 GB
      • Nodes: 3
      • Used storage space: 40 GB
      • Used backup space: 50 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 | 80 GB
    • Nodes: 3
    • Used storage space: 80 GB
    • Used backup space: 100 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 Redis instance with specifications 2 vCPUs | 20 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 Redis instance with specifications 4 vCPUs | 40 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 Redis 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 Redis instance is $901.44 USD (38.18 + 2.65 + 860.61).