This topic describes the billing method and billing rules of Data Transmission Service (DTS) serverless instances.
Billing method
Only the pay-as-you-go billing method is supported.
Billing rules
Billable item | Unit price | Billing rule |
DTS units (DUs) | The unit price displayed on the buy page prevails. Note Unit: CNY per DU-hour |
|
FAQ
How does DTS calculate the average number of DUs consumed by a serverless instance?
For example, during a billing cycle of 60 minutes, a serverless instance runs with 8 DUs for 20 minutes, 4 DUs for 30 minutes, and 2 DUs for 10 minutes. The average number of DUs consumed by the instance during the billing cycle is 5.
The average number of DUs is calculated by using the following formula: (8 × 20 + 4 × 30 + 2 × 10)/60 = 5.
Does the fee displayed on the buy page of a serverless instance equal the total fee of the instance?
No. The fee displayed on the buy page of a serverless instance is the fee required for running the instance with 1 DU for an hour.
Can I calculate the fees for a serverless instance before I run the instance?
No. You cannot calculate the fees for a serverless instance before you run the instance because the number of DUs consumed by the instance changes dynamically. Check your bills for the actual fees.
Am I charged for serverless instances that are paused?
Yes. A paused serverless instance consumes 1 DU of resources and incurs fees.