{"type":"post","id":"amazon-bedrock-agentcore-gateway-to-private-apis-in-0b55b3","slug":"amazon-bedrock-agentcore-gateway-to-private-apis-in-0b55b3","title":"Amazon Bedrock AgentCore Gateway to private APIs in a hub-and-spoke network with centralized inspection","description":"AgentCore Gateway managed mode now works in subnets shared with the Gateway account by a separate network account.","retrieval_nugget":"AgentCore Gateway managed mode now works in subnets shared with the Gateway account by a separate network account.","published_at":"2026-11-27","updated_at":"2026-11-27","record_date":"2026-11-27","date_kind":"published_at","topics":["agent-tools","infrastructure","security"],"entities":["Amazon Bedrock AgentCore Gateway","Amazon VPC Lattice","AWS Network Firewall","AWS Resource Access Manager"],"related_patterns":["agent-security-moves-to-runtime-boundaries"],"novelty_label":"new_fact","what_changed":null,"prior_refs":[],"source_url":"https://github.com/aws-samples/sample-bedrock-agentcore-gateway-hub-spoke-inspection","source_urls":["https://github.com/aws-samples/sample-bedrock-agentcore-gateway-hub-spoke-inspection"],"production":{"schema":"newruntime-production-v1","desk":"newsroom","first_seen_at":"2026-11-27T19:21:52.129Z","independent_sources":1,"notes_synthesized":null,"writer_model":"gpt-6-luna","critic":null,"checks":["primary_source_verified","source_fresh","one_story","copy_contract"],"novelty":null,"editorial_value":"medium","human_review":"selective"},"citations":[{"claim":"","quotes":["Managed mode in Amazon Bedrock AgentCore Gateway now works in subnets that a network account shares with the Gateway account."],"cite_url":"https://github.com/aws-samples/sample-bedrock-agentcore-gateway-hub-spoke-inspection#:~:text=Managed%20mode%20in%20Amazon%20Bedrock%20AgentCore%20Gateway%20now%20works%20in%20subnets%20that%20a%20network%20account%20shares%20with%20the%20Gateway%20account.","source_url":"https://github.com/aws-samples/sample-bedrock-agentcore-gateway-hub-spoke-inspection","publisher":"github.com"},{"claim":"For each target in managed mode, the Gateway account must own the required security group.","quotes":["Update, November 2026: Amazon VPC Lattice added support for participant accounts to create a resource gateway in a shared VPC subnet ( VPC Lattice document history )."],"cite_url":"https://github.com/aws-samples/sample-bedrock-agentcore-gateway-hub-spoke-inspection#:~:text=Update%2C%20November%202026%3A%20Amazon%20VPC%20Lattice%20added%20support%20for%20participant%20accounts%20to%20create%20a%20resource%20gateway%20in%20a%20shared%20VPC%20subnet%20%28%20VPC%20Lattice%20document%20history%20%29.","source_url":"https://github.com/aws-samples/sample-bedrock-agentcore-gateway-hub-spoke-inspection","publisher":"github.com"},{"claim":"","quotes":["Each target in managed mode needs a security group owned by the Gateway account."],"cite_url":"https://github.com/aws-samples/sample-bedrock-agentcore-gateway-hub-spoke-inspection#:~:text=Each%20target%20in%20managed%20mode%20needs%20a%20security%20group%20owned%20by%20the%20Gateway%20account.","source_url":"https://github.com/aws-samples/sample-bedrock-agentcore-gateway-hub-spoke-inspection","publisher":"github.com"},{"claim":"In that pattern, the network account owns the VPC Lattice resource gateway and routes it through Transit Gateway and an inspection VPC.","quotes":["We retested the lab on 23 November 2026: see checks 4 and 4c in docs/validation-checks.md and the output in evidence/retest-2026-11-23/ . The network-owned pattern in this repository is unchanged and still works as described.","The network-owned pattern in this repository is unchanged and still works as described."],"cite_url":"https://github.com/aws-samples/sample-bedrock-agentcore-gateway-hub-spoke-inspection#:~:text=We%20retested%20the%20lab%20on%2023%20November%202026%3A%20see%20checks%204%20and%204c%20in%20docs%2Fvalidation%2Dchecks.md%20and%20the%20output%20in%20evidence%2Fretest%2D2026%2D11%2D23%2F%20.%20The%20network%2Downed%20pattern%20in%20this%20repository%20is%20unchanged%20and%20still%20works%20as%20described.&text=The%20network%2Downed%20pattern%20in%20this%20repository%20is%20unchanged%20and%20still%20works%20as%20described.","source_url":"https://github.com/aws-samples/sample-bedrock-agentcore-gateway-hub-spoke-inspection","publisher":"github.com"},{"claim":"It shares one resource configuration per backend with the AgentCore account through AWS RAM.","quotes":["A network account owns the Amazon VPC Lattice resource gateway, routes it through AWS Transit Gateway and the inspection VPC, and shares one resource configuration per backend with the AgentCore account through AWS Resource Access Manager (AWS RAM)."],"cite_url":"https://github.com/aws-samples/sample-bedrock-agentcore-gateway-hub-spoke-inspection#:~:text=A%20network%20account%20owns%20the%20Amazon%20VPC%20Lattice%20resource%20gateway%2C%20routes%20it%20through%20AWS%20Transit%20Gateway%20and%20the%20inspection%20VPC%2C%20and%20shares%20one%20resource%20configuration%20per%20backend%20with%20the%20AgentCore%20account%20through%20AWS%20Resource%20Access%20Manager%20%28AWS%20RAM%29.","source_url":"https://github.com/aws-samples/sample-bedrock-agentcore-gateway-hub-spoke-inspection","publisher":"github.com"},{"claim":"Requests and replies between Gateway and private APIs or MCP servers cross the central firewall, while application accounts do not manage VPCs, subnets or routes.","quotes":["A network account owns the Amazon VPC Lattice resource gateway, routes it through AWS Transit Gateway and the inspection VPC, and shares one resource configuration per backend with the AgentCore account through AWS Resource Access Manager (AWS RAM)."],"cite_url":"https://github.com/aws-samples/sample-bedrock-agentcore-gateway-hub-spoke-inspection#:~:text=A%20network%20account%20owns%20the%20Amazon%20VPC%20Lattice%20resource%20gateway%2C%20routes%20it%20through%20AWS%20Transit%20Gateway%20and%20the%20inspection%20VPC%2C%20and%20shares%20one%20resource%20configuration%20per%20backend%20with%20the%20AgentCore%20account%20through%20AWS%20Resource%20Access%20Manager%20%28AWS%20RAM%29.","source_url":"https://github.com/aws-samples/sample-bedrock-agentcore-gateway-hub-spoke-inspection","publisher":"github.com"},{"claim":"This continues the previously described hub-and-spoke design for centrally inspected private API access.","quotes":["Requests and replies between AgentCore Gateway and your private APIs and MCP servers both cross the firewall, and application accounts never manage VPCs, subnets, or routes."],"cite_url":"https://github.com/aws-samples/sample-bedrock-agentcore-gateway-hub-spoke-inspection#:~:text=Requests%20and%20replies%20between%20AgentCore%20Gateway%20and%20your%20private%20APIs%20and%20MCP%20servers%20both%20cross%20the%20firewall%2C%20and%20application%20accounts%20never%20manage%20VPCs%2C%20subnets%2C%20or%20routes.","source_url":"https://github.com/aws-samples/sample-bedrock-agentcore-gateway-hub-spoke-inspection","publisher":"github.com"},{"claim":"It describes the code as an educational demonstration requiring further review, hardening and security testing before production use.","quotes":["The repository includes a retest script and evidence for the shared-subnet configuration.","We retested the lab on 23 November 2026: see checks 4 and 4c in docs/validation-checks.md and the output in evidence/retest-2026-11-23/ ."],"cite_url":"https://github.com/aws-samples/sample-bedrock-agentcore-gateway-hub-spoke-inspection#:~:text=The%20repository%20includes%20a%20retest%20script%20and%20evidence%20for%20the%20shared%2Dsubnet%20configuration.&text=We%20retested%20the%20lab%20on%2023%20November%202026%3A%20see%20checks%204%20and%204c%20in%20docs%2Fvalidation%2Dchecks.md%20and%20the%20output%20in%20evidence%2Fretest%2D2026%2D11%2D23%2F%20.","source_url":"https://github.com/aws-samples/sample-bedrock-agentcore-gateway-hub-spoke-inspection","publisher":"github.com"},{"claim":"The lab uses AWS Network Firewall; it does not test third-party firewalls or source NAT.","quotes":["Disclaimer This is sample code for demonstration and educational purposes only. It is not intended for production use without additional review, hardening, and security testing."],"cite_url":"https://github.com/aws-samples/sample-bedrock-agentcore-gateway-hub-spoke-inspection#:~:text=Disclaimer%20This%20is%20sample%20code%20for%20demonstration%20and%20educational%20purposes%20only.%20It%20is%20not%20intended%20for%20production%20use%20without%20additional%20review%2C%20hardening%2C%20and%20security%20testing.","source_url":"https://github.com/aws-samples/sample-bedrock-agentcore-gateway-hub-spoke-inspection","publisher":"github.com"},{"claim":"As shipped, it runs only in us-east-1 and requires three dedicated non-production member accounts, each with an AWS CLI profile.","quotes":["The lab uses AWS Network Firewall; we didn't test third-party firewalls or source NAT."],"cite_url":"https://github.com/aws-samples/sample-bedrock-agentcore-gateway-hub-spoke-inspection#:~:text=The%20lab%20uses%20AWS%20Network%20Firewall%3B%20we%20didn%27t%20test%20third%2Dparty%20firewalls%20or%20source%20NAT.","source_url":"https://github.com/aws-samples/sample-bedrock-agentcore-gateway-hub-spoke-inspection","publisher":"github.com"},{"claim":"Its scripts deploy and delete whole account footprints, including IAM roles, and should not be run in accounts with other workloads.","quotes":["Region: us-east-1 only as shipped.","Three dedicated, non-production member accounts and an AWS CLI profile for each: lab-hub (network), lab-spoke1 (AgentCore), and lab-spoke2 (tool)."],"cite_url":"https://github.com/aws-samples/sample-bedrock-agentcore-gateway-hub-spoke-inspection#:~:text=Region%3A%20us%2Deast%2D1%20only%20as%20shipped.&text=Three%20dedicated%2C%20non%2Dproduction%20member%20accounts%20and%20an%20AWS%20CLI%20profile%20for%20each%3A%20lab%2Dhub%20%28network%29%2C%20lab%2Dspoke1%20%28AgentCore%29%2C%20and%20lab%2Dspoke2%20%28tool%29.","source_url":"https://github.com/aws-samples/sample-bedrock-agentcore-gateway-hub-spoke-inspection","publisher":"github.com"}],"schema_version":"newruntime-agent-readable-v0.2","stable_id":"post:amazon-bedrock-agentcore-gateway-to-private-apis-in-0b55b3","status":"published","visuals":[],"editor":{"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]},"routes":{"html":"https://newruntime.com/posts/amazon-bedrock-agentcore-gateway-to-private-apis-in-0b55b3/","markdown":"https://newruntime.com/posts/amazon-bedrock-agentcore-gateway-to-private-apis-in-0b55b3.md","json":"https://newruntime.com/posts/amazon-bedrock-agentcore-gateway-to-private-apis-in-0b55b3.json"},"markdown_url":"https://newruntime.com/posts/amazon-bedrock-agentcore-gateway-to-private-apis-in-0b55b3.md","next_reads":[{"type":"topic","path":"/topics/agent-tools/","url":"https://newruntime.com/topics/agent-tools/","title":"Agent Tools","reason":"Explore the agent-tools topic hub.","media_type":"text/html","markdown_url":"https://newruntime.com/topics/agent-tools.md","json_url":"https://newruntime.com/topics/agent-tools.json"},{"type":"topic","path":"/topics/infrastructure/","url":"https://newruntime.com/topics/infrastructure/","title":"Infrastructure","reason":"Explore the infrastructure topic hub.","media_type":"text/html","markdown_url":"https://newruntime.com/topics/infrastructure.md","json_url":"https://newruntime.com/topics/infrastructure.json"},{"type":"topic","path":"/topics/security/","url":"https://newruntime.com/topics/security/","title":"Security","reason":"Explore the security topic hub.","media_type":"text/html","markdown_url":"https://newruntime.com/topics/security.md","json_url":"https://newruntime.com/topics/security.json"},{"type":"collection","path":"/posts/","url":"https://newruntime.com/posts/","title":"Field Notes","reason":"Open the latest editorial analysis.","media_type":"text/html","json_url":"https://newruntime.com/posts.json"},{"type":"collection","path":"/sources/","url":"https://newruntime.com/sources/","title":"Sources","reason":"See the original sources this archive cites.","media_type":"text/html"}]}
