AWS ML ★ 71 5 min

Supercharge regulated workloads with Claude Code and Amazon Bedrock

Amazon BedrockIntermediate (200)Technical How-to

🔗 https://aws.amazon.com/blogs/machine-learning/supercharge-regulated-workloads-with-claude-code-and-amazon-bedrock/

📌 【Anthropic Claude 進駐 GovCloud】受 ITAR 列管的開發團隊,也能用 AI 寫程式了

TL;DR:Claude Opus 5.5、Claude Sonnet 5.5 登陸 AWS GovCloud,讓受法規管制的團隊能用 Claude Code 做 AI 輔助開發。

對受出口管制、國防合約等高度監管產業的工程團隊來說,「用上最新的 AI coding 工具」長期是奢侈品,不是技術跟不上,而是合規要求不允許。AWS 這次把 Claude Opus 5.5 與 Claude Sonnet 5.5 帶進 GovCloud (US),試圖打開這道門。

🤔 為什麼法規場域一直進不了 AI coding 的門

AWS GovCloud (US) Regions 是專為美國客戶的高度合規需求設計的環境,涵蓋 ITAR 等出口管制規範。Claude Sonnet 5 已取得 FedRAMP Class D(原 High)認證,以及 DoD Impact Level 4/5(IL4/IL5)授權;Claude Opus 5.5 與 Claude Sonnet 5.5 在 Amazon Bedrock 上同樣取得 FedRAMP Class D 認證(文中提醒需自行查核模型最新認證狀態)。Amazon Bedrock 的客戶內容不會被儲存、記錄或用來訓練 AWS 模型,也不會分享給第三方,這些是此方案能進入監管場域的基礎。

🧩 兩種端點、同一顆推論引擎

AWS GovCloud (US) 上的 Amazon Bedrock 提供兩種端點,皆由同一套具 Zero Operator Access(ZOA)架構的 Mantle 推論引擎驅動:

  • bedrock-runtime:走 AWS SDK(InvokeModel、Converse API),支援 Amazon Bedrock Guardrails、Knowledge Bases、Agents 與呼叫紀錄,是大多數新應用、尤其需要稽核軌跡場景的建議選擇。
  • bedrock-mantle:原生支援 Anthropic Messages API,可使用目前僅該介面提供的能力,例如伺服器端工具、背景推論與 Projects。

兩種端點皆支援 Claude Opus 5.5、Claude Sonnet 5.5 與 Claude Sonnet 5,其中 bedrock-runtime 同時在 US-West 與 US-East 兩個 GovCloud 區域可用,bedrock-mantle 目前僅限 US-West。

Claude Code 是 Anthropic 的 agentic coding 工具,能讀取整個程式碼庫、編輯檔案、執行指令,並整合既有開發工具,可在終端機、VS Code/JetBrains 等 IDE 中使用,也能透過 Claude Agent SDK 在背景執行。設定流程大致是:先用 AWS CLI 設好憑證並安裝 Claude Code,登入時選擇「3rd-party platform」→「Amazon Bedrock」,依精靈選擇驗證方式、區域(us-gov-west-1)並釘選模型版本;若之前已設定過,可執行 /setup-bedrock 重新開啟精靈調整憑證、區域或模型釘選。大規模或自動化部署則可改用環境變數設定。設定完成後執行 /status,確認 provider 顯示為「Amazon Bedrock」或「Amazon Bedrock (Mantle)」即代表成功連線。

🎯 實務啟示:企業導入前要想清楚的幾件事

文章建議導入前先確立身份與治理架構:用 AWS IAM Identity Center 集中管理 Claude Code 的身份與存取權限,讓開發者改用暫時性、角色型憑證,取代靜態 access key;開 Claude Code 前先以 aws configure sso --profile <PROFILE_NAME> 設定好 SSO 設定檔,再用 aws sso login 登入。大型企業可考慮採用 AWS 官方的 Guidance for Claude Code with Amazon Bedrock,統一管理 AI 資源存取並取得開發者使用狀況的可觀測性。另外務必依活躍開發者人數檢視並設定足夠的 TPM(每分鐘 token 數)與 RPM(每分鐘請求數)配額。模型版本也建議釘選:若不釘選,Claude Code 的模型別名預設會解析到 Claude Opus 5.5,等於整團隊都用 Opus 的計費費率,要維持在 Sonnet 需明確設定 ANTHROPIC_MODEL 為完整模型 ID,並用 ANTHROPIC_DEFAULT_OPUS_MODEL、ANTHROPIC_DEFAULT_SONNET_MODEL 控制團隊升級新模型的時機。

⚠️ 不是每個組織都適用

文章開頭特別聲明,這篇內容僅供參考,所述方案未必適合所有組織或合規計畫,仍須對照自身組織的合規要求與法規義務逐一評估。另外要注意,Guardrails 與呼叫紀錄功能目前僅透過 bedrock-runtime 端點提供,若合規需求仰賴這兩項功能,就不能只用 bedrock-mantle。

🔗 來源

#ClaudeCode #AmazonBedrock #Anthropic #AWSGovCloud #FedRAMP #AIAssistedDevelopment #RegulatedWorkloads #ITAR #CloudSecurity #DevOps

原始資料 AWS ML · 收集於 2026-10-05
來源原標題
Supercharge regulated workloads with Claude Code and Amazon Bedrock
作者
Bradley Wyman
原始標籤
Amazon Bedrock · Intermediate (200) · Technical How-to
原始連結
https://aws.amazon.com/blogs/machine-learning/supercharge-regulated-workloads-with-claude-code-and-amazon-bedrock/

摘要原文

Please note that the following post is intended for informational purposes only. The approach detailed below may not be suitable for all organizations or compliance programs. It is important to evaluate this potential solution against the compliance requirements of your organization and any applicable regulatory obligations you may have. The availability of Anthropic Claude Opus 5.5 and Claude Sonnet 5.5 in the AWS GovCloud (US) Regions introduces an on-ramp for AI-assisted development for workloads with regulatory or compliance requirements, including International Traffic in Arms Regulations (ITAR). Claude Sonnet 5 holds FedRAMP Class D (formerly High) certification and DoD Impact Level 4 and 5 (IL4/IL5) authorization, and Claude Opus 5.5 and Claude Sonnet 5.5 hold FedRAMP Class D certification on Amazon Bedrock ( verify current model certification status ). In this post, we explore how to use these models on Amazon Bedrock in AWS GovCloud (US) with Claude Code , Anthropic’s agentic coding tool. With this solution, you can run AI-assisted workflows that speed up everyday development tasks while maintaining compliance alignment. AWS GovCloud (US) Regions are designed specifically for US customers with elevated compliance needs . You can deploy generative AI workloads to sensitive environments while maintaining compliance controls. Amazon Bedrock is built with security-focused features, including: Built-in data protection where customer content isn’t stored, logged, or used to train AWS models or shared with third parties. FedRAMP Class D (formerly High) certification and DoD Cloud Service Provider (CSP) SRG IL4/IL5 authorization pathways, supporting government agencies’ compliance requirements. See the Amazon Bedrock models compliance page for current model-level certification status. Integration with existing security controls and compliance frameworks available in AWS GovCloud (US), maintaining the same high security standards as other AWS Regions while providing additional authorization pathways. Amazon Bedrock in AWS GovCloud (US) supports two endpoint surfaces, bedrock-runtime and bedrock-mantle, both powered by the same underlying Mantle inference engine with Zero Operator Access (ZOA) architecture. The bedrock-runtime endpoint uses the AWS SDK (InvokeModel and Converse APIs) and supports Amazon Bedrock Guardrails, Amazon Bedrock Knowledge Bases, Agents, and invocation logging. This makes it the recommended choice for most new applications, particularly those requiring audit trails. The bedrock-mantle endpoint supports the Anthropic Messages API natively and provides access to capabilities currently available only on that surface, such as server-side tools, background inference, and Projects . Both endpoints are available for Claude Opus 5.5, Claude Sonnet 5.5, and Claude Sonnet 5, with bedrock-runtime available in both AWS GovCloud (US) Regions (US-West and US-East) and bedrock-mantle available in AWS GovCloud (US-West). Claude Code is Anthropic’s agentic coding tool that reads your codebase, edits files, runs commands, and integrates with your development tools. Powered by models such as Claude Opus 5.5 and Claude Sonnet 5.5 on Amazon Bedrock in AWS GovCloud (US), it operates directly in your terminal, your preferred integrated development environments ( IDEs ) such as VS Code and JetBrains, and in the background with the Claude Agent SDK . Claude Code understands your entire codebase and can work across multiple files and tools to get things done. Claude Code can: To learn more, see Anthropic’s articles: Claude Code tutorials and Claude Code: Best practices for agentic coding . This section provides step-by-step instructions for setting up and configuring Claude Code to work with Amazon Bedrock in AWS GovCloud (US), including prerequisites, installation commands, environment configuration, and verification steps. Before you get started, make sure that you have the following in place: After configuring AWS CLI with your credentials, install Claude Code using one of the following methods: For additional installation methods, see Claude Code installation docs . At the login prompt, select 3rd-party platform , then Amazon Bedrock . Follow the wizard prompts to choose your authentication method, region (us-gov-west-1), and pin your models. The wizard saves configuration to your settings file automatically. If you have previously configured Claude Code, run /setup-bedrock to reopen the wizard and update your credentials, region, or model pins. For scripted or enterprise deployments, set the following environment variables: To use Claude Opus 5.5 as the primary model instead: To pin specific model versions for consistent team deployments: Then navigate to your project and launch Claude Code: Bedrock Mantle supports the Anthropic Messages API natively and is available in AWS GovCloud (US-West). To route Claude Code through Mantle: When both bedrock-runtime and bedrock-mantle are needed in the same session: Note: Guardrails and invocation logging are available exclusively through the bedrock-runtime endpoint. For deployments requiring these compliance features, use the bedrock-runtime endpoint (Option A or B). Verify that Claude Code is running by checking for the Welcome to Claude Code! message in your terminal. Run the /status command to confirm your model and provider. The provider line should show Amazon Bedrock or Amazon Bedrock (Mantle) depending on your configuration. To learn more about configuring Claude Code for Amazon Bedrock, see Claude Code on Amazon Bedrock . With Claude Code now generally available, the next step is deciding how to deploy it across your organization. Consider your foundational architecture for security, governance, and compliance: Use AWS IAM Identity Center to centrally govern identity and access to Claude Code. This verifies that only authorized developers have access. Additionally, using IAM Identity Center, developers can access resources with temporary, role-based credentials , alleviating the need for static access keys and helping enhance security. Prior to opening Claude Code, make sure that you configure AWS CLI to use an IAM Identity Center profile by using aws configure sso --profile <PROFILE_NAME> . Then log in using the profile you created: aws sso login --profile <PROFILE_NAME> . Consider automated configuration of default environment variables. This includes the environment variables outlined in this post, such as AWS_REGION , CLAUDE_CODE_USE_BEDROCK , ANTHROPIC_MODEL , ANTHROPIC_DEFAULT_OPUS_MODEL , and ANTHROPIC_DEFAULT_SONNET_MODEL . This will configure Claude Code to automatically connect to Amazon Bedrock, providing a consistent baseline for development across teams. Organizations can start by providing developers with self-service instructions, or use settings files to manage configuration centrally. Consider implementing Guidance for Claude Code with Amazon Bedrock for large enterprise deployments. The guidance helps organizations deploy Claude Code while maintaining strict control over AI resource access, connecting to existing identity infrastructure and providing observability for developer productivity and usage patterns. Review service quotas and set appropriate tokens per minute (TPM) and requests per minute (RPM) based on the number of active developers. Make sure that you have enough TPM and RPM quotas to support your team’s usage. For guidance, follow the rate limit recommendations . Pin model versions for consistent team deployments. Without pinning, model aliases such as sonnet and opus resolve to Claude Code’s built-in defaults, which may change between releases. Claude Code defaults to Claude Opus 5.5 as its primary model, so an unpinned deployment is billed at the Opus per-token rate. To keep teams on Claude Sonnet 5.5, set ANTHROPIC_MODEL to its full model ID. Use ANTHROPIC_DEFAULT_OPUS_MODEL and ANTHROPIC_DEFAULT_SONNET_MODEL to control when your team moves to a new model.

由 claude-code/sonnet 自動生成