Technology1 min read

Connect Amazon Bedrock AgentCore Gateway to private APIs in a hub-and-spoke network with centralized inspection

By · Published by Everything Blog

In short

The architecture utilizes a self-managed mode featuring an Amazon VPC Lattice resource gateway placed in dedicated, unshared subnets owned directly by a central network account. Network flows are directed across an AWS Transit Gateway to ensure all agent requests and private backend replies pass through a centralized inspection virtual private cloud. The framework was evaluated in the US East (N. Virginia) AWS Region using an AWS Organizations configuration with three member accounts and a management account. This approach allows application teams to control their workloads while central security teams inspect all cross-VPC traffic.

Key points

  • Centralized security teams can inspect bidirectional traffic between Amazon Bedrock agent…: Centralized security teams can inspect bidirectional traffic between Amazon Bedrock agents and internal enterprise backends.
  • Application teams retain control over their individual workloads and security groups with…: Application teams retain control over their individual workloads and security groups without needing direct ownership of core networking subnets.
  • The pattern supports secure connections to private REST APIs and Model Context Protocol s…: The pattern supports secure connections to private REST APIs and Model Context Protocol servers in enterprise hub-and-spoke topologies.

Sources checked by our analysis pipeline: 1

Artificial Intelligence

Connect Amazon Bedrock AgentCore Gateway to private APIs in a hub-and-spoke network with centralized inspection

In many enterprises, a central network team owns every virtual private cloud (VPC) and subnet, and every flow between VPCs must pass a central firewall in both directions. Agents that call internal REST APIs and Model Context Protocol (MCP) servers through Amazon Bedrock AgentCore Gateway, a capability of Amazon Bedrock AgentCore, must meet the same two requirements. Amazon Bedrock AgentCore is a platform to build, connect, and optimize agents at scale, with any framework or model.

This post shows a pattern that meets both requirements. The network team keeps ownership of every subnet, and traffic between the Gateway and your private APIs and MCP servers crosses the central firewall in both directions. It covers where to place the Amazon VPC Lattice resource gateway that the Gateway uses to reach private targets. It also covers who owns each piece, six configuration decisions, and the checks that confirm the pattern works.

We built and tested the pattern in the US East (N. Virginia) AWS Region…

Technology