AI Cloud Architect

Control which domains your AI agents can access

AWSHow-to by Kosti Vasilakakis, Evandro Franco, Kevin Orellana and Yan Victor Ribeiro MarimAWS Artificial Intelligence Blog

In this post, we show you how to configure AWS Network Firewall to restrict AgentCore resources to an allowlist of approved internet domains. This post focuses on domain-level filtering using SNI inspection — the first layer of a defense-in-depth approach.

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

AgentCore Browser, Code Interpreter and Runtime can be placed in a VPC and limited to an allowlist of domains via AWS Network Firewall using TLS SNI inspection.

Who it is for

Teams running Bedrock AgentCore agents in regulated or enterprise settings that need to restrict agent web access and log connection attempts.

Key points

  • Domain filtering uses TLS SNI headers, so encrypted content is not inspected; DNS Firewall is recommended to close the IP-bypass gap.
  • Firewall policy must use aws:drop_established; aws:drop_strict blocks the TLS handshake SNI inspection needs.
  • Multi-VPC setups behind a Transit Gateway must set HOME_NET or traffic from other VPCs bypasses domain filtering.

The same at other vendors

Timeline

  1. This postControl which domains your AI agents can access
  2. Customer storyHow Benchling secured multi-tenant AI agents with Amazon Bedrock AgentCore · AWS · Customer story

Go deeper