Public NAT Gateway Billing
Prerequisites
Public NAT gateway resources are all pay-as-you-go resources charged by hour, with a minimum of one hour price. Please first see General Pricing Rules and General Lifecycle Rules to know about basic pricing ways of pay-as-you-go resources.
Public NAT gateway currently includes the following pricing items: instance fees and CU fees. As NAT gateway needs to bind elastic IPs to access Internet, you'll be charged for the elastic IPs that are associated with the NAT gateway. See Elastic IPv4 for more details.
Billing Items
Public NAT Gateway Instance
The billing method of the public NAT gateway is Pay-as-you-go. You pay for your resources afterward by hour.
CU
A CU (Capacity Unit) is the smallest unit used to measure resources consumed by a public NAT gateway. The number of CUs is determined by the highest value among concurrent connections per minute, new connections per second (CPS), or data transfer per hour, and further affected by the CU coefficient.
Metrics
Concurrent Connections Concurrent Connections refer to the number of connections that are active and being handled simultaneously by a public NAT gateway at a given time (per minutes).
CPS Connections Per Second (CPS) refers to the number of new connections that a public NAT gateway can handle in one second.
Data Transfer Data Transfer refers to the amount of data, measured in gigabytes (GB), processed by a public NAT gateway within one hour.
CU Coefficient
To calculate the number of CUs, divide the highest value among concurrent connections per minute, CPS, or data transfer per hour by the corresponding coefficient.
Concurrent Connections
10,000
CPS
1,000
Data Transfer
1 GB
CU Fee Formula
CU fee = CU unit price (USD/CU) × Number of CUs per hour × Duration (hours)
Number of CUs per hour = max {Number of CUs for concurrent connections, Number of CUs for CPS, Number of CUs for data transfer}
Number of CUs for concurrent connections = Highest concurrent connections value/CU coefficient
Number of CUs for CPS = Highest CPS value/CU coefficient
Number of CUs for data transfer = Total amount of data transfer/CU coefficient
CU Billing Example
You create a pay-as-you-go public NAT gateway. You release it after one hour. The following table describes the highest concurrent connections value, the highest CPS value, and the total amount of data transfer during this period.
Concurrent Connections
The highest value within the hour is 500,000.
Number of CUs = 500,000/100,000 = 5.0
CPS
The highest value within the hour is 2,000.
Number of CUs = 2,000/1000 = 2.0
Data Transfer
The data transfer within the hour is 7 GB.
Number of CUs = 7/1 = 7.0
The Number of CUs per hour = max {Number of CUs for concurrent connections, Number of CUs for CPS, Number of CUs for data transfer} = Number of CUs for data transfer = 7
Assume the CU unit price is $0.500/h, then your CU fee will be:
CU fee = CU unit price (USD/CU) × Number of CUs per hour × Duration (hours) = $0.500/CU/h × 7 CUs × 1 h = $3.500
Last updated