AWS Details Hub-and-Spoke Pattern for Amazon Bedrock AgentCore Gateway
AI assistants · Enterprise AI · Cybersecurity and privacy
AWS published an architectural pattern using Amazon VPC Lattice and AWS Transit Gateway to route Bedrock AgentCore Gateway egress to internal APIs and MCP servers through a central firewall in both directions.
AWS outlined a network deployment pattern for connecting Amazon Bedrock AgentCore Gateway to private REST APIs and Model Context Protocol (MCP) servers within multi-account enterprise topologies. Under this design, the central network team maintains full ownership of all virtual private clouds (VPCs) and subnets, while bidirectional traffic passing between AgentCore Gateway and private backends is routed through a central inspection VPC firewall. The architecture relies on Amazon VPC Lattice self-managed mode, placing a dedicated VPC Lattice resource gateway inside a private, unshared VPC controlled by the network account. That VPC routes egress traffic directly to an AWS Transit Gateway, which directs bidirectional traffic through the central firewall before forwarding requests to the target application account's internal Application Load Balancer (ALB) or private API Gateway endpoint. Resource configurations defining backend targets are shared with the AgentCore account using AWS Resource Access Manager (AWS RAM). AWS documented implementation details and trade-offs verified in a multi-account lab in the us-east-1 region, with CloudFormation templates published in an accompanying repository. The authors highlighted specific architectural boundaries: traffic remains TLS-encrypted end-to-end, meaning the firewall inspects network flow metadata and SNI rather than decrypted payloads, and token issuance or direct endpoint loops bypass the central firewall.
Key takeaways
- AWS demonstrated how to deploy an Amazon VPC Lattice resource gateway inside a dedicated network account VPC to route AgentCore Gateway calls through a central firewall via AWS Transit Gateway.
- The pattern supports private REST APIs and MCP servers using VPC Lattice self-managed mode, sharing backend resource configurations across accounts through AWS RAM.
- Network flow remains end-to-end TLS between the Gateway and internal load balancers, restricting central firewall inspection to network metadata and TLS SNI rather than message payloads.
- Tested in the us-east-1 region, CloudFormation templates and deployment guidance were published to a public AWS sample repository.
Source:AWS Machine Learning Read the original ↗
Prepared, checked and automatically published by AI; not individually reviewed by a human.