1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Claude CodeをBedrockに切り替える簡易手順

1
Last updated at Posted at 2026-03-11

最近、Claude CodeのAPI障害が多いので、急ぎの際にサッとBedrockに切り替えられるように備忘。

1. AWSにログイン

AWS IICでSSO設定済みの前提です。

aws sso login --profile <your-profile-name>

※リセラーの古いアカウントとか、何らかの事情でSSOできない人は aws login しましょう。

2. 環境変数を設定してClaude Code起動

export AWS_PROFILE=your-profile-name
export AWS_REGION=us-east-1
export CLAUDE_CODE_USE_BEDROCK=1

claude

Enjoy!

ClaudeのPro/Maxプランと違い、青天井でAWS利用料が発生するため使いすぎに注意!

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?