Cloud NAT pricing

Cloud NAT pricing for Public NAT and Private NAT is based on the following usage.

Public NAT

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:

  • The cost per GiB of data that is processed by the gateway
  • The hourly cost for the external IP addresses used by the gateway
  • The data transfer out costs for any traffic leaving the network

Public NAT pricing is based on the following usage:

  • An hourly price for the NAT gateway that is based on the number of virtual machine (VM) instances that are using the gateway. The per-hour rate is capped at 32 VM instances. Gateways that are serving instances beyond the maximum number are charged at the maximum per-hour rate.
  • Google Cloud counts VM instances that get a NAT assignment as using the gateway. The NAT gateway performs source NAT (SNAT) for data transfer traffic from resources that don't have external IP addresses, and destination NAT (DNAT) for ingress packets that arrive as responses to outbound packets.
  • per-GiB cost for data transfer that is processed by the gateway. The data processing price is the same across all regions. Data transfer costs to send traffic from the VM out of the network also apply.
  • An hourly price for each static or ephemeral external IP address that is used by a NAT gateway.

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.

Private NAT

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:

  • The cost per GiB of data that is processed by the gateway
  • The service costs for allowing traffic to leave the network through Cloud Interconnect, Cloud VPN, or Network Connectivity Center

Private NAT pricing is based on the following usage:

  • An hourly price for the NAT gateway that is based on the number of VM instances that are using the gateway. The NAT gateway performs private source NAT (SNAT) for data transfer traffic from resources covered under the NAT gateway, and destination NAT (DNAT) for ingress packets that arrive as responses to outbound packets.
  • per-GiB cost for data transfer that is processed by the gateway. The data processing price is the same across all regions. Cloud Interconnect, Cloud VPN, and Network Connectivity Center data costs to send traffic from the VM out of the network also apply.

Price per hour for NAT gateway

Price per GiB processed, inbound and outbound data transfer

$0.045$0.045

Pricing examples

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

SKU groups - NAT gateway

Variant

SKU name

SKU ID

Public NAT

Networking Cloud NAT IP usage

8515-9425-D2CE

Public NAT

Networking Cloud NAT data processing

015F-5732-FFF0

Public NAT

Networking Cloud NAT gateway uptime

32E2-4EFC-EF9F

Private NAT

Networking Private NAT data processing

6B7A-B4EC-BCA5

Private NAT

Networking Private NAT gateway uptime

AAF7-1D17-BFC4

Logging pricing

Cloud NAT logging pricing is described in Network Telemetry pricing.

Standard pricing for Cloud Logging, BigQuery, or Pub/Sub apply.

Request a custom quote

With Google Cloud's pay-as-you-go pricing, you only pay for the services you use. Connect with our sales team to get a custom quote for your organization.
Google Cloud