Last update:2024-08-28 16:23:59
The ECH billing of the edge cloud host includes three parts: computing&storage, bandwidth, and public IP. The default billing cycle is a natural month, which is paid after the amount.
The cost of computing power is composed of virtual cores (vCPU), memory, and storage. The specific Algorithm rules are as follows:
Billing cycle : Generally, the billing is based on the natural month. If you have special requirements, please contact the business manager. The actual billing cycle is subject to the contract.
Payment method : Pay-as-you-go.
Billing Algorithm : The billing Algorithm for vCPU/memory/storage are similar. If the contract specifies a gift quota, please deduct the gift heat before calculating.
Taking vCPU as an example:
Monthly cost of vCPU = [sum (number of vCPU cores per instance * conversion factor)] × monthly unit price per vCPU core. Conversion factor = number of days the instance is used in the billing cycle ÷ total number of days in the billing cycle. The number of days the instance is used in the billing cycle is an integer, and as long as the instance exists on a certain day, regardless of whether it is used for a full day, it will be calculated as a whole day.
【Example】
On May 1, 2021 at 12:00, 1 instance with 4 cores, 8GB memory, and 40G SSD storage, and 1 instance with 2 cores, 4GB memory, and 40G SSD storage were created. On May 20, 2021 at 20:00, the instance with 4 cores and 8GB memory was deleted.
vCPU monthly cost = [4 cores * (20/31) + 2 cores * (31/31)] × monthly unit price per core.
Memory monthly cost = [8G*(20/31)+4G*(31/31)]× monthly unit price per GB.
SSD storage monthly cost = [40G*(20/31)+40G*(31/31)]× monthly unit price per GB.
Billing by specification means providing unit prices for instances of different specifications, and calculating the cost based on the actual number of instances used during the billing period. If any of the vCPU, memory, or storage of an instance is different, it is considered a different specification instance.
Billing cycle : Generally, the billing is based on the natural month. If you have special requirements, please contact the business manager. The actual billing cycle is subject to the contract.
Payment method : Pay-as-you-go.
Billing Algorithm : Monthly billing value = sum (conversion factor for each instance × monthly unit price of instances of corresponding specifications). Conversion factor = number of days the instance is used in this cycle ÷ total number of days in this cycle. The number of days the instance is used in the billing cycle is an integer, and as long as the instance exists on a certain day, regardless of whether it is used for a full day, it will be calculated as a whole day.
【Example】
On May 1, 2021 at 12:00, one instance with a specification of 4 cores, 8GB RAM, and 40GB SSD was created, as well as one instance with a specification of 2 cores, 4GB RAM, and 40GB SSD. On May 20, 2021 at 20:00, the instance with a specification of 4 cores, 8GB RAM, and 40GB SSD was deleted.
Then the computing power cost in May={1×(20÷31)×monthly unit price for the instance with a specification of 4 cores, 8GB RAM, and 40GB SSD}+{1×(31÷31)×monthly unit price for the instance with a specification of 2 cores, 4GB RAM, and 40GB SSD}
Support monthly peak average billing, if you need other billing methods, please contact the business manager.
Billing cycle : Generally, the billing is based on the natural month. If you have special requirements, please contact the business manager. The actual billing cycle is subject to the contract.
Payment method : Pay-as-you-go.
Billing Algorithm : The bandwidth collection granularity is 5 minutes. Within the same billing area, the maximum value of bandwidth per day in the billing period is taken, and then the average value of these peaks is calculated as the billing bandwidth. For nodes in the same billing area, bandwidth billing is consolidated. If there are multiple billing areas, the monthly peak value of each billing area is calculated first, and then the total bandwidth billing value is obtained by summing them up.
Public IP includes two parts: the public IP generated with the instance creation and the additional public IP that is requested and mounted separately.
Billing cycle : Generally, the billing is based on the natural month. If you have special requirements, please contact the business manager. The actual billing cycle is subject to the contract.
Payment method : Pay-as-you-go.
Billing Algorithm :
Public network IP monthly cost = [sum (number of each public network IP * conversion factor)] × monthly unit price of public IP.Conversion factor = public network IP usage days in this cycle ÷ total days in this cycle. The number of days the public IP is used in the billing cycle is an integer, and as long as the public IP exists on a certain day, regardless of whether it is used for a full day, it will be calculated as a whole day.
[Example]
For example, if one public IP x.x.x.x starts to be used on May 15, 2021 and is deleted on May 20, 2021, it has been used for 6 days. Billing value = [1×(6÷31)]×the monthly unit price of the public IP.