This topic describes the billing rules and billable items of pay-as-you-go Global Accelerator instances.
The first time you use a pay-as-you-go Global Accelerator instance, go to the pay-as-you-go GA activation page and activate Global Accelerator as prompted.
Billing rules
The pay-as-you-go billing method allows you to use resources before you pay for the resources. The following table describes the billing rules for GA instances.
Instance type | Billable item | Billing cycle |
Standard Global Accelerator instance | The billable items of a standard Global Accelerator instance include an instance fee, a CU fee, and a data transfer fee. | An hourly rate is used for each billable item of a pay-as-you-go Global Accelerator. If the usage duration in a billing cycle is less than 1 hour, the usage duration is rounded up to 1 hour. A bill is generated 1 hour after the current billing cycle ends. The system determines the time when bills are issued. |
Basic Global Accelerator instance | The billable items of a basic Global Accelerator instance include an instance fee and a data transfer fee. |
You can use the GA (Pay-as-you-go) CU Calculator to estimate the instance fee and CU fee of a pay-as-you-go standard GA instance.
You can purchase GA resource plans to offset the Capacity Unit (CU) fees and instance fees of pay-as-you-go Global Accelerator instances. Resource plans are more cost-effective than the pay-as-you-go billing method. For more information, see GA resource plans.
Instance fee
Description
You are charged an instance fee based on the unit price and usage duration of the instance regardless of whether you use a standard or basic Global Accelerator instance.
Formula
Instance fee = Instance unit price (USD per hour) × Usage duration (hours)
Unit price
The prices in the following table are the product catalog prices. The actual prices are subject to your bills. For more information about how to view bills, see View billing details.
Billable item | Unit price (USD/hour) |
Global Accelerator instance | 0.02 |
CU fee
Description
CUs are the smallest unit that is used to measure the resource consumption of GA instances. CU fees are charged based on the hourly CU consumption and usage duration of performance metrics.
Formula
CU fee per hour = CU unit price (USD/hour) × Number of CUs per hour
Number of CUs consumed per hour = Max {Number of CUs based on new connections per hour, Number of CUs based on concurrent connections per hour, Number of CUs based on data transfer per hour, Number of CUs based on rule evaluations}
The number of CUs that are consumed by a GA instance per hour is the maximum value of the number of CUs required by the performance metrics. The CU fee of a single Global Accelerator instance is the sum of the CU fees of each listener. For more information about how the number of CUs per hour is calculated for each metric, see CU consumption definition.
You are charged for the number of CUs based only on data transfer on a Global Accelerator instance. You are not charged for the number of CUs based on new connections, concurrent connections, or rule evaluations.
CU unit price
The hourly CU consumption of a Global Accelerator instance is calculated based on the actual usage. The CU consumption is accurate to 0.000001 CU. For example, if you consume 0.1 CUs in an hour, the CU fee for that hour is 0.1 × USD 0.057 = USD 0.0057.
The prices in the following table are the product catalog prices. The actual prices are subject to your bills. For more information about how to view bills, see View billing details.
Billable item | Unit price (USD/hour) |
CU | 0.057 |
CU consumption
The performance metrics of a single CU vary based on the protocol of Global Accelerator listeners.
Traffic type | Metric | Description | Time unit | CU coefficient | CU calculation |
TCP traffic | Number of new connections (CPS) | The number of new TCP connections that are processed per second. | Seconds | 800 | The system collects all CPS values within a billing cycle and then divides the largest CPS value by the CU coefficient to calculate the number of CUs. The number of CUs based on data transfer is calculated by using the following formula: Number of CUs = Largest CPS value/CU coefficient |
Number of concurrent connections | The number of concurrent TCP connections per minute. | Minutes | 100,000 | The system collects all CONNS values within a billing cycle and then divides the largest CONNS value by the CU coefficient to calculate the number of CUs. The number of CUs is calculated by using the following formula: Number of LCUs = Largest CONNS value/CU coefficient | |
Data transfer | The amount of data transfer over TCP that is processed by Global Accelerator instances. Unit: GB. | Hours | 1 GB | The system divides the total amount of data transfer over TCP within a billing cycle by the CU coefficient to calculate the number of CUs. The number of CUs is calculated by using the following formula: Number of CUs = Total amount of data transfer/CU coefficient | |
User Datagram Protocol (UDP) listeners | CPS | The number of new UDP connections that are processed per second. | Seconds | 50 | The system collects all CPS values within a billing cycle and then divides the largest CPS value by the CU coefficient to calculate the number of CUs. The number of CUs based on data transfer is calculated by using the following formula: Number of CUs = Largest CPS value/CU coefficient |
CONNS | The number of concurrent UDP connections per minute. | Minutes | 3,000 | The system collects all CONNS values within a billing cycle and then divides the largest CONNS value by the CU coefficient to calculate the number of CUs. The number of CUs is calculated by using the following formula: Number of LCUs = Largest CONNS value/CU coefficient | |
Data transfer | The data transfer over UDP processed by Global Accelerator instances. Unit: GB. | Hours | 1 GB | The system divides the total amount of data transfer over UDP within a billing cycle by the CU coefficient to calculate the number of CUs. The number of CUs is calculated by using the following formula: Number of CUs = Total amount of data transfer/CU coefficient | |
HTTP and HTTPS listeners | CPS | The number of new HTTP and HTTPS connections processed per second. | Seconds | 25 | The system collects all CPS values within a billing cycle and then divides the largest CPS value by the CU coefficient to calculate the number of CUs. The number of CUs based on data transfer is calculated by using the following formula: Number of CUs = Largest CPS value/CU coefficient |
CONNS | The number of concurrent HTTP and HTTPS connections per minute. | Minutes | 3,000 | The system collects all CONNS values within a billing cycle and then divides the largest CONNS value by the CU coefficient to calculate the number of CUs. The number of CUs is calculated by using the following formula: Number of LCUs = Largest CONNS value/CU coefficient | |
Data transfer | The data transfer over HTTP and HTTPS that is processed by Global Accelerator instances. Unit: GB. | Hours | 1 GB | The system divides the total amount of data transfer over HTTP and HTTPS within a billing cycle by the CU coefficient to calculate the number of CUs. The number of CUs is calculated by using the following formula: Number of CUs = Total amount of data transfer/CU coefficient | |
Number of rule evaluations | The product of the number of specific items that are processed by a Global Accelerator instance and the queries per second (QPS). These items include forwarding rules, lines of code in AScript, and additional certificates.
| N/A | 1,000 | The system collects the number of forwarding rules and all QPS values within a billing cycle and uses the highest QPS value to calculate the number of rule evaluations. Then, the system divides the number of rule evaluations by the CU coefficient to calculate the number of CUs. The number of CUs is calculated by using the following formula: Number of CUs = Number of rule evaluations/CU coefficient |
CU billing example
A standard pay-as-you-go Global Accelerator instance is created at 08:10:00 on June 2, 2023, and a TCP listener is configured for the instance. The instance is released at 08:50:00 on June 2, 2023. The following table lists the largest CPS value, the largest CONNS value, and the total amount of data transfer that is processed by the Global Accelerator instance within a billing cycle from 08:10:00 to 08:50:00.
Specification | TCP | Number of consumed CUs |
CPS | Up to 4,000 new connections are established per second in the hour. | Number of CUs = 4000/800 = 5 |
CONNS per minute | Up to 720,000 concurrent connections are established in the hour. | Number of CUs = 720,000/100,000 = 7.2 |
Data transfer per hour | The data transfer over TCP that is processed by a GA instance in the hour is 10 GB. | Number of CUs = 10/1 = 10 |
In this example, the CU fee of the TCP listener for the hour is USD 0.057 × MAX {5, 7.2, 10} = USD 0.057 × 10 = USD 0.57
CU consumption estination
You can use the GA (Pay-as-you-go) CU Calculator to estimate the consumption of CUs.
Data transfer fee (managed by CDT)
If you use a pay-as-you-go Global Accelerator instance whose usage metering method is pay-by-data-transfer, a data transfer fee is incurred in addition to an instance fee and a CU fee. The bills for data transfer fees are generated by CDT. For more information, see Pay-by-data-transfer