{"resourceId":"aws-agentcore-gateway-private-apis-central-firewall-pattern-limits-20261118","versions":[{"version":"external-f5ac4f9638b6fc63ba3722f1233b9cd8fc2ab429d0f7915962d58b55173a3c95","resource":{"id":"aws-agentcore-gateway-private-apis-central-firewall-pattern-limits-20261118","title":"AWS pattern routes AgentCore Gateway calls to private APIs through a central firewall, but warns the firewall sees no payloads, some legs bypass it, and the public endpoint stays open until a policy closes it","organization":"Amazon Web Services (Amazon Bedrock AgentCore Gateway; AWS Technical Account Managers)","sector":"AI agent platform: private tool access, network segmentation and inspection","geography":"Tested in US East (N. Virginia) only; the official AgentCore Region table lists Gateway in GovCloud (US-West), but the pattern was not tested there","publishedAt":"2026-11-18","publicationDate":"2026-11-18","eventDate":"2026-11-18","sourceName":"AWS Machine Learning Blog","sourceLabel":"Connect Amazon Bedrock AgentCore Gateway to private APIs in a hub-and-spoke network with centralized inspection","sourceUrl":"https://aws.amazon.com/blogs/machine-learning/connect-amazon-bedrock-agentcore-gateway-to-private-apis-in-a-hub-and-spoke-network-with-centralized-inspection/","evidenceClass":"vendor-claim","outcomeClass":"emerging","topics":["developers-agents","infrastructure","data-security"],"finding":"An AWS post dated November 18 shows how to let agents reach internal REST APIs and MCP servers through AgentCore Gateway when a central network team owns every VPC and subnet and all traffic between VPCs must cross a central firewall in both directions. The network account owns the VPC Lattice resource gateway in its own subnets routed through Transit Gateway, and shares one resource configuration per backend through AWS RAM. The authors built and tested it in us-east-1 with three member accounts, and published templates and 14 validation checks. They list what it does not do: traffic is TLS end to end, so the firewall sees flow metadata and SNI, not payloads; the agent-to-endpoint and Gateway-to-resource-gateway legs, and AgentCore's token requests to identity providers, do not cross the firewall; and three calls (JWKS fetch, inbound token request and outbound OAuth requests) leave the private path. An interface endpoint does not close the Gateway's public endpoint; in their test, internet calls were refused about 30 seconds after a source-VPC-endpoint resource policy was applied, and AWS notes changes can take up to 15 minutes. Each VPC Lattice association carries an hourly and data-processing charge.","sledRelevance":"Consolidated state IT organizations and large campus networks often run this model: a central network team, shared subnets and mandatory inspection between enclaves (interpretation). This post documents how to keep agent tool calls inside that model, and the official Region table lists Gateway in GovCloud (US-West). Its stated gaps are what security reviewers will ask about: no payload inspection at the firewall, legs that bypass it, and a public Gateway endpoint that stays reachable until a resource policy is applied. Interpretation: agencies should treat the resource policy and the Gateway, WAF and ALB logs, not the firewall, as the primary controls for agent traffic content.","evidence":"AWS Machine Learning Blog post dated 18 NOV 2026 by three AWS Technical Account Managers, with lab test results and a companion repository (not opened); the official AgentCore supported-Regions table opened at 04:24Z, read against its 22-column header, which marks AgentCore Gateway and Identity as available in AWS GovCloud (US-West). No customer deployment is described.","architectureImplications":"Use self-managed VPC Lattice mode with the resource gateway in network-account subnets routed through Transit Gateway; one resource configuration per backend ALB or execute-api endpoint; two stateful firewall allows; private DNS on the Gateway interface endpoint with an endpoint policy listing approved Gateways; and a resource policy denying invocation except through the endpoint. Prefer one target per API or MCP server to limit Lattice associations, and use keepalives for long-lived MCP streams.","governanceImplications":"Ownership is split: the network team owns subnets, resource gateway, firewall rules and RAM shares; application teams own load balancers, security groups, identity providers and Gateway targets. Revocation requires deleting Gateway targets or associations first; removing a share alone does not remove existing associations.","securityPrivacyImplications":"The firewall provides flow-level, not content-level, inspection; request content is visible only in Gateway, WAF and ALB logs. Private REST APIs need an authorizer on every method because an API key does not authenticate callers. If the firewall applies source NAT, the security group admits anything the firewall forwards. Close the public Gateway endpoint explicitly.","caveats":"Vendor how-to tested only in us-east-1 with AWS Network Firewall and no source NAT; not tested in GovCloud or with third-party firewalls. The companion repository was not opened. No production customer evidence.","streamIds":["aws"],"roles":{"sales":"This is for the central IT organization, not the agent team. State and university networks that force all inter-VPC traffic through a central firewall now have an AWS-documented way to let agents call private APIs and MCP servers. Ask who owns subnets and firewall policy, whether payload inspection is mandated, and whether GovCloud is required. A bounded engagement is a network-pattern review and validation run in a non-production copy. Do not claim the firewall inspects agent content; AWS says it sees only flow metadata and SNI.","engineering":"Fit is hub-and-spoke AWS Organizations with RAM-shared subnets and an inspection VPC. Place the Lattice resource gateway in network-account subnets routed via Transit Gateway, share one resource configuration per backend, and add two stateful allows. Close the public Gateway endpoint with a source-VPC-endpoint resource policy. Three token and key calls still leave the private path. Proof of value: run the published validation checks, including a reply-direction drop rule, a no-token 401 test and a public-endpoint refusal test, in your own firewall and Region.","delivery":"Delivery means a shared operating model between network and agent teams. The network team owns the resource gateway, routes, firewall rules and shares; application teams own load balancers, authorizers and Gateway targets. Acceptance should be measurable: all validation checks pass in non-production, the public Gateway endpoint refuses internet calls, and revocation is tested end to end. Risks include assuming payload inspection, source NAT widening security groups, Lattice association costs growing per target, and token-endpoint flows overlooked in firewall reviews."},"roleDetails":{"sales":{"customerProblem":"Central network teams require all traffic between VPCs to cross an inspection firewall, which blocks agents from reaching private APIs and MCP servers under existing rules.","stakeholders":["State or campus network architecture lead","CISO","Agent platform owner","Application owners of internal APIs"],"discoveryQuestions":["Does policy require payload inspection or only flow inspection between enclaves?","Who owns subnets and Transit Gateway attachments?","Must agents run in GovCloud?","Which internal APIs or MCP servers would agents call first?"],"valueHypothesis":"A documented pattern could shorten security review for agent access to private systems, provided reviewers accept log-based content visibility.","potentialEngagement":"A network-pattern review and validation run for one agent and two internal APIs in a non-production environment.","unsupportedClaims":["Firewall payload inspection of agent traffic","Fully private traffic path","Validated operation in GovCloud","Production customer outcomes"]},"engineering":{"fit":"AWS Organizations environments with a network account that owns every VPC and an inspection VPC on Transit Gateway.","architectureIntegration":"Self-managed Lattice resource gateway in network-account subnets, RAM-shared resource configurations per backend, Gateway interface endpoint with endpoint policy, and a resource policy restricting invocation to that endpoint.","prerequisites":["Transit Gateway with appliance-mode inspection VPC","VPC Lattice permissions allowed by SCPs","ALB certificates matching target host names","Authorizers on private API methods"],"constraints":["No payload inspection at the firewall","Some legs and token requests bypass the firewall","Tested only in us-east-1 without source NAT","Policy changes can take up to 15 minutes"],"security":"Treat the Gateway resource policy, authorizers and Gateway, WAF and ALB logs as the content controls; close the public endpoint and test it.","proofOfValue":["Reply-direction drop rule causes calls to fail, proving symmetric inspection","Calls with no or wrong token get HTTP 401 without invoking the backend","Internet calls to the Gateway are refused after the resource policy is applied"]},"delivery":{"work":"Stand up the resource gateway VPC, firewall rules, shares, endpoint and policies; onboard targets; and document revocation.","dependencies":["Central network team capacity","Identity provider token endpoints reachable","Firewall change process","Companion templates adapted to local layout"],"ownership":"Central network team for the path; agent platform team for Gateway targets and policies.","skillsAdoption":"Network engineers learn VPC Lattice and AgentCore Gateway; agent developers learn the network change process.","governanceCheckpoints":["Security review accepts log-based content visibility","Public endpoint closure verified before production","Revocation drill per target"],"acceptanceCriteria":["All validation checks pass in non-production","Zero successful internet invocations of the Gateway after policy","Target revocation completes within an agreed change window"],"risks":["Assumed payload inspection","Source NAT widening access","Association cost growth","Unreviewed token-endpoint flows"]}},"retrievedAt":"2026-11-19T04:19:16Z","enrichedAt":"2026-11-19T04:33:41Z","enrichmentBasis":"retrieved source","accessibilityWorkforceImplications":"Requires coordinated skills across network, identity and agent teams; no accessibility evidence.","procurementImplications":"VPC Lattice association hourly and data-processing charges scale with the number of targets; budget per API or MCP server.","operatingModelImplications":"A joint runbook between the central network team and agent teams is needed for adding targets, firewall rules and revocations, with the 14 validation checks rerun after changes.","sourceVerification":{"openedUrl":"https://aws.amazon.com/blogs/machine-learning/connect-amazon-bedrock-agentcore-gateway-to-private-apis-in-a-hub-and-spoke-network-with-centralized-inspection/","referenceExcerpt":"The firewall sees flow metadata and the TLS Server Name Indication (SNI), not payloads.","promptVersion":"sled-research-v4.0","model":null,"basis":"agent-reported inspection"}}}]}