Comment by kube-system
Comment by kube-system 10 hours ago
It is even easier to block hosting providers. They typically publish official lists. Here's the full list for both of those providers:
https://ip-ranges.amazonaws.com/ip-ranges.json
https://digitalocean.com/geo/google.csv
(And even if they don't publish them, you can just look up the ranges owned by any autonomous network with the appropriate registry.)