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

Billing Examples

Billing Scenario

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

  • Specifications: 4 vCPUs | 16 GB
  • Nodes: 3
  • Public network bandwidth: 6 Mbit/s

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

Billing Analysis

The total price of this GeminiDB Mongo 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: 4 vCPUs | 16 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: 8 vCPUs | 32 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: 8 vCPUs | 32 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 Mongo instance with specifications 4 vCPUs | 16 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 Mongo instance with specifications 8 vCPUs | 32 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 Mongo 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 Mongo instance is $1,190.18 USD (50.76 + 3.56 + 1135.86).