Help Center/ Dedicated Host/ Billing/ Billing Examples
Updated on 2023-11-21 GMT+08:00

Billing Examples

Billing Scenario

A user purchased a one-month s7 DeH on March 18, 2023, 10:30:00 and created a pay-per-use ECS on March 18, 2023, 15:30:00. The ECS specifications are as follows:

  • Flavor: s7.large.2 (2 vCPUs, 4 GiB)
  • Image: CentOS 7.9
  • System disk: General Purpose SSD | 40 GiB
  • Data disk: General Purpose SSD | 100 GiB
  • Public network bandwidth: 6 Mbit/s

After a period of time, the user found that the current ECS specifications could not meet service requirements and upgraded the ECS specifications to s7.xlarge.2 (4 vCPUs, 8 GiB) on April 20, 2023, 9:00:00. Since the user wanted to use the DeH for a long term, the user then renewed the subscription for one more month. So how much will the user be billed for this DeH in March, April, and May?

Billing Analysis

The total price of this DeH involves both DeH and the resources associated with the ECS created on this DeH.

DeH

From March 18, 2023, 10:30:00 to May 18, 2023, 23:59:59, the DeH is billed for two-month subscription.

Unit price x Required duration = $1,792.30 USD/month x 2 = $3,584.60 USD

Pay-per-use resources

The resources associated with the ECS created on the DeH are billed on a pay-per-use basis during the period from March 18, 2023, 15:30:00 to May 18, 2023, 23:59:59 (the billed usage duration is 1,472.5 hours). The price would be calculated as follows:

Figure 1 Pay-per-use resource billing

The total price for this DeH in March, April, and May is: $3,584.60 USD + $164.92 USD = $3749.52 USD