Connect Amazon Bedrock AgentCore Gateway to private APIs in a hub-and-spoke network with centralized inspection
AWS•How-to••by Puneeth Komaragiri, Abhijeeth Hanumandla and Carlos Bauer•AWS Artificial Intelligence Blog
Many enterprises run a centralized network model: one account owns every VPC and a central firewall inspects all traffic. This post shows a tested pattern for connecting Amazon Bedrock AgentCore Gateway to private APIs and MCP servers in that model, with the VPC Lattice resource gateway in the network account so every hop crosses the firewall.
Gateway tool calls can reach private ALBs and private API Gateway endpoints through a VPC Lattice resource gateway placed in the network account, so traffic crosses the central firewall in both directions.
Who it is for
Cloud network and platform teams running AgentCore Gateway agents against internal APIs or MCP servers in a hub-and-spoke network with central inspection.
Key points
Tested in us-east-1 in a lab with three member accounts and a management account
Firewall does not inspect payloads; it sees flow metadata and TLS SNI only
Client credentials grant means tools see the Gateway identity, not the end user
AWS says the public Gateway endpoint can be closed with a resource policy and an interface endpoint
AI:Compares three OAuth setups for AgentCore Gateway to reach the Snowflake-managed MCP server: Snowflake OAuth per-user, three-legged with corporate IdP, and two-legged with a shared service user.
AI:Claude Desktop on Bedrock can call a managed Web Search tool through AgentCore Gateway, so answers can use current web results instead of only training data.