# How To Whitelist Better Stack IPs on Google Cloud Platform

If you are using a [Google Cloud Platform](https://cloud.google.com/) GCP with
your system it is a best practice to whitelist Better Stack IPs and User Agent.
This will prevent Google Cloud from blocking Better Stack's monitoring requests
and prevent any false incident alerting.

In this quick tutorial, we will guide you through each step.

## Where can I find Better Stack IPs?

The official documentation provides list of
[all used Better Stack IPs as well as the User Agent](https://betterstack.com/docs/uptime/frequently-asked-questions/#what-ips-does-uptime-use).
They are split into regions for easier navigation.

### Step 1

In the left menu select _VPC network_ and then select _Firewall_

![GCP VPC](https://imagedelivery.net/xZXo0QFi-1_4Zimer-T0XQ/75727c5e-369e-4499-5fcf-552de8ba1800/public =454x354)

### Step 2

At the top, click the _Create new firewall rule_ button.

![GCP firewall](https://imagedelivery.net/xZXo0QFi-1_4Zimer-T0XQ/532dd7da-eeec-4da1-508a-a5673e964e00/public =704x60)

### Step 3

Name your firewall. Then, set the following settings:

- **Network** to Default
- **Priority** to 1000
- **Direction of traffic** to Ingress
- **Action on match** to Allow
- **Target** to All instances in the network
- **Source filter** to All IPv4
- **Source IP ranges** to the
  [Better Stack IPs](https://betterstack.com/docs/uptime/frequently-asked-questions/#what-ips-does-uptime-use)
  divided by the `,` character

![GCP ips](https://imagedelivery.net/xZXo0QFi-1_4Zimer-T0XQ/2f257ddd-350e-4ee0-bd2f-5fcc76080c00/public =550x332)

Then click _Save_
