Updated on 2024-03-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: EU-Dublin
  • Cluster scale: 50 worker nodes
  • HA mode

1

ECS

March 18, 2023, 15:40:00

Pay-per-use

  • Region: EU-Dublin
  • 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: EU-Dublin
  • 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: EU-Dublin
  • Cluster scale: 50 worker nodes
  • HA mode

$0.42 USD/hour

2 x 0.42 = $0.84 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: EU-Dublin
  • Cluster scale: 50 worker nodes
  • HA mode

$0.42 USD/hour

$0 USD

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

Pay-per-use

26 hours

  • Region: EU-Dublin
  • Cluster scale: 50 worker nodes
  • HA mode

$0.42 USD/hour

26 x 0.42 = $10.92 USD

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

Pay-per-use

0.5 hour

  • Region: EU-Dublin
  • Cluster scale: 200 worker nodes
  • HA mode

$0.87 USD/hour

0.5 x 0.87 = $0.43 USD

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

Yearly/Monthly

One month

  • Region: EU-Dublin
  • Cluster scale: 200 worker nodes
  • HA mode

$460.39 USD/month

$460.39 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 0.84 + 10.92 + 0.43 + 460.39 = $472.58 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: EU-Dublin
  • 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.1016 USD/hour
  • EVS disk: $0.0825 USD/hour
  • EIP bandwidth: $0.1068 USD/hour
  • Specifications: 1.83 x 0.1016 = $0.18 USD
  • EVS disk: 1.83 x 0.0825 = $0.15 USD
  • EIP bandwidth: 1.83 x 0.1068 = $0.19 USD

Total: $0.52 USD

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

Pay-per-use

16 hours (The node is stopped.)

  • Region: EU-Dublin
  • 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.0825 USD/hour
  • EIP bandwidth: $0.1068 USD/hour
  • Specifications: $0 USD
  • EVS disk: 16 x 0.0825 = $1.32 USD
  • EIP bandwidth: 16 x 0.1068 = $1.70 USD

Total: $3.02 USD

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

Pay-per-use

1 hour and 10 minutes

  • Region: EU-Dublin
  • 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.1016 USD/hour
  • EVS disk: $0.0825 USD/hour
  • EIP bandwidth: $0.1068 USD/hour
  • Specifications: 1.17 x 0.1016 = $0.11 USD
  • EVS disk: 1.17 x 0.0825 = $0.09 USD
  • EIP bandwidth: 1.17 x 0.1068 = $0.12 USD

Total: $0.32 USD

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

Pay-per-use

25 hours and 30 minutes

  • Region: EU-Dublin
  • 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.1732 USD/hour
  • EVS disk: $0.0825 USD/hour
  • EIP bandwidth: $0.1068 USD/hour
  • Specifications: 25.5 x 0.1732 = $4.41 USD
  • EVS disk: 25.5 x 0.0825 = $2.10 USD
  • EIP bandwidth: 25.5 x 0.1068 = $2.72 USD

Total: $9.23 USD

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

Yearly/Monthly

One month

  • Region: EU-Dublin
  • 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: $91.03 USD/month
  • EVS disk: $33.00 USD/month
  • EIP bandwidth: $51.30 USD/month

Total: $175.33 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.52 + 3.02 + 0.32 + 9.23 + 175.33 = $188.42 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: EU-Dublin
  • 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.695 USD/hour
  • Public network traffic price: $0.0855 USD/GB
  • Instance price: 25 x 0.0695 = $1.73 USD
  • Public network traffic price: 5 x 0.0855 = $0.42 USD

Total: $2.15 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.15 USD.