Updated on 2024-11-04 GMT+08:00

Billing Examples

Billing Scenario

A user purchased a pay-per-use CCE cluster for migrating data to the cloud. The following table lists the resources and configuration of the cluster.

Table 1 Original resources and configuration

Resource Type

Billing Start Time

Original Billing Mode

Original Configuration

Quantity

Cluster

March 18, 2023, 15:30:00

Pay-per-use

  • Region: CN-Hong Kong
  • Cluster scale: 50 worker nodes
  • HA mode

1

ECS

March 18, 2023, 15:40:00

Pay-per-use

  • Region: CN-Hong Kong
  • Specifications: c7.large.2 2 vCPUs | 4 GiB
  • System disk: General Purpose SSD | 50 GiB
  • Data disk: General Purpose SSD | 100 GiB
  • EIP bandwidth: 6 Mbit/s, billed by bandwidth

1

Load balancer

March 19, 2023, 09:20:00

Pay-per-use

  • Region: CN-Hong Kong
  • Type: Dedicated load balancer
  • AZ: single AZ
  • Specifications: network load balancing (TCP/UDP), small I (10 LCUs)
  • EIP bandwidth: 5 Mbit/s, billed by traffic

1

After a period of time, the user found that the current specifications no longer met service requirements and updated the specifications.

Figure 1 Example
  1. The user hibernated the cluster and stopped the node in the cluster at 17:30:00 on March 18, 2023.
  2. At 08:30:00 on March 19, 2023, the user woke up the cluster and started the node.
  3. When deploying services in the cluster, the user used a load balancer automatically created at 09:20:00 on March 19, 2023.
  4. At 09:40:00 on March 19, 2023, the user expanded the existing node flavor to c7.xlarge.2 (4 vCPUs, 8 GiB) due to insufficient resources.
  5. After the test, the automatically created load balancer was deleted at 10:20:00 on March 20, 2023 because it was no longer used. During the deletion, 5 GB public network traffic was generated.
  6. After the verification, the user planned to migrate services to CCE and predicted that the cluster scale would be 50 to 200 worker nodes. Therefore, the user changed the cluster scale to 200 worker nodes at 10:30:00 on March 20, 2023.
  7. The user changed the billing mode of the cluster to yearly/monthly at 11:00:00 on March 20, 2023 for a long-term use of this cluster. The validity period was one month, and the cluster expired at 23:59:59 on April 20, 2023.
  8. The billing mode of the node in the cluster also changed to yearly/monthly at 11:10:00 on March 20, 2023. The subscription duration was one month, and the node expired at 23:59:59 on April 20, 2023.

The price can be analyzed based on resource types as follows:

Billing Analysis of a Cluster

Based on the usage phase of the cluster, the billing for each phase is as follows.

Usage Period

Billing Mode

Required Duration

Configuration

Unit price

Price*

March 18, 2023, 15:30:00 to March 18, 2023, 17:30:00

Pay-per-use

2 hours

  • Region: CN-Hong Kong
  • Cluster scale: 50 worker nodes
  • HA mode

$0.54 USD/hour

2 x 0.54 = $1.08 USD

March 18, 2023, 17:30:00 to March 19, 2023, 8:30:00

Pay-per-use

0 hours (Bills will not be generated for the management of a hibernated cluster.)

  • Region: CN-Hong Kong
  • Cluster scale: 50 worker nodes
  • HA mode

$0.54 USD/hour

$0 USD

March 19, 2023, 08:30:00 to March 20, 2023, 10:30:00

Pay-per-use

26 hours

  • Region: CN-Hong Kong
  • Cluster scale: 50 worker nodes
  • HA mode

$0.54 USD/hour

26 x 0.54 = $14.04 USD

March 20, 2023, 10:30:00 to March 20, 2023, 11:00:00

Pay-per-use

0.5 hour

  • Region: CN-Hong Kong
  • Cluster scale: 200 worker nodes
  • HA mode

$1.05 USD/hour

0.5 x 1.05 = $0.52 USD

March 20, 2023, 11:00:00 to April 20, 2023, 23:59:59

Yearly/Monthly

One month

  • Region: CN-Hong Kong
  • Cluster scale: 200 worker nodes
  • HA mode

$551.46 USD/month

$551.46 USD

*In pay-per-use billing mode, the amount due is truncated to the 2nd decimal place. This amount may vary depending on the actual bill.

The total price of the cluster is 1.08 + 14.04 + 0.52 + 551.46 = $567.10 USD.

Billing Analysis of a Node

Based on the usage phase of the nodes, the billing for each phase is as follows.

Usage Period

Billing Mode

Required Duration

Configuration

Unit price

Price*

March 18, 2023, 15:40:00 to March 18, 2023, 17:30:00

Pay-per-use

1 hour and 50 minutes

  • Region: CN-Hong Kong
  • Specifications: c7.large.2 2 vCPUs | 4 GiB
  • System disk: General Purpose SSD | 50 GiB
  • Data disk: General Purpose SSD | 100 GiB
  • EIP bandwidth: 6 Mbit/s, billed by bandwidth
  • Specifications: $0.0976 USD/hour
  • EVS disk: $0.0375 USD/hour
  • EIP bandwidth: $0.084 USD/hour
  • Specifications: 1.83 x 0.0976 = $0.17 USD
  • EVS disk: 1.83 x 0.0375 = $0.06 USD
  • EIP bandwidth: 1.83 x 0.084 = $0.15 USD

Total: $0.38 USD

March 18, 2023, 17:30:00 to March 19, 2023, 08:30:00

Pay-per-use

16 hours (The node is stopped.)

  • Region: CN-Hong Kong
  • Specifications: c7.large.2 2 vCPUs | 4 GiB
  • System disk: General Purpose SSD | 50 GiB
  • Data disk: General Purpose SSD | 100 GiB
  • EIP bandwidth: 6 Mbit/s, billed by bandwidth
  • Specifications: $0 USD/hour (Bills will not be generated for the stopped nodes.)
  • EVS disk: $0.0375 USD/hour
  • EIP bandwidth: $0.084 USD/hour
  • Specifications: $0 USD
  • EVS disk: 16 x 0.0375 = $0.60 USD
  • EIP bandwidth: 16 x 0.084 = $1.34 USD

Total: $1.94 USD

March 19, 2023, 08:30:00 to March 19, 2023, 09:40:00

Pay-per-use

1 hour and 10 minutes

  • Region: CN-Hong Kong
  • Specifications: c7.large.2 2 vCPUs | 4 GiB
  • System disk: General Purpose SSD | 50 GiB
  • Data disk: General Purpose SSD | 100 GiB
  • EIP bandwidth: 6 Mbit/s, billed by bandwidth
  • Specifications: $0.0976 USD/hour
  • EVS disk: $0.0375 USD/hour
  • EIP bandwidth: $0.084 USD/hour
  • Specifications: 1.17 x 0.0976 = $0.11 USD
  • EVS disk: 1.17 x 0.0375 = $0.04 USD
  • EIP bandwidth: 1.17 x 0.084 = $0.09 USD

Total: $0.24 USD

March 19, 2023, 09:40:00 to March 20, 2023, 11:10:00

Pay-per-use

25 hours and 30 minutes

  • Region: CN-Hong Kong
  • Specifications: c7.xlarge.2 4 vCPUs | 8 GiB
  • System disk: General Purpose SSD | 50 GiB
  • Data disk: General Purpose SSD | 100 GiB
  • EIP bandwidth: 6 Mbit/s, billed by bandwidth
  • Specifications: $0.1952 USD/hour
  • EVS disk: $0.0375 USD/hour
  • EIP bandwidth: $0.084 USD/hour
  • Specifications: 25.5 x 0.1952 = $4.97 USD
  • EVS disk: 25.5 x 0.0375 = $0.95 USD
  • EIP bandwidth: 25.5 x 0.084 = $2.14 USD

Total: $8.06 USD

March 20, 2023, 11:10:00 to April 20, 2023, 23:59:59

Yearly/Monthly

One month

  • Region: CN-Hong Kong
  • Specifications: c7.xlarge.2 4 vCPUs | 8 GiB
  • System disk: General Purpose SSD | 50 GiB
  • Data disk: General Purpose SSD | 100 GiB
  • EIP bandwidth: 6 Mbit/s, billed by bandwidth
  • Specifications: $102.60 USD/month
  • EVS disk: $19.80 USD/month
  • EIP bandwidth: $40.50 USD/month

Total: $162.90 USD

*In pay-per-use billing mode, the amount due is truncated to the 2nd decimal place. This amount may vary depending on the actual bill.

The total price of the node is 0.38 + 1.94 + 0.24 + 8.06 + 162.90 = $173.52 USD.

Billing Analysis of a Load Balancer

Based on the use phase of the load balancer, the billing is as follows.

Usage Period

Billing Mode

Billing Factor

Configuration

Unit price

Price*

March 19, 2023, 09:20:00 to March 20, 2023, 10:20:00

Pay-per-use

25 hours, 5 GB public network traffic

  • Region: CN-Hong Kong
  • Type: Dedicated load balancer
  • AZ: single AZ
  • Specifications: network load balancing (TCP/UDP), small I (10 LCUs)
  • EIP bandwidth: 5 Mbit/s, billed by traffic
  • Instance price: $0.0695 USD/hour
  • Public network traffic price: $0.153 USD/GB
  • Instance price: 25 x 0.0695 = $1.73 USD
  • Public network traffic price: 5 x 0.153 = $0.76 USD

Total: $2.49 USD

*In pay-per-use billing mode, the amount due is truncated to the 2nd decimal place. This amount may vary depending on the actual bill.

The total price for the load balancer is $2.49 USD.