You are charged for using Virtual Private Cloud (VPC) NAT gateways. This topic describes
the billing method and billable items of VPC NAT gateways.
Overview
Billing of VPC NAT gateways
VPC NAT gateways support the pay-as-you-go billing method. Take note of the following items about pay-as-you-go VPC NAT gateways:
Item
Rule
Billing method
VPC NAT gateways support the pay-as-you-go billing method. You are charged based on
resource usage. Bills are generated and fees are deducted at the end of each billing
cycle.
Billing cycle and bill generation time
VPC NAT gateways are billed based on resource usage on an hourly basis. Bills are
generally generated one hour after a billing cycle ends. The time when bills are generated
is determined by the system.
Billable item and billing formula
The billable items of VPC NAT gateways consist of instances and Capacity Units (CUs).
VPC NAT gateway fee = Instance fee + CU fee
Note After you delete a VPC NAT gateway, the billing is immediately stopped. For more information
about how to delete a VPC NAT gateway, see Delete a VPC NAT gateway.
Specifications
You can upgrade a VPC NAT gateway to a higher specification to improve performance.
The following table describes the performance metrics of each specification:
You are charged instance fees for VPC NAT gateways on an hourly basis. Fees are calculated
and bills are generated on an hourly basis. If you use a VPC NAT gateway for less
than 1 hour, the usage duration is rounded up to 1 hour. Billing begins when the instance
is created and ends when the instance is released.
Instance fee = Unit price (USD/hour) × Usage duration (hour)
The following table lists the unit prices of VPC NAT gateways.
Note The prices in the following table are for reference only. The prices on the buy page shall prevail.
Region
Unit price(USD/hour)
China (Hangzhou), China (Shanghai), China (Qingdao), China (Beijing), China (Zhangjiakou),
China (Hohhot), China (Ulanqab), China (Shenzhen), China (Heyuan), China (Guangzhou),
China (Chengdu), and China (Hong Kong)
0.034
Japan (Tokyo), South Korea (Seoul), Singapore, Australia (Sydney), Malaysia (Kuala
Lumpur), Indonesia (Jakarta), Philippines (Manila), Thailand (Bangkok), India (Mumbai),
Germany (Frankfurt), UK (London), US (Silicon Valley), US (Virginia), and UAE (Dubai)
0.043
CU fees
You are charged CU fees for VPC NAT gateways on an hourly basis. Fees are calculated
and bills are generated on an hourly basis. If you use a VPC NAT gateway for less
than 1 hour, the usage duration is rounded up to 1 hour.
CU fee per hour = CU unit price (USD/CU) × Number of CUs consumed 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}
CUs are used to measure the performance of VPC NAT gateways when VPC NAT gateways
process traffic. The following table describes the metrics.
Metric
Unit
CU coefficient
How the number of CUs per hour is calculated
Connections per second (CPS)
Second
1,000
The system collects all CPS values within a billing cycle and then divides the highest
CPS value by the CU coefficient to calculate the number of CUs. The number of CUs
based on CPS is calculated by using the following formula:
Number of CUs based on CPS = Highest CPS value/CU coefficient
Concurrent connections (CONNS)
Minute
10,000
The system collects all CONNS values within a billing cycle and then divides the highest
CONNS value by the CU coefficient to calculate the number of CUs. The number of CUs
based on CONNS is calculated by using the following formula:
Number of CUs based on CONNS = Highest CONNS value/CU coefficient
Data transfer (bytes)
Hour
1 GB
The system collects the total amount of data transfer including the inbound and outbound
traffic within a billing cycle. Then, the system divides the total amount by the CU
coefficient to calculate the number of CUs.
Note The amount of outbound and inbound network traffic collected by the system is equal
to the amount of network traffic to be processed by a NAT gateway.
The number of CUs based on data transfer is calculated by using the following formula:
Number of CUs based on data transfer = Total amount of data transfer/CU coefficient
The following table describes the unit prices of CUs for VPC NAT gateways.
Note The prices in the following table are for reference only. The prices on the buy page shall prevail.
Region
Unit price of CU(USD/CU/hour)
China (Hangzhou), China (Shanghai), China (Qingdao), China (Beijing), China (Zhangjiakou),
China (Hohhot), China (Ulanqab), China (Shenzhen), China (Heyuan), China (Guangzhou),
and China (Chengdu)
0.034
Japan (Tokyo), South Korea (Seoul), Singapore, Australia (Sydney), Malaysia (Kuala
Lumpur), Indonesia (Jakarta), Philippines (Manila), Thailand (Bangkok), India (Mumbai),
Germany (Frankfurt), UK (London), US (Silicon Valley), US (Virginia), and UAE (Dubai)
0.043
Example of CU billing
You created three VPC NAT gateways in the Germany (Frankfurt) region at 08:10:00 (UTC+8)
on November 8, 2021. Then, you released them at 08:50:00 (UTC+8) on November 8, 2021.
The following table describes the highest CPS value, the highest CONNS value, and
the total amount of data transfer of the three VPC NAT gateways from 08:10:00 (UTC+8)
to 08:50:00 (UTC+8).
Table 1. Highest metric values
Metric
NAT Gateway 1
NAT Gateway 2
NAT Gateway 3
Highest CPS value (connections/second)
1100
32
0
Highest CONNS value (connections/minute)
20000
8
0
Total amount of data transfer (GB/hour)
3.5
0.0056
0
The following table describes the numbers of CUs based on new connections, concurrent
connections, and data transfer, and the CU fees of the NAT gateways.