How To Whitelist Better Stack IPs on Google Cloud Platform

Better Stack Team
Updated on November 9, 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

GCP VPC

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

Make your mark

Join the writer's program

Are you a developer and love writing and sharing your knowledge with the world? Join our guest writing program and get paid for writing amazing technical guides. We'll get them to the right readers that will appreciate them.

Write for us
Writer of the month
Marin Bezhanov
Marin is a software engineer and architect with a broad range of experience working...
Build on top of Better Stack

Write a script, app or project on top of Better Stack and share it with the world. Make a public repository and share it with us at our email.

community@betterstack.com

or submit a pull request and help us build better products for everyone.

See the full list of amazing projects on github