GolangUA / telegram-butler

:airplane: Telegram bot for managing GolangUA community
MIT License
3 stars 2 forks source link

[TB-9] Add Telegram IPs to whitelist in GCP #14

Closed vpakhuchyi closed 7 months ago

vpakhuchyi commented 7 months ago

https://core.telegram.org/resources/cidr.txt

vpakhuchyi commented 7 months ago

The right way to handle this is to configure Cloud Armour + Load Balancer. However, these services are expensive with no fee tier.

So, current solution: Alerts are configured to be triggered once we face a load of 2 reqs per second for a 5 mins window.

A better solution for the future: Setup a custom domain + CloudFlare.