Available on the Enterprise plan. OpenAI model routing must be enabled for your organization. Contact sales to learn more.
AWS Bedrock (OpenAI API) is supported only on AWS EC2 Runners.
Prerequisites
- Your organization has OpenAI model routing enabled.
- You have an AWS EC2 runner configured in Ona.
- Your AWS account has access to the required OpenAI GPT-5.6 models in Bedrock.
- You have a Bedrock API key. See Generate an Amazon Bedrock API key.
Understand endpoints and model profiles
The endpoint hostname identifies the AWS region that receives the request:global. prefix is part of the model identifier. It does not replace the region in the hostname. AWS routes global inference-profile requests across supported commercial AWS regions.
Add the integration with the UI
- Go to the Runners settings page.
- Select the AWS EC2 runner where you want to configure Bedrock.
- Scroll to LLM Providers.
- Click Configure.
- Select AWS Bedrock (OpenAI API).
- Enter the AWS region for the Bedrock Runtime endpoint, such as
us-east-1. - Paste your Bedrock API key into API Key.
- Click Create Integration.
app.ona.com.
Add the integration with the CLI
Verify the integration
- Create a new environment with the configured AWS EC2 runner.
- Start Codex Agent.
- Confirm that the agent can answer a simple code question.
- Check your AWS Bedrock usage to confirm that requests use an OpenAI GPT-5.6 global inference profile.
FAQ
Why does a global model profile use a regional endpoint?
Why does a global model profile use a regional endpoint?
The regional hostname selects the Bedrock Runtime API endpoint that receives the request. The
global. model prefix tells AWS to use global cross-region inference for that model.Can I use IAM credentials instead of a Bedrock API key?
Can I use IAM credentials instead of a Bedrock API key?
No. This Ona integration uses Bedrock API-key bearer authentication. The deprecated Anthropic integration uses runner IAM credentials with the native Bedrock API and is configured separately.
Troubleshooting
AWS Bedrock (OpenAI API) is not shown
AWS Bedrock (OpenAI API) is not shown
This option is available only on AWS EC2 runners when OpenAI model routing is enabled for your organization. It is not shown on GCP runners.
Authentication fails
Authentication fails
Confirm that the key is an active Bedrock API key and that its permissions allow access to the selected OpenAI GPT-5.6 model. Do not paste AWS access-key credentials into the API key field.
Bedrock rejects model requests
Bedrock rejects model requests
Confirm that the configured AWS region supports the OpenAI GPT-5.6 global inference profile and that the Bedrock API key has permission to use it. Check the AWS Bedrock service status if requests continue to fail.