Deployment Options
Claude Code can be deployed through multiple cloud providers and configurations.
Cloud Providers
Direct API (Default)
Use Anthropic's API directly with your API key.
bash
export ANTHROPIC_API_KEY=sk-ant-xxxxx
claudeAmazon Bedrock
Enterprise AWS integration with Bedrock.
bash
export CLAUDE_CODE_USE_BEDROCK=1
export AWS_REGION=us-east-1Google Vertex AI
Deploy through Google Cloud Platform.
bash
export CLAUDE_CODE_USE_VERTEX=1
export ANTHROPIC_VERTEX_PROJECT_ID=your-projectMicrosoft Foundry
Coming soon - Azure integration.
Comparison
| Feature | Anthropic API | Bedrock | Vertex AI |
|---|---|---|---|
| Setup Complexity | Low | Medium | Medium |
| Enterprise Features | Limited | Full | Full |
| SSO/IAM | No | Yes | Yes |
| VPC Support | No | Yes | Yes |
| Billing | Pay-as-you-go | AWS | GCP |
| Models | All | Select | Select |
Choosing a Provider
Use Anthropic API if:
- You want the simplest setup
- You need access to all Claude models immediately
- You're an individual developer or small team
Use Amazon Bedrock if:
- You're already in the AWS ecosystem
- You need enterprise IAM and security
- You require VPC and compliance features
Use Google Vertex AI if:
- You're already in the GCP ecosystem
- You need enterprise authentication
- You want to leverage GCP's AI infrastructure