Amazon Bedrock Claude Code: setup, model access, and limits

Kenneth Pangan
Written by

Kenneth Pangan

Stanley Nicholas
Reviewed by

Stanley Nicholas

Last edited September 9, 2026

Expert Verified
Illustration of a presenter pointing to a flip chart

What changes when Claude Code runs through Bedrock

Claude Code remains a coding agent. Bedrock supplies the model endpoint and AWS authentication path. Anthropic's Bedrock guide documents the required Bedrock switch and AWS region; AWS credentials or IAM roles authorize model access. Claude Code still runs commands on its host; using Bedrock does not put every tool, local file, or connected service inside AWS.

This can fit teams that already govern model usage through AWS. It also means the AWS account owner must grant the model access and the runtime permission deliberately. Do not paste long-lived keys into a shell profile or repository. Prefer the credential mechanism your organization already audits.

Set up and verify the model path

First, submit the Anthropic-model use-case form in the Bedrock Model catalog once for the AWS account, then confirm the intended model is enabled in the intended region. For an individual, run claude, choose 3rd-party platform > Amazon Bedrock, and use the wizard. It can use an AWS profile, Bedrock API key, access-key credentials, or environment credentials, verify accessible models, and save the configuration. For CI or a managed rollout, Claude Code uses the default AWS SDK credential chain: configure an AWS profile or other approved credential source, then set CLAUDE_CODE_USE_BEDROCK=1. Set AWS_REGION only to override the active profile’s region or when no profile region exists; run /status to see the resolved region.

Grant IAM permissions for the approved model and inference profile, rather than copy broad or long-lived credentials into a repository. For a team rollout, pin explicit Bedrock model or inference-profile IDs after checking availability. Anthropic’s guide shows ANTHROPIC_MODEL='us.anthropic.claude-sonnet-4-6' as an inference-profile example, but valid IDs depend on the AWS account and region. A base model ID from an old guide can fail with a routing error.

Validate with a small repository task before using production code. Ask Claude Code to explain one non-sensitive module and run an existing focused test. Check /status for the resolved region and provider, then check the selected model, any AWS permission error, and the test result. Treat a successful explanation as connectivity evidence, not proof that the agent is safe to modify a production service. Bedrock WebSearch is unavailable on this path, so verify required feature availability before committing to it.

A manual SSO example

For an approved AWS SSO profile, Anthropic documents this route. Replace your-profile-name with a profile your administrator configured:

Bash
aws sso login --profile=your-profile-name
export AWS_PROFILE=your-profile-name
export CLAUDE_CODE_USE_BEDROCK=1
claude

In the session, check /status and confirm the selected model. Current region resolution checks AWS_REGION, AWS_DEFAULT_REGION, the active profile, then us-east-1. Explicitly approve the resolved region rather than relying on the fallback. The wizard can also be reopened with /setup-bedrock.

For a fleet, review the documented IAM configuration with your AWS administrator. Invocation needs bedrock:InvokeModel and streaming access through bedrock:InvokeModelWithResponseStream; inference-profile discovery and resolution use ListInferenceProfiles and GetInferenceProfile. Limit resources to the intended models/profiles where supported. Do not copy a broad sample policy unchanged into production.

Diagnose the failing layer

SymptomFirst check
Sign-in or expired-credential errorActive profile, SSO session, role, and credential refresh
Access denied on invocationIAM policy, selected resource, and account model access
Model/profile errorExact ID, region, and available inference profile
ThrottlingWorkload concurrency and the relevant AWS service quota
Unexpected cost increaseActual selected model, long context, retries, and cache usage

Changing a permission prompt in Claude Code cannot fix an AWS IAM denial. Likewise, a successful model call does not prove that repository changes or later eesel actions are authorized.

Pricing and limits to check

Use the current AWS Bedrock pricing page for the selected model, region, and inference mode. Do not reuse a Claude 3-era price table for a current model or assume that a batch discount applies to an interactive Claude Code session. Model input and output usage are only part of the cost. Budget for retries, long codebase context, and engineering review. Check AWS quotas and observed throttling on the workload you expect, not only a single prompt.

AWS and Anthropic also document different feature availability across Bedrock and Anthropic-operated AWS offerings. If you need a particular API feature, beta capability, or agent skill, verify it on the Bedrock route before committing to the architecture.

Use Bedrock-backed Claude Code to review an eesel teammate

Once Claude Code is configured, you can ask it to use eesel CLI for a support task alongside your engineering work. For example: “Compare our approved release note with the support teammate's instructions and propose a correction to its troubleshooting guidance.”

The coding agent calls the CLI and reads its JSON output. A person can run the same commands directly, or put approved inspection commands in a script. They operate the same eesel teammate and workspace as the dashboard—not a copy hosted in Bedrock.

After signing in to the intended eesel workspace, inspect an existing teammate:

Bash
npx @eesel/cli whoami
npx @eesel/cli status --agent "Product support"
npx @eesel/cli instructions --agent "Product support"

Node.js 18.17+ is required. Confirm the agent name and owner-approved access before sharing the returned content with a coding agent. AWS authentication does not authorize eesel, and the data the coding agent reads may enter its model context. Review that data flow under your organization's policy.

Suppose an approved release note says a renamed account setting is now under Preferences, while the teammate's instructions still refer to Profile. Ask Claude Code to identify the stale sentence and propose the smallest correction, citing the supplied release note. It should flag missing evidence rather than guess a UI location.

The support owner reviews the proposed diff. Check instructions --help for the edit syntax and preview a supported write with --dry-run before applying it. Inspect the saved instructions through the CLI or dashboard. Then, after checking action permissions, test a synthetic question about the renamed setting and a case involving an older product version. Chat is real, billed work; inspect activity and test actual helpdesk delivery separately.

This keeps the responsibilities visible: AWS governs Claude Code's model access, eesel governs its workspace teammate, and connected systems retain their own permissions. Try eesel

Zendesk integration settings and teammate chat in the eesel dashboard
Zendesk integration settings and teammate chat in the eesel dashboard

Frequently Asked Questions

Can Claude Code use Amazon Bedrock?

Yes. Anthropic documents a Bedrock configuration using AWS authentication, an AWS region, and Bedrock-compatible model or inference-profile settings.

What access is needed for Amazon Bedrock Claude Code?

You need AWS credentials with the relevant Bedrock model access and IAM permissions. Confirm the permitted model and region with your AWS administrator.

Why might a Bedrock Claude model ID fail?

Newer Claude models may require an inference-profile ID or ARN rather than a base model ID. Check the current Bedrock model and region documentation.

Does Claude Code use AWS CLI configuration for its region?

Current Claude Code checks AWS_REGION, AWS_DEFAULT_REGION, the active AWS profile's region, then us-east-1. Older versions differ. Use /status to verify the resolved region; do not assume a default meets your data-location requirements.

How should teams validate the configuration?

Run a small, non-sensitive repository task, inspect the model and AWS error output, then test permissions and quotas before using production code.

Is Bedrock feature parity guaranteed?

No. AWS and Anthropic document different API surfaces and feature availability, so verify the capability you need on the Bedrock path.

Does eesel CLI run my support teammate inside Bedrock?

No. Claude Code can call eesel CLI while using Bedrock for its own model. eesel CLI connects separately to your eesel workspace and operates the same teammate as its dashboard. AWS credentials do not grant eesel access, and eesel's service is not moved into your AWS account.

Share this article

Kenneth Pangan

Article by

Kenneth Pangan

Writer and marketer for over ten years, Kenneth Pangan splits his time between history, politics, and art with plenty of interruptions from his dogs demanding attention.

Related Posts

All posts →
A guide to `npm install claude-code`: Features, limitations, and alternatives
Guides

How to install Claude Code: npm, brew & setup (2026)

Thinking about using npm install claude-code? This guide provides an overview of Anthropic's agentic coding assistant, from setup and features to its real-world limitations, helping you make an informed decision for your team.

Kenneth PanganKenneth PanganSep 29, 2025
Claude Code lettering beside a person and a gear illustration
Guides

Claude Code for Desktop: local, cloud, and permission choices

Use Claude Code for Desktop across local, cloud, and SSH sessions. Learn what each environment can access, how permissions differ, and how eesel CLI fits a scoped support review.

Kurnia Kharisma Agung SamiadjieKurnia Kharisma Agung SamiadjieJan 9, 2026
A person holding a gear beside the words Claude Code on a peach background
Guides

Claude Code plugins: build and share reusable workflows in 2026

Learn what Claude Code plugins contain, when to use one instead of a project skill, how to test it locally, and how to connect a reviewed eesel CLI workflow.

Stevia PutriStevia PutriJan 9, 2026
A developer at a terminal directing Claude Code, an agentic AI coding assistant, through an explore-plan-implement-commit workflow.
Guides

How to prompt Claude Code: a practical guide to better results

A practical guide to how to prompt Claude Code: be specific, plan before you code, give it a way to verify, and manage your context window like a budget.

Rama Adi NugrahaRama Adi NugrahaJun 17, 2026
Claude Code terminal workflow with Anthropic logo on warm off-white editorial background
Guides

Claude Code review (2026): Anthropic's agentic coding tool, tested

We tested Claude Code across every surface and plan. Here's what the $17/mo Pro plan actually delivers, when the $100/mo Max plan makes sense, and our honest take on the rate limits.

Stevia PutriStevia PutriJun 4, 2026
A complete guide to model configuration in Claude Code
Guides

A complete guide to model configuration in Claude Code

Master model configuration in Claude Code with our detailed overview. We break down the models, configuration methods, pricing, and why developer-only tools aren't enough for total business automation.

Stevia PutriStevia PutriSep 30, 2025
White label AI: A complete guide for 2025
Guides

White label AI in 2026: Platforms, pricing & setup

White label AI sounds tempting until you realize most platforms just slap your logo on generic tools. The real value comes from deep integration, not shallow rebranding.

Kenneth PanganKenneth PanganAug 28, 2025
A complete guide to monitoring Claude Code in 2025
Guides

A complete guide to monitoring Claude Code in 2025

Tired of hitting opaque Claude Code limits? This guide breaks down the best methods for monitoring Claude Code, from simple local tools to full observability stacks, helping you track tokens, manage costs, and understand your AI's true ROI.

Kenneth PanganKenneth PanganSep 30, 2025
A guide to using Claude Code for a codebase overview in 2025
Guides

A guide to using Claude Code for a codebase overview in 2025

Claude Code is a powerful AI tool for developers needing a codebase overview. But what about the rest of your company's knowledge? Our 2025 guide covers Claude Code's features, pricing, and limitations, and introduces a better way to make all your business information accessible.

Stevia PutriStevia PutriSep 29, 2025

Ready to hire your AI teammate?

Set up in minutes. No credit card required.

Get started free