If you need to connect to the internet from private nodes that do not have external IP addresses, create a Google Cloud Network Address Translator (NAT) gateway.
In Google Cloud NAT, create a NAT gateway in the VPC network with the following configuration:
Use the same region as the subnet.
Use a Cloud Router that uses the default settings.
Use the default value for the NAT mapping source.
Manually create a new static public IP address to use for the NAT IP address.
Ensure that the NAT gateway is running before you run an
advanced job
.
The following image shows an example NAT gateway configuration in the Google Cloud Console: