How To Whitelist Better Stack IPs on Google Cloud Platform

Better Stack Team
Updated on August 29, 2023

If you are using a Google Cloud Platform 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. They are split into regions for easier navigation.

Step 1

In the left menu select VPC network and then select Firewall


Step 2

At the top, click the Create new firewall rule button.

GCP firewall

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 divided by the , character

GCP ips

Then click Save

Got an article suggestion? Let us know
Explore more
Licensed under CC-BY-NC-SA

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

We are hiring.

Software is our way of making the world a tiny bit better. We build tools for the makers of tomorrow.

Explore all positions →