How to Set It Up
Step 1: Get Your API Key
- Log in: Go to AWS Console
- Open Bedrock: Visit Bedrock Console
- Make an API Key: Create a new Long Lived API Key
- Use the default setting:
AmazonBedrockLimitedAccess - See what this allows
- Use the default setting:
Step 2: Set Permissions
You need these permissions:- To see model lists in CodinIT, add
bedrock:ListFoundationModelspermission - For Claude models, use
AmazonBedrockLimitedAccesspolicy - For Anthropic models, fill out the First Time Use form in the Playground
Step 3: Pick a Region
Choose where the AI runs (closer = faster):us-east-1(Virginia, USA)us-west-2(Oregon, USA)eu-west-1(Ireland, Europe)ap-southeast-1(Singapore, Asia)
Step 4: Connect to CodinIT
- Install CodinIT in VS Code
- Click the settings icon (⚙️)
- Choose AWS Bedrock as your AI provider
- Enter your API Key
- Type your AWS Region (like
us-east-1) - Pick a Model (like
anthropic.claude-3-5-sonnet-20241022-v2:0) - Save and test it
Staying Safe
- Use secure login: Use AWS SSO instead of API keys when you can
- Network safety: Consider using AWS PrivateLink
- Watch activity: Turn on CloudTrail to see what’s happening
- Control costs: Use AWS Cost Explorer and set up billing alerts
- Check regularly: Review your settings and logs often
Good to Know
- Cost: You pay for what you use - see AWS Bedrock Pricing
- Security: Meets HIPAA and SOC 2 Type II standards
- Help: AWS Bedrock User Guide
- Best practices: AWS IAM Best Practices
