AWS WAF automated protection for LLM, MCP, and A2A endpoints: a hands-on setup guide

How to turn on endpoint discovery in API Portal, add the AI Security rule group backed by Amazon Bedrock Guardrails, and decide what to block and what to tune yourself

By · · 12 min read

API Portal in Amazon API Gateway now discovers LLM, MCP, and A2A endpoints, and the AWS WAF AI Security rule group protects them by checking content through Amazon Bedrock Guardrails. You set both up in the AWS Console and Terraform, see how traffic is inspected, and learn which rules block by defau

If you run LLM gateways, MCP servers or agent-to-agent endpoints on AWS, you have two new tools: an inventory that finds those endpoints and a managed AWS WAF rule group that understands what they say. You'll set up both in the AWS Console and in Terraform, test them, and see which rules block by default and which settings are left for you to tune.

Read the full article on LearnXops (free with a LearnXops account).