Secure ingress connectivity to Amazon Bedrock AgentCore Gateway using interface VPC endpoints
AWS•How-to••by Dhawalkumar Patel, June Won, Thomas Veppumthara and Sindhura Palakodety•AWS Artificial Intelligence Blog
In this post, we demonstrate how to access AgentCore Gateway through a VPC interface endpoint from an Amazon Elastic Compute Cloud (Amazon EC2) instance in a VPC. We also show how to configure your VPC endpoint policy to provide secure access to the AgentCore Gateway while maintaining the principle of least privilege access.
AgentCore Gateway's data plane can now be reached through an AWS PrivateLink interface VPC endpoint, so agents in a VPC avoid the public internet for inbound requests.
Who it is for
Teams running AI agents in a VPC on AgentCore Gateway that must keep traffic private for compliance or isolation.
Key points
Only data plane (runtime) endpoints support the interface VPC endpoint; control plane calls still use the public endpoint.
Authentication and calls from the gateway to external tools still need internet connectivity.
Endpoint policies can restrict access to a gateway ARN; policy changes can take up to 15 minutes to apply.
With private DNS disabled, clients must send the original gateway hostname in the Host header.
AI:AgentCore Identity now trusts private certificate authorities, so agents can get tokens from self-hosted identity providers that use a private CA; the post walks through setup, CA rotation and protecting the trust store.
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:Managed Knowledge Base can now use AgentCore memory in one AgenticRetrieveStream call, restoring conversations, searching long-term memory, and saving turns, with per-user document ACLs.