All Products
Search
Document Center

Global Accelerator:Billing of pay-as-you-go GA instances

Last Updated:Nov 12, 2024

This topic describes the billing rules and billable items of pay-as-you-go Global Accelerator instances.

Important

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 is less than 1 hour in a billing cycle, 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.

Note
  • 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 for a GA instance based on the unit price and usage duration of the instance. 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.

Billing formula

Instance fee = Instance unit price (USD per hour) × Usage duration (hours)

Unit price

Note

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

Instance unit price (USD per hour)

Global Accelerator instance

0.02

CU fee

Description

A CU is 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 per CU-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 of 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.

Important

You are charged only for the number of CUs based on data transfer for 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 CU in an hour, the CU fee for that hour is 0.1 × USD 0.057 = USD 0.0057.

Note

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

CU unit price (USD per CU-hour)

CU

0.057

CU consumption definition

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 is calculated by using the following formula:

Number of CUs = Largest CPS value/CU coefficient

Number of concurrent connections (CONNS)

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 CUs = Largest CONNS value/CU coefficient

Data Transfer

The 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

UDP traffic

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 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 that is 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 traffic

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 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.

  • If the number of items exceeds the quota, the number of rule evaluations is calculated by using the following formula: Number of rule evaluations = QPS × (Number of forwarding rules that exceed the quota + Number of additional certificates that exceed the quota).

  • If the number of items does not exceed the quota, the number of rule evaluations is equal to the QPS value.

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 describes the largest CPS value, the largest CONNS value, and the total amount of data transfer of the Global Accelerator instance during the billing cycle from 08:10:00 to 08:50:00.

Metric

TCP

Number of CUs that are consumed

CPS per second

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

Estimate the CU consumption

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

What to do next