Blocking an abusive IP on Firebase hosting

My static website hosted on Firebase hosting is being hit from a particular IP. It has been making close to ten requests per second continuously for at least past couple of months. This has more than doubled my networking cost.

I have reported it to the hosting provider who owns the abusive IP but haven’t received a response.

What cost-effective options do I have on GCP to stop this abuse?

1 Like

Hello @trends24in ,Welcome on Google Cloud Community.

You can utilize Cloud Armor for restricting IPs with Global LB, which will be associated with your Firebase domain.

Example: https://cloud.google.com/media-cdn/docs/security-policies#example-block-malicious

GLB: https://cloud.google.com/load-balancing/docs/https

SSL for GLB: https://medium.com/@reisfeld/wildthing-i-think-i-love-you-2caa32572d24

Info about Cloud Armor: https://cloud.google.com/armor/docs/integrating-cloud-armor

Similar post: https://www.googlecloudcommunity.com/gc/General-Misc-Q-A/Firebase-hosting-with-Cloud-armor-policies-using-Internet/td-p/641295/highlight/true/page/1


cheers,
DamianS
LinkedIn medium.com Cloudskillsboost

2 Likes