How to securely expose Amazon Bedrock AgentCore Runtime externally
Securely exposing Amazon Bedrock AgentCore Runtime
AWS released a practical guide giving two reference architectures for securely exposing Amazon Bedrock AgentCore Runtime externally, both with deployable AWS CDK examples. Pattern A connects through Amazon API Gateway; a Lambda authorizer validates JWTs issued by Amazon Cognito; a composite session ID prevents cross-user session leakage; a DynamoDB counter rate-limits per user; a proxy Lambda forwards through a VPC endpoint and passes the user token through unchanged; and security groups and resource policies tighten the network boundary. Pattern B connects through AgentCore Gateway; an interceptor binds user identity claims as an encrypted short-lived session context key to support long unattended tasks; a Cedar policy engine performs boundary authorization; M2M token exchange provides workload isolation; and AWS WAF and rate limiting are natively integrated.