Open topic with navigation

# Assign the IP Addresses

A Google Cloud deployment requires two Public IP addresses:

- One to open ports and allow access to the firewall, for example:

  - To allow access to the ArcSight Database server deployed on the private subnet

  - To allow a connector to access the schema service port thru the cluster FQDN (port 32081)

  - To allow the load balancer to access the ArcSight Suite Ports

- One 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 gcp-arcsight-test-lb-ip --region=us-central1

    Created [https://www.googleapis.com/compute/v1/projects/security-arcsight-nonprod/regions/us-central1/addresses/gcp-arcsight-test-nat-ip].
    Created [https://www.googleapis.com/compute/v1/projects/security-arcsight-nonprod/regions/us-central1/addresses/gcp-arcsight-test-lb-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-router-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-router-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-router-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(add link to worksheet)