Updated on 2024-05-13 GMT+08:00

HBase Billing Examples

Billing Scenario

A user purchased a pay-per-use HBase cluster on March 18, 2023, 15:00:00 and used the cluster for one hour. After 0.5 hour, the user added Core nodes for the cluster (from three nodes to six nodes). 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:

  • Master node specifications
    • Compute: 4U16G
    • Storage: Ultra-high I/O and 200 GB/Node
    • Nodes: 3 (The cluster is configured with HA by default, which needs Master nodes. One Master node is provided for free for cluster monitoring.)
  • Core node specifications
    • Compute: 4U16G
    • 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 node addition)

Compute unit fee: Unit price of a compute unit x Number of nodes

Hourly fee

Master nodes: 0.2992 (Unit price of a compute unit: USD/hour) x 2 (Node quantity) x 1 (Usage duration: hour) = $0.5984 USD

Core nodes: 0.2992 (Unit price of a compute unit: USD/hour) x 3 (Node quantity) x 1 (Usage duration: hour) = $0.8976 USD

Disk fee: Disk unit price x Capacity x Number of nodes

Core nodes: 0.00008 (Unit price of a disk: USD/hour) x 400 (Disk capacity: GB) x 3 (Node quantity) x 0.5 (Usage duration: hour) = $0.048 USD

Total Price: $1.544 USD

Pay-per-use billing (after node addition)

Compute unit fee: Unit price of a compute unit x Number of nodes

Hourly fee

Master nodes: 0.2992 (Unit price of a compute unit: USD/hour) x 2 (Node quantity) x 1 (Usage duration: hour) = $0.5984 USD

Core nodes: 0.2992 (Unit price of a compute unit: USD/hour) x 6 (Node quantity) x 1 (Usage duration: hour) = $1.7952 USD

Disk fee: Disk unit price x Capacity x Number of nodes

Core nodes: 0.00008 (Unit price of a disk: USD/hour) x 400 (Disk capacity: GB) x 6 (Node quantity) x 1 (Usage duration: hour) = $0.192 USD

Total price: $2.5856 USD

Yearly/Monthly billing

Compute unit fee: Unit price of a compute unit x Number of nodes

Monthly fee

Master nodes: $136.92 (Unit price of a compute unit: USD/month) x 2 (Node quantity) = $273.84 USD

Core nodes: $136.92 (Unit price of a compute unit: USD/month) x 6 (Node quantity) = $821.52 USD

Disk fee: Disk unit price x Capacity x Number of nodes

Core nodes: 0.05 (Unit price of a disk: USD/month) x 400 (Disk capacity: GB) x 6 (Node quantity) = $120 USD

Total

Total Price: $1215.36 USD

From March to April, the total fee of the HBase cluster is $1217.9456 USD (2.5856 + 1215.36).

  • HBase clusters are charged by hour. The smallest billing unit for compute unit usage is one hour, and partial hours are counted as full hours.
  • 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.