Deploying Anthropic Claude apps gateway for AWS for enterprise workloads
The Claude apps gateway provides a self-hosted governance layer for Anthropic Claude applications on AWS, enabling centralized controls over authentication, model access, cost attribution, and spend enforcement. The reference deployment topology uses AWS Fargate, Amazon RDS, and Amazon Route 53 to manage requests and state. The gateway authenticates to Amazon Bedrock using an AWS IAM role and stores credentials in AWS Secrets Manager. The practical implication for engineers building AI systems is the ability to deploy and manage Claude applications with enterprise-grade security and governance.
⚡ Key Takeaways
- The Claude apps gateway runs on AWS Fargate inside a virtual private cloud (VPC) and can also run on Amazon EKS or Amazon EC2.
- The gateway uses Amazon Relational Database Service (Amazon RDS) for PostgreSQL to store short-lived sign-in state and per-user spend counters.
- The gateway authenticates to Amazon Bedrock using an AWS IAM role and stores credentials in AWS Secrets Manager.
- The load balancer idle timeout should be configured to exceed the longest expected interval without data to prevent connection termination.
- The gateway issues a short-lived bearer token, valid for one hour by default, after authentication through an OpenID Connect (OIDC) identity provider.
The Claude apps gateway provides a critical layer of governance and security for enterprise deployments of Anthropic Claude applications on AWS, enabling administrators to manage authentication, model access, and cost attribution at scale. This is particularly important for large-scale AI deployments, where security and governance are paramount.
✅ Practical Steps
- Run the Claude apps gateway using the Claude Code CLI binary with the command `claude gateway --config gateway.yaml`.
- Configure the load balancer idle timeout to exceed the longest expected interval without data.
- Set up Amazon RDS for PostgreSQL to store short-lived sign-in state and per-user spend counters.
Want the full story? Read the original article.
Read on AWS ML Blog ↗