From the source
Amazon published a guide for running
OpenAI Codex against Amazon Bedrock, aimed at platform teams that want Codex without building a second model-access, identity and operations stack.
- Codex still runs on the developer workstation, and the design choice is how its model requests reach Bedrock and where policy and operational controls are applied.
- The post recommends starting with Native AWS Access for a small, least-privilege pilot, and offers AgentCore Gateway when a team wants AWS managed gateway infrastructure for routing or Amazon Bedrock Guardrails, or an LLM Gateway when controls must sit in the request path.
- A custom integration is described as the advanced version of the LLM Gateway pattern rather than a quick start.
- The examples use GPT-5.6 Sol and come from the open source Guidance for Codex on AWS repository, which includes quick starts for Native AWS Access, AgentCore Gateway, LiteLLM on ECS, Portkey and the AWS Distro for OpenTelemetry.
- The walkthrough has three checks: sign in with an IAM Identity Center profile and call Amazon Bedrock Runtime directly, point Codex at the approved model, then run a safe Codex task.






