Cloud NAT pricing for Public NAT and Private NAT is based on the following usage.
For Public NAT, the total cost for running a NAT gateway and running traffic through it includes the hourly cost for the NAT gateway plus all the following additional costs:
Public NAT pricing is based on the following usage:
| Number of assigned VM instances |
Price per hour for NAT gateway |
Price per GiB processed, inbound and outbound data transfer |
Price per hour for a static or an ephemeral external IP address used by a NAT gateway |
|---|---|---|---|
| Up to 32 VM instances |
$0.0014 * the number of VM instances that are using the gateway |
$0.045 | $0.005 |
| More than 32 VM instances |
$0.044 |
$0.045 | $0.005 |
Note: To view your current NAT IP address usage, use the gcloud compute routers get-nat-ip-info command .
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
For Private NAT, the total cost for running a NAT gateway and running traffic through it includes the hourly cost for the NAT gateway plus all the following additional costs:
Private NAT pricing is based on the following usage:
| Price per hour for NAT gateway |
Price per GiB processed, inbound and outbound data transfer |
|---|---|
| $0.045 | $0.045 |
The following table shows the estimated monthly cost for a single NAT gateway that uses NAT IP addresses to serve a different number of VM instances. For both Public NAT and Private NAT, the gateway runs for 720 hours in a billing cycle.
| Variant |
Usage |
Estimated bill |
|---|---|---|
| Private NAT |
4 VM instances Gateway uses 1 RFC 1918 subnet Gateway processes 200 GiB of traffic (data transfer) |
($0.045 * 720 hours) + 0 (private IP addresses are free) + (200 GiB processed traffic * $0.045) = $41.4 |
| Public NAT |
14 VM instances Gateway uses one external IP address Gateway processes 100 GiB of traffic (data transfer) |
($0.0014 * 14 instances * 720 hours) + ($0.005 * 1 external IP addresses * 720 hours) + (100 GiB processed traffic * $0.045) = $22.21 |
| Public NAT |
36 VM instances Gateway uses two external IP addresses Gateway processes 200 GiB of traffic (data transfer) |
($0.044 * 720 hours) + ($0.005 * 2 external IP addresses * 720 hours) + (200 GiB processed traffic * $0.045) = $47.88 |
| Variant |
SKU name |
SKU ID |
|---|---|---|
| Public NAT |
Networking Cloud NAT IP usage |
|
| Public NAT |
Networking Cloud NAT data processing |
|
| Public NAT |
Networking Cloud NAT gateway uptime |
|
| Private NAT |
Networking Private NAT data processing |
|
| Private NAT |
Networking Private NAT gateway uptime |
Logging pricing
Cloud NAT logging pricing is described in Network Telemetry pricing .
Standard pricing for Cloud Logging, BigQuery, or Pub/Sub apply.