How To Whitelist Better Stack IPs in Digital Ocean
If you are using a Digital Ocean firewall with your system it is a best practice to whitelist Better Stack IPs and User Agent. This will prevent Digital Ocean 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.
Open the Droplets settings in the left menu.
Select or create a new droplet to which you want the firewall to apply.
Open the Networking settings.
Click on the Firewalls tab. Then, click on the Create Firewall button.
Name your new Firewall. Then, Create the following inbound rules:
- All TCP
- All UDP
Unfortunately, Digital Ocean doesn’t provide an option to whitelist a User-Agent so you will need to add all Better Stack IPs manually.
The Inbound traffic settings should look like this:
Delete all Outbound rules and don’t forget to select the droplet to which you want this firewall to apply.
Step 6 (Final)
Finally, click the big green button Save Firewall.
How To Whitelist Better Stack IPs in UFW
Learn how to whitelist Better Stack IPs on UFW and prevent any false incident alerting.Questions
How To Whitelist Better Stack IPs and User Agent in Cloudflare
Learn how to whitelist Better Stack IPs on Cloudflare and prevent any false incident alerting.Questions
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
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@example.com
or submit a pull request and help us build better products for everyone.
See the full list of amazing projects on github