Configuring Amazon Bedrock AgentCore Gateway for secure access to private resources
AWS•How-to••by Eashan Kaushik, Thomas Veppumthara, Rohin Meduri and Sahil Palvia•AWS Artificial Intelligence Blog
In this post, you will configure Amazon Bedrock AgentCore Gateway to access private endpoints using Resource Gateway, a managed construct that provisions Elastic Network Interfaces (ENIs) directly inside your Amazon VPC, one per subnet. You will explore two implementation modes (managed and self-managed) and walk through three practical scenarios: connecting to a private Amazon API Gateway endpoint, integrating with a MCP server on Amazon Elastic Kubernetes Service (Amazon EKS), and accessing…
AgentCore Gateway can now reach private endpoints in your VPC through a Resource Gateway, in managed or self-managed mode, and trust private CA certificates on targets.
Who it is for
Teams running AI agents on AgentCore that need to call internal APIs or MCP servers without public internet exposure.
Key points
Managed mode: AgentCore creates and manages the Resource Gateway, one ENI per subnet; this mode is not cross-account natively.
Self-managed Lattice mode: you own the Resource Gateway and configurations, supports cross-account via AWS RAM, and adds an hourly charge for the service network association.
Private CA certificates are attached as a reference (S3 or Secrets Manager) on a target; expired certificates break tool calls and CRLs/OCSP are not checked.
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.