Billing Examples
Billing Scenario
A user purchased a pay-per-use replica set DB instance at 15:30:00 on March 18, 2023. The DB instance configuration is as follows:
- Specifications: 2 vCPUs | 4 GB
- Number of nodes: 3
- Storage space: 20 GB
- EIP bandwidth: 6 Mbit/s
After a period of time, the user found that the current instance class no longer met service requirements and scaled up the storage to 40 GB at 8:00:00 on March 19, 2023, then updated the instance specifications to 4 vCPUs | 8 GB at 9:00:00 on March 20, 2023. Since the user wanted to use the DB 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 DB instance in March and April?
Billing Analysis
The total price of this DB 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
- From March 18, 2023, 15:30:00 to March 19, 2023, 8:00:00
- DB Instance specifications: 2 vCPUs | 4 GB
- Number of nodes: 3
- Storage space: 20 GB (with 20 GB backup space for free)
- Used backup space: 20 GB (free)
- EIP bandwidth: 6 Mbit/s
- From March 19, 2023, 8:00:00 to March 20, 2023, 9:00:00
- DB Instance specifications: 2 vCPUs | 4 GB
- Number of nodes: 3
- Storage space: 40 GB (with 40 GB backup space for free)
- Used backup space: another 20 GB (free)
- EIP bandwidth: 6 Mbit/s
- From March 20, 2023, 9:00:00 to March 20, 2023, 10:30:00
- DB instance specifications: 4 vCPUs | 8 GB
- Number of nodes: 3
- Storage space: 40 GB (with 40 GB backup space for free)
- Used backup space: another 30 GB (30 GB was billed on a pay-per-use basis from March 20, 2023, 10:00:00 to March 20, 2023, 10:30:00)
- EIP bandwidth: 6 Mbit/s
- From March 18, 2023, 15:30:00 to March 19, 2023, 8:00:00
- Yearly/Monthly usage: March 20, 2023, 10:30:00 to April 20, 2023, 23:59:59
- DB instance specifications: 4 vCPUs | 8 GB
- Number of nodes: 3
- Storage space: 40 GB (with 40 GB backup space for free)
- Used backup space: No new backup space is used. (30 GB was billed on a pay-per-use basis from March 20, 2023, 10:30:00 to April 20, 2023, 23:59:59)
- EIP 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. The actual price and cost may vary. For details, see the data released on the Huawei Cloud official website.
Pay-per-use
From March 18, 2023, 15:30:00 to March 19, 2023, 8:00:00, a DB instance with 2 vCPUs, 4 GB of memory, and 20 GB of storage was used for 16.5 hours, so the price would be calculated as follows:
From March 19, 2023, 8:00:00 to March 20, 2023, 9:00:00, a DB instance with 2 vCPUs, 4 GB of memory, and 40 GB of storage was used for 25 hours, so the price would be calculated as follows:
From March 20, 2023, 9:00:00 to March 20, 2023, 10:30:00, a DB instance with 4 vCPUs, 8 GB of memory, and 40 GB of storage 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 DB 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 DB instance is $263.28 USD (4.17 + 6.75 + 0.8 + 251.56).
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot