Updated on 2025-05-12 GMT+08:00

Doris Billing Examples

Billing Scenario

A user purchased a pay-per-use Doris cluster on March 18, 2023, 15:00:00 and used the cluster 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 yearly/monthly 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 count 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

After a period of time, the user found that the current specifications cannot meet service requirements and expanded the cluster capacity on March 18, 2023, 15:30:00. The expanded specifications are as follows:
Table 1 Billing change details

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 fee: $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 fee: $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 fee: $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 charged by hour. The smallest billing unit for compute unit usage is one hour, and partial hours are counted as full hours.
  • Change the billing rules of a pay-per-use cluster:
    • Disk billing: For the initial half-hour following a disk specification change, billing will be based on the original disk configuration. Subsequently, billing will reflect the new disk specifications.
    • CU billing: Similarly, for the first half-hour after a change to the compute unit configuration, billing will be based on the original CU specifications. Thereafter, billing will be calculated according to the updated CU specifications.
  • 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.