How To Whitelist Better Stack IPs on AWS

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

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