Page 1 of 2
Amazon
Posted: Sun May 26, 2024 1:07 pm
by Xpajun
Hi has anyone else had problems with Amazonbot constantly flooding their "whos on line" and ultimatly crashing their sessions database.
All Amazonbot IPs start with 3.*.*.*
If anyone has had this problem did you manage to stop it (and how)
Re: Amazon
Posted: Sun May 26, 2024 6:39 pm
by bonbec
Amazonbot respects the robots.txt directives user-agent and disallow.
Take a look to this :
https://developer.amazon.com/fr/amazonbot
Re: Amazon
Posted: Sun May 26, 2024 7:58 pm
by ecartz
It would probably make more sense to add it to includes/spider.txt so that it doesn't create a session rather than ban it from sharing your site.
Re: Amazon
Posted: Sun May 26, 2024 9:58 pm
by Xpajun
ecartz wrote: ↑Sun May 26, 2024 7:58 pm
It would probably make more sense to add it to includes/spider.txt so that it doesn't create a session rather than ban it from sharing your site.
I'll have a look at that Matt but it is just continuous not just one session but multi sessions if you delete the sessions they are back again instantly creating another session and totally ignore any bans/blocking
Re: Amazon
Posted: Mon May 27, 2024 9:45 am
by Xpajun
In that case I'm afraid I have a rogue Amazonbot attacking my store because it is ignoring robots.txt directives user-agent and disallow
Re: Amazon
Posted: Mon May 27, 2024 10:18 am
by 14Steve14
If you really want to stop them from searching your website and they are not taking notice of the robots.txt file then bad then in you htaccess file.
I do believe that there is firewall in the addons section.
Re: Amazon
Posted: Mon May 27, 2024 6:07 pm
by Xpajun
14Steve14 wrote: ↑Mon May 27, 2024 10:18 am
If you really want to stop them from searching your website and they are not taking notice of the robots.txt file then bad then in you htaccess file.
I do believe that there is firewall in the addons section.
Had a problem todsy Steve Amazonbot has overloaded my store causing too many connections to the database - now I can't get in to delete them

Re: Amazon
Posted: Mon May 27, 2024 7:34 pm
by azpro
I have the same problem ... Slowing the site and sometimes "Too many requests".
It is (AFIK) not a legitemate Amazon bot/request but Scripted bots using Amazon Web Service computing to srape the web (for AI applications?). I understood blocking via .htaccess seems hard - better way should be to block it via Firewall of server.
Up till now I did not succeed. So any help is appreciated.
If you Google - you can see this is a common problem:
https://www.google.com/search?q=how+to+ ... zonaws.com
You could raed:
https://stackoverflow.com/questions/775 ... contains-x
Best regards!
Re: Amazon
Posted: Mon May 27, 2024 8:56 pm
by Xpajun
azpro wrote: ↑Mon May 27, 2024 7:34 pm
I have the same problem ... Slowing the site and sometimes "Too many requests".
It is (AFIK) not a legitemate Amazon bot/request but Scripted bots using Amazon Web Service computing to srape the web (for AI applications?). I understood blocking via .htaccess seems hard - better way should be to block it via Firewall of server.
Up till now I did not succeed. So any help is appreciated.
If you Google - you can see this is a common problem:
https://www.google.com/search?q=how+to+ ... zonaws.com
You could raed:
https://stackoverflow.com/questions/775 ... contains-x
Best regards!
Thanks, as I posted to Steve my site is completely locked up at the moment waiting for my host to sort it as soon as it's back online I will try the stack overflow fix... never know it might work - I'll post here if it has
As I understand it the name is Amazonbot rather than compute.amazonaws.com - that's what I get doing a reverse ip check anyway
Also I've just updated to Apache 2.4 recently and, apparently, because my server now uses Apache 2.4, which doesn't seem to support anymore the legacy 2.2 syntax. :shrug:
Re: Amazon
Posted: Tue May 28, 2024 5:57 am
by MyGamesShop
Use this site to find the IP range by pressing and reading the [whois] button, and add to your firewall.
https://www.abuseipdb.com
like 3.0.0.0/8 or 3.?.0.0/16 or 3.?.?.0/24 or the ip exactly. I found it hops so a band was better 3.?.?.0/24
You will find its not an amazon bot but a shitty Amazon cloud user, trying to break in/copy site or DOS you, or worse someone training AI...
Amazon Data Services Singapore, Data Center/Web Hosting/Transit
NetRange: 3.0.0.0 - 3.1.255.255
CIDR: 3.0.0.0/15
NetName: AMAZON-SIN
NetHandle: NET-3-0-0-0-2
Parent: AT-88-Z (NET-3-0-0-0-1)
NetType: Reallocated
OriginAS: AS38895
Organization: Amazon Data Services Singapore (ADSS-3)
RegDate: 2018-08-01
Updated: 2018-08-01
Ref: https:
You could try this plugin if you don't have access to firewall rules.
app.php/addons/paid_addon/phoenix_firewall/
Also your sessions database will be GIANT!!! and gets read each time someone goes to the site, so that's probably what is making your site crawl. Dumb bots like this one creates a new session each product it goes to, Truncate it using phpmyadmin if you have access to it. (Do Not DROP it!!) or ask your database admin to truncate it.