Skip to main content

Overview

Amazon Bedrock provides access to foundation models from leading AI companies including Anthropic, Meta, Mistral, Cohere, and Amazon through a unified API with AWS security, compliance, and infrastructure. Service: bedrock (data plane) and bedrock-runtime (inference)

Supported Features

  • ✅ Chat Completions (Converse API)
  • ✅ Streaming
  • ✅ Embeddings
  • ✅ Image Generation (Stable Diffusion, Titan)
  • ✅ Function Calling (via Converse API)
  • ✅ Batch Inference
  • ✅ Model Customization (Fine-tuning)
  • ✅ Guardrails
  • ✅ Multiple Authentication Methods

Quick Start

Basic Configuration

Available Models

Anthropic Claude

Meta Llama

Mistral AI

Amazon Titan

Cohere

AI21 Labs

Stability AI

Authentication Methods

1. Access Keys (Default)

2. Assumed Role

3. IAM Role (EC2, ECS, Lambda)

4. Environment Variables

Advanced Features

Streaming

Function Calling (Converse API)

Embeddings

Image Generation

Batch Inference

Create batch jobs for cost-effective inference:

Cross-Region Inference

Use inference profiles for cross-region routing:

Multi-Region Configuration

Load balance across AWS regions:

Fallback Configuration

Fallback from Bedrock Claude to Anthropic:

Error Handling

Best Practices

  1. Use IAM roles - More secure than access keys
  2. Enable VPC endpoints - Private connectivity
  3. Request model access - Models require explicit access approval
  4. Use inference profiles - Better availability and routing
  5. Monitor with CloudWatch - Track usage and costs
  6. Set up guardrails - Content filtering and safety
  7. Use batch inference - Cost-effective for large workloads
  8. Implement retry logic - Handle throttling gracefully

Model Access

Before using models, request access in the AWS Console:
  1. Go to AWS Bedrock Console
  2. Navigate to Model access
  3. Click Manage model access
  4. Select models and request access
  5. Wait for approval (usually instant)
Models are region-specific. Request access in each region you plan to use.

Regional Availability

Bedrock is available in multiple AWS regions:
  • US: us-east-1, us-west-2
  • Europe: eu-central-1, eu-west-1, eu-west-3
  • Asia Pacific: ap-southeast-1, ap-northeast-1, ap-south-1
Model availability varies by region. Check the AWS Bedrock documentation for details.

Pricing

Bedrock pricing includes:
  • On-demand: Pay per request/token
  • Provisioned throughput: Reserved capacity
  • Model customization: Additional costs for fine-tuning

AWS Bedrock Pricing

View detailed Bedrock pricing

Anthropic

Direct Anthropic integration

Load Balancing

Multi-region load balancing

Guardrails

Content filtering

Batch Processing

Batch inference guide