Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

On this page

Billing Examples

Updated on 2023-12-07 GMT+08:00

Billing Scenario

A user purchased a pay-per-use ECS at 15:30:00 on March 18, 2023. The ECS configuration is as follows:

  • Specifications: c6.large.2 2 vCPUs | 4 GiB
  • Image: CentOS 7.9 64bit
  • 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 no longer met service requirements and updated the specifications to c7.xlarge.2 (4 vCPUs, 8 GiB memory) at 09:00:00 on March 20, 2023. Since the user wanted to use the ECS long term, the user then changed the ECS to yearly/monthly billing with a one-month duration at 10:30:00 on the same day. So how much will the user be billed for this ECS in March and April?

Billing Analysis

The total price of this ECS involves both pay-per-use and yearly/monthly usage:

  • Pay-per-use usage: March 18, 2023, 15:30:00 to March 20, 2023, 10:30:00
  • Yearly/monthly usage: March 20, 2023, 10:30:00 to April 20, 2023, 23:59:59

Pay-per-use

From March 18, 2023, 15:30:00 to March 20, 2023, 09:00:00, a c6.large.2 flavor ECS was used for 41.5 hours, so the price would be calculated as follows.

Figure 1 Total price for a pay-per-use ECS 1

From March 20, 2023, 09:00:00 to March 20, 2023, 10:30:00, a c6.xlarge.2 flavor ECS was used for 1.5 hours, so the price would be calculated as follows.

Figure 2 Total price for a pay-per-use ECS 2

Yearly/Monthly

From March 20, 2023, 10:30:00 to April 20, 2023, 23:59:59, an ECS purchased using yearly/monthly billing was used for one month, so the price would be calculated as follows.

Figure 3 Total price for a yearly/monthly ECS

From March to April, the total price of this ECS is $170.9781 USD (8.6071 + 0.441 + 161.93).

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback