Bedrock Access Gateway
OpenAI-Compatible RESTful APIs for Amazon Bedrock
bedrock-access-gateway
aws-samples/bedrock-access-gateway
Just deployed
OpenAI-compatible RESTful APIs for Amazon Bedrock
This template sets up a gateway that allows you to access Amazon Bedrock models seamlessly through OpenAI APIs and SDKs. Perfect for testing Bedrock's foundation models without modifying your existing OpenAI-based applications.
Key Features:
- Support for Claude 3.7 Sonnet and DeepSeek R1 reasoning
- Streaming responses via SSE
- Model, Chat Completion, and Embedding APIs
- Tool Call and Multimodal API support
- Cross-Region Inference
- Flexible deployment: ALB + Lambda or ALB + Fargate
Requirements:
- AWS account with access to Amazon Bedrock foundation models
- Available in regions supporting Amazon Bedrock (e.g., us-west-2)
Ideal for AI developers looking to expand their model options without extensive code changes.
Template Content
bedrock-access-gateway
aws-samples/bedrock-access-gatewayAWS_REGION
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY