Doris Billing Examples
Billing Scenario
A user purchased a pay-per-use Doris cluster on March 18, 2023, 15:00:00 and planned to use it for one hour. After 0.5 hour, the user changed the specifications of the FE node from 8 vCPUs and 16 GB memory to 8 vCPUs and 32 GB memory. The user changed the cluster to a yearly/monthly one on March 18, 2023, 15:59:59 for a long-term use. The validity period was one month, and the cluster expired at 23:59:59 on April 18, 2023. This section shows how to calculate the total fee for using this cluster. Suppose the cluster specifications are as follows:
- FE node specifications
- Compute: 8U16G
- Storage: High I/O and 300 GB/Node
- Nodes: 5
- BE node specifications
- Compute: 8U16G
- Storage: High I/O and 400 GB/Node
- Nodes: 3
Billing Analysis
|
Billing Mode |
Formula |
Billing Cycle |
Price |
|---|---|---|---|
|
Pay-per-use billing (before specification change) |
Compute unit fee: Unit price of a compute unit x Number of nodes |
Hourly fee |
FE nodes: $0.4256 USD/hour (Unit price of a compute unit) × 5 (Node quantity) × 1 hour = $2.128 USD BE nodes: $0.4256 USD/hour (Unit price of a compute unit) x 3 (Node quantity) x 1 hour = $1.2768 USD |
|
Disk fee: Disk unit price x Capacity x Number of nodes |
FE nodes: $0.0001 USD/hour (Unit price) x 300 GB (Disk capacity) x 5 (Node quantity) x 0.5 hour (Usage duration) = $0.075 USD BE nodes: $0.0001 USD/hour (Unit price) x 400 GB (Disk capacity) x 3 (Node quantity) x 0.5 hour (Usage duration) = $0.06 USD |
||
|
Total Price: $3.5398 USD |
|||
|
Pay-per-use billing (after specification change) |
Compute unit fee: Unit price of a compute unit x Number of nodes |
Hourly fee |
FE nodes: $0.532 USD/hour (Unit price of a compute unit) x 5 (Node quantity) x 1 hour = $2.66 USD BE nodes: $0.4256 USD/hour (Unit price of a compute unit) x 3 (Node quantity) x 1 hour = $1.2768 USD |
|
Disk fee: Disk unit price x Capacity x Number of nodes |
FE nodes: $0.0001 USD/hour (Unit price) x 300 GB (Disk capacity) x 5 (Node quantity) x 1 hour (Usage duration) = $0.15 USD BE nodes: $0.0001 USD/hour (Unit price) x 400 GB (Disk capacity) x 3 (Node quantity) x 1 hour (Usage duration) = $0.12 USD |
||
|
Total Price: $4.2068 USD |
|||
|
Yearly/Monthly billing |
Compute unit fee: Unit price of a compute unit x Number of nodes |
Monthly fee |
FE nodes: $255.36 USD/month (Unit price of a compute unit) x 5 (Node quantity) = $1276.80 USD BE nodes: $204.24 USD/month (Unit price of a compute unit) x 3 (Node quantity) = $612.72 USD |
|
Disk fee: Disk unit price x Capacity x Number of nodes |
FE nodes: 0.04 USD/month (Unit price) x 300 (Disk capacity: GB) x 5 (Node quantity) = $60 USD BE nodes: 0.04 USD/month (Unit price) x 400 (Disk capacity: GB) x 3 (Node quantity) = $48 USD |
||
|
Total |
Total Price: $1997.52 USD |
From March to April, the total fee of the Doris cluster is 4.2068+1997.52=2001.7268 USD.
- Doris clusters are billed by hour. The smallest billing unit for compute unit usage is one hour, and partial hours are counted as full hours.
- How to bill a pay-per-use cluster whose billing mode is changed in the example above:
- Disk billing: For the initial half an hour, billing is based on the original specifications. After the change, billing of the entire period is based on the new specifications.
- CU billing: Similarly, for the initial half an hour, billing is based on the original specifications. After the change, billing of the entire period is based on the new configurations.
- Periodic settlement of pay-per-use products:
- Settlement by hour: Huawei Cloud calculates the fee based on your usage every hour and deducts the fee from your account. For example, fees incurred from 8:00 to 9:00 are usually deducted before 10:00.
- Settlement by month: Huawei Cloud calculates the fee based on your usage and deducts the fee of the month at the beginning of the next month. For example, fees incurred from 00:00:00 on April 1, 2019 to 23:59:59 on April 30, 2019 are usually deducted at about 01:00:00 on May 1, 2019.
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