DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix Now×
Skip to content
World desk4 min

How to Configure Claude Code to Use Amazon Bedrock

Run Claude Code through Amazon Bedrock by enabling Bedrock mode, setting AWS_REGION, authenticating with AWS, and checking model access and IAM permissions.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To run Claude Code through your AWS account, enable its Bedrock mode, set an AWS region explicitly, and provide working AWS credentials plus permission to invoke the Claude model you intend to use. The key setting is CLAUDE_CODE_USE_BEDROCK=1. Amazon Bedrock is distinct from Claude Platform on AWS, so use Bedrock’s model-access and credential setup—not the other service’s workspace or sign-in flow.

Before you configure Claude Code

You need an AWS account with Amazon Bedrock enabled, a region that supports the model you want, and access to that model. AWS notes that access can depend on Marketplace permissions, a valid payment method, and—depending on the model and access path—submitting Anthropic’s first-time use-case information. AWS says that first-time-use requirement does not apply to models accessed through the bedrock-mantle endpoint. Check AWS’s current model access instructions and model catalog for your account and target region; availability and access requirements can change.

As an Amazon Associate I earn from qualifying purchases.

These are separate checks: having AWS credentials does not by itself grant access to invoke a particular Anthropic model. You need both an accepted credential mechanism and the necessary account-level model access and IAM permissions.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Configure credentials and enable Bedrock mode

Claude Code uses the AWS SDK default credential chain for this workflow. Use the credential mechanism approved for your organization, such as an AWS CLI profile, environment credentials, an SSO profile after signing in, or an Amazon Bedrock bearer token. Anthropic’s Bedrock setup guide documents these options and the relevant environment variables.

#1 Best Overall
Amazon Echo Dot (newest model) - Vibrant sounding speaker, Designed for Alexa+, Great for bedrooms, dining rooms and offices, Charcoal
  • Your favorite music and content – Play music, audiobooks, and podcasts from Amazon Music, Apple Music, Spotify and others or via Bluetooth throughout your home.
  • Alexa is happy to help – Ask Alexa for weather updates and to set hands-free timers, get answers to your questions and even hear jokes. Need a few extra minutes in the morning? Just tap your Echo Dot to snooze your alarm.
  • Keep your home comfortable – Control compatible smart home devices with your voice and routines triggered by built-in motion or indoor temperature sensors. Create routines to automatically turn on lights when you walk into a room, or start a fan if the inside temperature goes above your comfort zone.
  • Do more with device pairing – Fill your home with music using compatible Echo devices in different rooms, or create a home theatre system with Fire TV.
  • Say goodbye to drop-offs and buffering - With eero Built-in, Echo Dot doubles as a mesh wifi extender, adding up to 1,000 sq. ft. of wifi coverage to your existing eero network.

For an SSO profile, first authenticate with the AWS CLI:

aws sso login --profile your-profile

Then set the Bedrock mode and region in the shell where you launch Claude Code. The region must be supplied as AWS_REGION; for this Claude Code configuration, do not rely on a region specified only in the AWS config file.

export CLAUDE_CODE_USE_BEDROCK=1
export AWS_REGION=us-east-1
# Optional: use a different region for the small/fast model
export ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION=us-west-2

The region values above are examples, not recommendations for every account. Choose a region where your intended model or inference profile is available. If you use a named AWS CLI profile, set AWS_PROFILE to its name in the same shell as appropriate for your setup.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Amazon Echo Dot (newest model) - Vibrant sounding speaker, Designed for Alexa+, Great for bedrooms, dining rooms and offices, Deep Sea Blue
  • Your favorite music and content – Play music, audiobooks, and podcasts from Amazon Music, Apple Music, Spotify and others or via Bluetooth throughout your home.
  • Alexa is happy to help – Ask Alexa for weather updates and to set hands-free timers, get answers to your questions and even hear jokes. Need a few extra minutes in the morning? Just tap your Echo Dot to snooze your alarm.
  • Keep your home comfortable – Control compatible smart home devices with your voice and routines triggered by built-in motion or indoor temperature sensors. Create routines to automatically turn on lights when you walk into a room, or start a fan if the inside temperature goes above your comfort zone.
  • Do more with device pairing – Fill your home with music using compatible Echo devices in different rooms, or create a home theatre system with Fire TV.
  • Say goodbye to drop-offs and buffering - With eero Built-in, Echo Dot doubles as a mesh wifi extender, adding up to 1,000 sq. ft. of wifi coverage to your existing eero network.

Anthropic’s guide also documents static AWS environment credentials and AWS_BEARER_TOKEN_BEDROCK. Avoid putting long-lived secrets in shell history, source control, or shared configuration; prefer the credential method your organization manages.

Choose a model identifier if you need an override

Claude Code can use ANTHROPIC_MODEL and ANTHROPIC_SMALL_FAST_MODEL to override model selection. Anthropic’s guide shows Bedrock model IDs and inference profile ARNs as possible values. Use the exact identifier available to your account and region, and check AWS’s current model catalog and inference-profile documentation before setting it.

The setup guide’s displayed default examples include Claude 3.7 Sonnet and Claude 3.5 Haiku identifiers. Treat those as historical examples rather than current model recommendations: model availability and identifiers may change. For on-demand throughput errors, Anthropic advises specifying the model by inference profile ID rather than using a bare model ID.

Rank #3
Amazon Echo Spot (newest model), Great for nightstands, offices and kitchens, Smart alarm clock, Designed for Alexa+, Black
  • MEET ECHO SPOT - A sleek smart alarm clock with Alexa and big vibrant sound. Ready to help you wake up, wind down, and so much more.
  • CUSTOMIZABLE SMART CLOCK - See time, weather, and song titles at a glance, control smart home devices, and more. Personalize your display with your favorite clock face and fun colors.
  • BIG VIBRANT SOUND - Enjoy rich sound with clear vocals and deep bass. Just ask Alexa to play music, podcasts, and audiobooks. See song titles and touch to control your music.
  • EASE INTO THE DAY - Set up an Alexa routine that gently wakes you with music and gradual light. Glance at the time, check reminders, or ask Alexa for weather updates.
  • KEEP YOUR HOME COMFORTABLE - Control compatible smart home devices. Just ask Alexa to turn on lights or touch the screen to dim. Create routines that use motion detection to turn down the thermostat as you head out or open the blinds when you walk into a room.

Grant the required IAM permissions

The IAM principal used by Claude Code needs permission to call Bedrock and, when applicable, list inference profiles. Anthropic’s example policy includes these actions:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • bedrock:InvokeModel
  • bedrock:InvokeModelWithResponseStream
  • bedrock:ListInferenceProfiles

Scope resources to the inference profiles and application inference profiles the user or service actually needs. Anthropic’s guide provides the ARN resource patterns; narrow them to the specific profiles in use rather than granting broad access where possible.

IAM permissions do not replace account-level model access or any required Marketplace setup. If a call is denied, verify both the IAM action/resource policy and the AWS account’s access to the selected Anthropic model.

Rank #4
Amazon Echo Dot (newest model) - Vibrant sounding speaker, Designed for Alexa+, Great for bedrooms, dining rooms and offices, Glacier White
  • Your favorite music and content – Play music, audiobooks, and podcasts from Amazon Music, Apple Music, Spotify and others or via Bluetooth throughout your home.
  • Alexa is happy to help – Ask Alexa for weather updates and to set hands-free timers, get answers to your questions and even hear jokes. Need a few extra minutes in the morning? Just tap your Echo Dot to snooze your alarm.
  • Keep your home comfortable – Control compatible smart home devices with your voice and routines triggered by built-in motion or indoor temperature sensors. Create routines to automatically turn on lights when you walk into a room, or start a fan if the inside temperature goes above your comfort zone.
  • Do more with device pairing – Fill your home with music using compatible Echo devices in different rooms, or create a home theatre system with Fire TV.
  • Say goodbye to drop-offs and buffering - With eero Built-in, Echo Dot doubles as a mesh wifi extender, adding up to 1,000 sq. ft. of wifi coverage to your existing eero network.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshoot common setup failures

Claude Code does not use Bedrock

Confirm that CLAUDE_CODE_USE_BEDROCK=1 is set in the environment of the process that launches Claude Code. Check that AWS_REGION is also explicitly set there; a region in the AWS config file alone is not sufficient for this Bedrock configuration.

The model or inference profile is unavailable in the region

Check the AWS model catalog and inference profiles available in the selected region. Use a supported region and a model or profile identifier available there. If the small/fast model is intended to run in another region, set ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION accordingly.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

You see an on-demand throughput error

Specify the model using an inference profile ID. A plain model ID may not be the right identifier for the throughput path being used.

Best Value
Amazon Echo Show 5 (newest model), Smart display, Designed for Alexa+, 2x the bass and clearer sound, Charcoal
  • Alexa can show you more - Echo Show 5 includes a 5.5” display so you can see news and weather at a glance, make video calls, view compatible cameras, stream music and shows, and more.
  • Small size, bigger sound – Stream your favorite music, shows, podcasts, and more from providers like Amazon Music, Spotify, and Prime Video—now with deeper bass and clearer vocals. Includes a 5.5" display so you can view shows, song titles, and more at a glance.
  • Keep your home comfortable – Control compatible smart devices like lights and thermostats, even while you're away.
  • See more with the built-in camera – Check in on your family, pets, and more using the built-in camera. Drop in on your home when you're out or view the front door from your Echo Show 5 with compatible video doorbells.
  • See your photos on display – When not in use, set the background to a rotating slideshow of your favorite photos. Invite family and friends to share photos to your Echo Show. Prime members also get unlimited cloud photo storage.

You see an access-denied error

Check that the active AWS identity has the required invocation action and that its resource scope covers the model or inference profile. Separately confirm account-level access, Marketplace prerequisites, and any required first-time use-case submission. A credential can authenticate successfully while still lacking permission to use the model.

Make sure you selected Amazon Bedrock, not Claude Platform on AWS

These are separate AWS-hosted routes for Claude. AWS operates Amazon Bedrock, which exposes Bedrock APIs such as Converse and InvokeModel. Anthropic operates Claude Platform on AWS, which uses the Anthropic Messages API. Their authentication, API surfaces, data-processing arrangements, feature availability, and compliance considerations differ. AWS describes the distinction in its service comparison.

Choose Bedrock when your organization specifically requires AWS-operated inference or AWS as the sole data processor, or is evaluating named AWS compliance programs. Do not treat that as a blanket compliance guarantee: confirm the service, program, configuration, and eligibility requirements that apply to your organization.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For individual developers, direct Bedrock configuration is the relevant path described above. AWS also documents an enterprise Claude Code solution using OIDC-based identity and access management for teams that want centralized control and observability; that organizational pattern is optional, not a prerequisite for a direct setup.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.