bedrockbot user agent
Operated by Amazon
bedrockbot is the web crawler Amazon Bedrock knowledge bases use to collect pages for AWS customers' AI applications.
The bedrockbot bot at a glance
- bedrockbot is operated by Amazon and indexes web pages so an AI search product can show and cite them in answers, and fetches pages to power a specific product feature.
- The robots.txt token for bedrockbot is bedrockbot.
- Blocking an AI search crawler has no effect on Google or Bing rankings.
- bedrockbot robots.txt support: Yes.
- Recommendation for Generative Engine Optimization (GEO): Your choice.
What is bedrockbot?
bedrockbot crawls the URLs an AWS customer adds as a web data source for retrieval-augmented generation.
AWS documents the crawler and states that it respects robots.txt.
Should you block bedrockbot?
Blocking bedrockbot is a business decision: it protects your content but can lower how well AI products know your brand.
| Effect on search rankings | Blocking an AI search crawler has no effect on Google or Bing rankings. |
|---|---|
| Effect on AI visibility | Blocking removes your pages from that AI search index, so its answers can no longer cite or link to your website. |
| Follows robots.txt | Yes |
| Recommendation | Your choice |
How to block or allow bedrockbot
Put the robots.txt rule in the file at the root of every domain and subdomain, for example https://example.com/robots.txt. The token bedrockbot is matched case-insensitively.
robots.txt: block
# Block bedrockbot
User-agent: bedrockbot
Disallow: /robots.txt: allow
# Allow bedrockbot
User-agent: bedrockbot
Allow: /robots.txt: partial
# Keep bedrockbot out of private areas only
User-agent: bedrockbot
Disallow: /wp-admin/
Disallow: /cart/
Disallow: /checkout/
Disallow: /my-account/
Allow: /Nginx
# Nginx: return 403 to bedrockbot
if ($http_user_agent ~* "(bedrockbot)") {
return 403;
}Apache
# Apache .htaccess: return 403 to bedrockbot
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} (bedrockbot) [NC]
RewriteRule .* - [F,L]Cloudflare WAF
# Cloudflare > Security > WAF > Custom rule, action: Block
(http.user_agent contains "bedrockbot")How to verify real bedrockbot traffic
Amazon publishes no IP list or reverse DNS pattern for bedrockbot, so the user agent cannot be verified. Anyone can send the same string. Rate-limit unusual volume instead of trusting the name.
How to find bedrockbot in your server logs
Search the web server access log for the token. The command below counts bedrockbot requests per URL on Nginx or Apache.
grep -i "bedrockbot" access.log | awk '{print $7}' | sort | uniq -c | sort -rn | head -20For a full report per AI bot, upload the log to the AI Log File Analyzer, a free tool by Justin Hà.
bedrockbot FAQ
bedrockbot uses the robots.txt token "bedrockbot". Amazon does not publish a full user-agent string, so match the token inside the User-Agent header.
Yes. Amazon states that bedrockbot follows robots.txt rules written for the "bedrockbot" token.
Blocking an AI search crawler has no effect on Google or Bing rankings. Blocking removes your pages from that AI search index, so its answers can no longer cite or link to your website.
Add two lines to the robots.txt file at the root of each domain and subdomain: "User-agent: bedrockbot" followed by "Disallow: /". The token is case-insensitive. Changes can take up to 24 hours to be picked up.
Not reliably. Amazon publishes no IP list or reverse DNS pattern for bedrockbot, so anyone can send the same user agent. Rate-limit unusual volume instead of trusting the name.
Search your server access log for "bedrockbot", for example with: grep -i "bedrockbot" access.log. The AI Log File Analyzer by Justin Hà counts visits per AI bot from an uploaded log file.
Sources: Amazon crawler documentation. Last reviewed by Justin Hà.
See which of these bots actually reach your website
The AI Log File Analyzer by Justin Hà counts visits from GPTBot, ClaudeBot, PerplexityBot and other AI crawlers in your server log, for free. The GEO Technical Package sets up robots.txt, llms.txt and crawler access for AI search.