Stay organized with collections
Save and categorize content based on your preferences.
Cloud NAT pricing
Cloud 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 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.
A 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
** Applicable to only Public NAT
If you pay in a currency other than USD, the prices listed in your currency on
Cloud Platform SKUs
apply.
The total cost for running a NAT gateway and running traffic through it is as
follows:
total cost for running the gateway=hourly cost for the NAT gateway+cost per GiB of data that is processed by the gateway+hourly cost for the external IP addresses used by the gateway+data transfer costs for any traffic leaving the network
Pricing example
The following table shows the estimated monthly cost for a single NAT gateway that uses external
IP addresses to serve a different number of VM instances. For both cases, the gateway
runs for 720 hours in a billing cycle.
Usage
Estimated bill
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
36 VM instances
Gateway uses two external IP addresses
Gateway processes 200 GiB of traffic (data transfer)
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],[],[],[],null,["# Pricing\n\nCloud NAT pricing\n=================\n\nCloud NAT pricing is based on the following usage:\n\n- An *hourly price for the NAT gateway* that is based on the number\n of VM instances that are using the gateway. The per-hour rate is capped at\n 32 VM instances. Gateways that are serving instances beyond the maximum\n number are charged at the maximum per-hour rate.\n\n Google Cloud counts VM instances that get a NAT assignment\n as using the gateway. The NAT gateway performs source NAT (SNAT) for data transfer traffic from\n resources that don't have external IP addresses, and destination NAT (DNAT) for ingress packets that\n arrive as responses to outbound packets.\n- A *per-GiB cost for data transfer that is processed by the\n gateway* . The data processing price is the same across all regions.\n [Data transfer costs](/vpc/network-pricing#internet_egress) to send\n traffic from the VM out of the network also apply.\n\n- An *hourly price for each static or ephemeral external IP address* that is used by a NAT gateway.\n\n**\\*\\*** Applicable to only Public NAT\n\n\n| **Note:** To view your current NAT IP address usage, use the [`gcloud compute routers\n| get-nat-ip-info` command](/sdk/gcloud/reference/compute/routers/get-nat-ip-info).\n\n\u003cbr /\u003e\n\nIf you pay in a currency other than USD, the prices listed in your currency on [Cloud Platform SKUs](https://cloud.google.com/skus/) apply.\n\nThe total cost for running a NAT gateway and running traffic through it is as\nfollows: \n\n```\ntotal cost for running the gateway = hourly cost for the NAT gateway\n+ cost per GiB of data that is processed by the gateway\n+ hourly cost for the external IP addresses used by the gateway\n+ data transfer costs for any traffic leaving the network\n```\n\n### Pricing example\n\nThe following table shows the estimated monthly cost for a single NAT gateway that uses external\nIP addresses to serve a different number of VM instances. For both cases, the gateway\nruns for 720 hours in a billing cycle.\n\n### Logging pricing\n\nNAT logging pricing is described in\n[Network Telemetry pricing](/vpc/network-pricing#network-telemetry).\n\nStandard pricing for Cloud Logging, BigQuery, or Pub/Sub apply.\n\nWhat's next\n-----------\n\n- Read the [Cloud NAT documentation](/nat/docs).\n- Try the [Pricing calculator](/products/calculator).\n- Learn about [Cloud NAT solutions and use cases](/architecture?text=Cloud NAT).\n\n#### Request a custom quote\n\nWith 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.\n[Contact sales](/contact?direct=true)"]]