Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Centralize NAT Gateway for Multi-Zone VMs in GCP

I have VMs in several zones and created a NAT gateway in one zone. Since NAT is regional, other VMs in different zones can't use this NAT gateway.

(a) Is there an efficient way to create a centralized NAT gateway without setting up a separate one in each zone or region? I prefer to avoid using third-party NAT solutions.

0 1 258
1 REPLY 1

Hi @muneebAr,

Welcome to Google Cloud Community!

Cloud NAT is indeed restricted regionally which means it cannot be associated with other regions but you can use a Cloud NAT for VMs in other zones within a region. 

Below are examples of VMs in different zones that I created utilizing a single NAT gateway for the asia-east1 region:

  • 2 VMs in asia-east1-a and asia-east1-b

5CUdcjKox3vjyuM (1).png

  • And a single Cloud NAT gateway for the region

795nttbHAkqAa8z (1).png

You may want to take a look at the following documentation:

I hope the above information is helpful.