Annoying Bots from Amazon Hosting!

Hi, I am getting lots of bots from Amazon Hosting hitting my sites.

Here are some example UAs

ec-54-82-196-209.compute-1.amazonaws.com
ec2-54-82-207-161.compute-1.amazonaws.com
ec2-54-84-213-92.compute-1.amazonaws.com
ec2-54-89-58-186.compute-1.amazonaws.com

My server guy tried blocking them on the server but couldn’t get it work and he thinks it because of Cloudflare.

Is there any way I can block the bots using UA in CF?

Thanks

Your Cloudflare Firewall settings page has a User Agent Blocking feature:
https://support.cloudflare.com/hc/en-us/articles/115001856951-How-do-I-block-malicious-User-Agents-with-Cloudflare-

1 Like

Thanks, I saw that but there are lots of bots with slightly different US strings. its is possible to block all from “amazonaws.com” somewhow?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.