How To Whitelist Better Stack IPs on AWS

Better Stack Team
Updated on August 29, 2023

If you are using a AWS with your system it is a best practice to whitelist Better Stack IPs and User Agent. This will prevent AWS 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

Open the EC2 settings (you can search for EC2 in the top-left search bar).

Step 2

Open the Security Groups settings in the Network & Security tab in the left menu.

AWS network

Step 3

In the top-right corner, click the Create security group.

AWS security

Step 4

Set the inbound rules as follows for all Better Stack IPs

  • Type to All traffic
  • Source to Custom

The settings should look similar to this:

AWS ips

Optionally, add a tag to your settings to recognize them in the future. Then, head to the EC2 Dashboard.

Step 5

Select the running instance on which you want to apply new security rules.

Step 6

In the top-right corner click on Actions → Security → Change security group

AWS group

Step 7

Select the security group you created and click Save

AWS group 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 →