Reserve the IP Addresses
A Google Cloud deployment requires one public IP address for the NAT Gateway.
The following command reserves one or multiple IP addresses:
gcloud compute addresses create <NAME1> <NAME2>
Where:
<NAME1> <NAME2>
are the names of the addresses to be created (using a single <NAME>
will create a single IP with the command)
In the following example command and output, two IP addresses are created with a single command:
gcloud compute addresses create gcp-arcsight-test-nat-ip --region=us-central1
Created [https://www.googleapis.com/compute/v1/projects/security-arcsight-nonprod/regions/us-central1/addresses/gcp-arcsight-test-nat-ip].
Obtain detailed information for the Google Cloud worksheet
Once the IPs have been created, run the following command for each of them to obtain detailed information about them:
gcloud compute addresses describe <NAME>
Example command and output:
gcloud compute addresses describe gcp-arcsight-test-nat-ip
address: 34.122.212.89 addressType: EXTERNAL creationTimestamp: '2023-07-21T10:38:15.973-07:00' description: '' id: '4798166161442700392' kind: compute#address labelFingerprint: 42WmSpB8rSM= name: gcp-arcsight-test-nat-ip networkTier: PREMIUM region: https://www.googleapis.com/compute/v1/projects/security-arcsight-nonprod/regions/us-central1 selfLink: https://www.googleapis.com/compute/v1/projects/security-arcsight-nonprod/regions/us-central1/addresses/gcp-arcsight-test-nat-ip status: IN_USE users: - https://www.googleapis.com/compute/v1/projects/security-arcsight-nonprod/regions/us-central1/routers/gcp-arcsight-test-router
Remember to note down all incumbent configuration values in your Google Cloud worksheet