Set Up Stakpak with Amazon Bedrock
Use Amazon Bedrock as your LLM provider for Stakpak
Prerequisites
AWS Account with Amazon Bedrock access enabled in your target region.
AWS Credentials Configured locally via
~/.aws/credentialsor~/.aws/config(SSO, IAM user, or instance profile)Amazon Bedrock Model Access: You must request model access in the AWS Console for the models you want to use (e.g., Anthropic Claude)
Step 1: Install Stakpak
curl -sSL https://stakpak.dev/install.sh | shFull installation guide: Install Stakpak
Step 2: Configure AWS Credentials
Stakpak's Bedrock provider uses your local AWS credentials. Make sure one of these is set up:
And you need to have these Required IAM Permissions
AWS Named Profile (Recommended)
If you already use aws configure or AWS SSO, you likely have profiles in ~/.aws/config:
Log in to refresh your session:
IAM User Access Keys
Environment Variables
Required IAM Permissions
Your IAM identity needs the following permissions for Bedrock:
Step 3: Enable Model Access in AWS Console
Before Stakpak can call any model, you must request access in the Bedrock console:
Open the Amazon Bedrock Console
Navigate to Model access in the left sidebar
Click Manage model access
Select the models you want (e.g., Anthropic -> Claude 4 Sonnet)
Submit the request (most models are approved instantly)
Step 4: Authenticate Stakpak with Bedrock
References
Last updated