Configure AWS Bedrock as a Model Provider
See the steps for adding an AWS Bedrock model provider and configuring authentication.
Supported Authentication Methods
You can authenticate to AWS Bedrock using access keys. Follow the steps in Access Key Authentication to configure.
Prerequisites
- AWS account with Bedrock access
- For Anthropic models: Submit the model access form once per AWS account (see Enable Anthropic Models)
Access Key Authentication
Step 1: Create an Amazon Bedrock API Key
- In your AWS account, navigate to AWS Bedrock Console > API Keys.
- Click Create API Key.
Creating this key automatically creates a user with AmazonBedrockLimitedAccess permission.
Step 2: Generate an Access Key
- In your AWS account, go to IAM Console > Users.
- Select the created user (e.g.,
BedrockAPIKey-xxxxx). - Navigate to the Security credentials tab.
- Click Create access key.
- Save the Access Key ID and Secret Access Key.
Step 3: Configure in Dremio
- In the Dremio console, click
in the side navigation bar to go to the Settings page. - Select Preferences in the settings sidebar.
- Enable the AI Features flag.
- Click Add model provider.
- In the Add model provider dialog, select Amazon Bedrock as the model provider service.
- For Name, enter a name for the model provider.
- For Region, select your Bedrock region (e.g.,
us-east-1). - For Authentication Method, select Access Key.
- For Access Key ID, enter your access key ID.
- ForSecret Access Key, enter your secret access key.
- For Default Model ID, select the model you want to use as the default.
- (Optional) For Allowed Model IDs for AI Functions, select the models you want to make available for AI functions.
- Click Add.
Enable Anthropic Models
To use Anthropic models (e.g., Claude Sonnet 4.5):
- In your AWS account, navigate to AWS Bedrock Console > Model catalog.
- Select any Anthropic model (e.g., Claude Sonnet 4.5).
- Click Open in Playground.
- Complete the Anthropic use case form (one-time per AWS account).
Rate Limits
When using AWS Bedrock model providers, you may encounter rate limiting errors such as "429 Too Many Tokens (Rate Limit Exceeded)". This is particularly common with new AWS accounts that start with lower or fixed quotas.
If you experience rate limiting issues:
- Check your current quotas in the AWS Bedrock console.
- Request a quota increase from AWS Support by providing:
- Quota name
- Model ID
- AWS region
- Use case description
- Projected token and request usage
For more information about AWS Bedrock quotas and limits, see the AWS Bedrock User Guide.
Troubleshoot
-
For access denied errors with access keys, verify you are using the correct access key, the user has
AmazonBedrockLimitedAccesspermission, you have signed the one-time accept terms for Claude (if using), and the region is correct for the selected model. -
For model access denied errors, check the model availability in your selected region. For details, see Model support by AWS Region in Amazon Bedrock. If using Claude models, submit the Anthropic use case form.