Set up OpenAI ChatGPT Codex with LiteLLM on Amazon ECS and Amazon Bedrock
Deploy a customer-operated LiteLLM gateway on Amazon ECS with AWS Fargate, connect it to an OpenAI model on Amazon Bedrock, and configure Codex to route.
By Dillip Chowdary • Sep 06, 2026 • Source: AWS Machine Learning Blog

At a glance
- Gateway
- LiteLLM on Amazon ECS with AWS Fargate
- Model
- OpenAI model on Amazon Bedrock
- Client
- Codex via the gateway's Responses API
- Controls
- scoped identities, budgets, rate limits, telemetry
- Compared against
- direct IAM Identity Center access
In this post
01What happened
Set up OpenAI ChatGPT Codex with LiteLLM on Amazon ECS and Amazon Bedrock. Deploy a customer-operated LiteLLM gateway on Amazon ECS with AWS Fargate, connect it to an OpenAI model on Amazon Bedrock, and configure Codex to route requests through the gateway's Responses API with scoped identities, budgets, rate limits, and telemetry. We also compare direct IAM Identity Center access and a…
Advertisement
Tech Pulse Daily
Get tomorrow's pulse first
Join engineers who read Tech Pulse before stand-up. Free, weekday mornings.
02How it works
03Who is affected
Cross-check release notes and official docs before changing production systems based on early reporting.
Author
Dillip Chowdary
Writes Tech Bytes coverage of AI, engineering, and the tools that actually ship. Editor of Tech Pulse Daily.
Related on Tech Bytes
Advertisement