Configure AWS Bedrock as a Model Provider
See the steps for adding an AWS Bedrock model provider and configuring authentication.
Supported Authentication Methods
Dremio supports two authentication methods for AWS Bedrock:
- Access keys
- IAM role (role-based projects only)
Prerequisites
- AWS account with Bedrock access
- Appropriate permissions to create IAM users/roles
- 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 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.
-
For Secret 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.
IAM Role Authentication
Step 1: Create an Amazon Bedrock IAM Role
-
In your AWS account, navigate to IAM Console > Roles > Create role.
-
On the Select trusted entity page, under Trusted entity type, select the radio button for Custom trust policy.
-
Delete the current JSON policy and paste in the custom trust policy template below.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowAssumeRoleWithExternalId",
"Effect": "Allow",
"Principal": {
"AWS": "<project data access role ARN>"
},
"Action": "sts:AssumeRole",
"Condition": {
"StringEquals": {
"sts:ExternalId": "<organization ID>"
}
}
}
]
}
-
Replace
<project data access role ARN>with your Dremio project's data access role ARN (found in Settings > Project Storage > AWS Cross-Account Role ARN). -
Replace
<organization ID>with your Dremio organization ID (found in Settings > Organization). -
Click Next.
-
On the Add permissions page, search for and select
AmazonBedrockLimitedAccess. -
Click Next.
-
On the Name, review, and create page, enter a role name (e.g.,
DremioBedrockRole). -
Click Create role.
-
Note the Role ARN from the role summary page (e.g.,
arn:aws:iam::<your-account-id>:role/DremioBedrockRole).
Step 2: Update Project Data Access Role
In this step, you will add permission to assume the Bedrock role in your project's data access role.
-
In your AWS account, navigate to IAM Console > Roles.
-
Select your project's data access role.
-
Add this inline policy:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowAssumeRoleForBedrock",
"Effect": "Allow",
"Action": "sts:AssumeRole",
"Resource": "<bedrock role ARN>"
}
]
}
- Replace
<bedrock role ARN>with the ARN of the Bedrock role created in Step 1.
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 IAM Role.
-
For IAM Role ARN, enter the ARN from Step 1 (e.g.,
arn:aws:iam::<your-account-id>:role/DremioBedrockRole). -
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 AmazonBedrockLimitedAccess permission, you have signed the one-time accept terms for Claude (if using), and the region is correct for the selected model.
-
For access dentied errors with an IAM role, check that the trust policies and external ID match your organization ID.
-
For "Role Not Found" errors, verify the Role ARN is correct and ensure the role exists in the specified AWS account.
-
For model access denied errors, check the model availability in your selected region. If using Claude models, submit the Anthropic use case form.