跳到正文
原文
教程AWS Machine Learning Blog当事人· Andrew (Qingjie) Ren·· 2 小时前精选

如何将 Claude Code 扩展到 Amazon Bedrock AgentCore 上的远程会话

Extend Claude Code to remote sessions on Amazon Bedrock AgentCore with security controls

图片来自 AWS Machine Learning Blog
谁
AWS
引文
This post shows how to go a step further: run it as a remote agent on Amazon Bedrock AgentCore, a platform to build, connect, and optimize agents at scale, with any framework or model.

发生了什么

AWS 展示了如何在 Amazon Bedrock 上运行 Claude Code,将其置于隔离的 Amazon Bedrock AgentCore 运行时会话中,并将编码任务作为 GitHub 拉取请求返回。示例使用 Amazon Bedrock Guardrails 筛查任务提示,使用短期 GitHub 令牌,并在用户 AWS 账户的私有子网中运行。文章还介绍了部署和仓库设置步骤,以及安全控制和清理指南。

推荐理由

本指南介绍了隔离的 AgentCore 会话、短期 GitHub 凭证、私有网络和经人工审核的拉取请求如何配合使用,为团队提供了一种在其 AWS 账户内委派范围明确的编码任务的具体模式。

接下来读什么

查看这件事的完整进展AWS Shows How to Run Claude Code Tasks in Remote AgentCore Sessions

这件事到目前为止

AWS published a sample architecture for running Claude Code coding tasks in isolated Amazon Bedrock AgentCore sessions and returning each task as a GitHub pull request for review and merging. The sample screens prompts with Amazon Bedrock Guardrails, uses short-lived GitHub tokens, and runs in private subnets in the user's AWS account. Deploying the sample takes 15–25 minutes, with another 8–12 minutes to register a repository. The deployment continues to incur charges while idle for services including the NAT gateway, interface endpoints, AWS WAF, Cognito user pool, DNS Firewall, images, and logs. It sets a default $200 monthly Amazon Bedrock budget that sends email alerts but does not cap spending.

每天一封,跟上 AI 的重要变化

模型发布、价格变化、算力进展,附原始来源。免费,确认后开始发送,随时一键退订。 看一份往期日报 · 2026-11-06