AIToday
Large Language ModelsAI Coding AssistantsAI Business & IndustryAmazon AI BlogPublished: Aug 12, 2026, 01:01 JST5 min read

AWS launches Claude apps gateway for enterprise governance controls

AWS launches Claude apps gateway for enterprise governance controls

Key takeaway

  • AWS has released Claude apps gateway, a self-hosted governance layer that sits between Claude Code and Claude Desktop applications and Amazon Bedrock or Claude Platform on AWS.

  • It provides centralized single sign-on through OIDC identity providers, server-side enforcement of model access policies (e.g., restricting certain teams to Claude Haiku), per-user cost attribution and spend caps, and automatic failover between multiple upstream providers.

  • The gateway runs on AWS Fargate, EKS, or EC2, stores session and spending data in Amazon RDS for PostgreSQL, and relays usage telemetry via OpenTelemetry Protocol to monitoring backends like Datadog, Splunk, or Amazon CloudWatch.

3 Key Points

  1. What happened

    AWS and Anthropic have released Claude apps gateway, a self-hosted governance layer that runs on AWS Fargate (or EKS or EC2) to centralize authentication, model access, cost tracking, and spend limits for Claude Code and Claude Desktop deployments. The gateway authenticates users via OIDC identity providers, validates requests server-side, routes inference to Amazon Bedrock or Claude Platform on AWS, and forwards usage telemetry via OpenTelemetry Protocol.

  2. Why it matters

    Enterprise teams deploying Claude across their workforce can now enforce consistent controls without distributing upstream credentials to developer machines. Single sign-on through existing identity providers (Okta, Microsoft Entra ID, Auth0, Keycloak, Amazon Cognito) enables instant offboarding, per-group policy enforcement (e.g., restricting contractors to Claude Haiku, denying web access), and per-user spend caps—reducing operational overhead and security risk at scale.

  3. What to watch

    The gateway enforces model access server-side, so developers cannot bypass restrictions by modifying clients. Bearer tokens are valid for one hour by default and refresh silently in the background. Deployment scripts, configuration templates, and operational guidance are available in the accompanying repository and deployment guide.

In Depth

Read the full story

Anthropic and AWS have released a production-ready reference deployment of Claude apps gateway, a self-hosted governance layer designed to manage Claude Code and Claude Desktop deployments across enterprise teams. The gateway runs in server mode, loaded via the same Claude Code CLI binary that developers already use, and can be deployed on AWS Fargate, Amazon Elastic Kubernetes Service (EKS), or Amazon Elastic Compute Cloud (EC2).

The reference architecture uses an internal Application Load Balancer to terminate TLS traffic, with Amazon Route 53 private hosted zones resolving the gateway to private IP addresses reachable through VPN or AWS Direct Connect. Session and spend-tracking state is stored in Amazon RDS for PostgreSQL, allowing any stateless gateway container to serve any request. The gateway authenticates to Amazon Bedrock using the IAM role assigned to the Fargate task, while the Claude Platform on AWS API key and other static credentials remain in AWS Secrets Manager—no upstream credentials are distributed to developer machines.

Authentication follows OAuth 2.0 device authorization grant. When a developer runs /login, the client opens a browser to authenticate through the organization's OIDC identity provider (such as Okta, Microsoft Entra ID, Auth0, Keycloak, or Amazon Cognito). The gateway issues a short-lived bearer token valid for one hour by default, with silent refresh handled in the background. This approach enables centralized single sign-on with instant offboarding—removing a user from the identity provider causes their session to expire within the TTL, with no credential rotation required. The gateway picks up group membership from the identity provider 1:1, with no translation layer or pre-created user directory.

For every inference request, the gateway validates the bearer token, resolves the developer's identity and group membership, applies the matching policy, evaluates the spend cap, and routes the request to Amazon Bedrock or Claude Platform on AWS. Policies are defined in YAML and evaluated in declaration order; the first match is selected and merged onto a catch-all base policy. For example, contractors can be restricted to Claude Haiku and Claude Sonnet 5 with web access denied, while engineers receive access to Claude Opus 4.8, Sonnet 5, and Haiku with allowed file operations and restrictions on reading secrets. Model access is enforced server-side, so a developer whose policy grants only Haiku cannot bypass this restriction even with a modified client. Changes to policies propagate to connected clients within one hour, requiring no action from developers.

The gateway relays client usage metrics (token usage, cost usage, and active time) over OpenTelemetry Protocol (OTLP) to a collector you configure, with metrics attributed to the authenticated developer's user ID, email, and group membership. Supported OTLP-compatible backends include Datadog, Splunk, Grafana, and Amazon CloudWatch through the AWS Distro for OpenTelemetry (ADOT) collector. Most deployments start with metrics only, which provide per-user cost and usage breakdowns without exposing sensitive data like source code or prompt content.

The gateway supports automatic failover across multiple upstreams in declared order, failing over on upstream unavailability, throttling, or timeouts. Organizations can configure multiple Amazon Bedrock regions or cross-provider fallback to Claude Platform on AWS. Spend caps are set at three levels—organization-wide defaults, per-group, and per-user overrides—each applying individually per developer, not as a shared pool. AWS Budgets and AWS Cost Explorer provide account-level cost visibility, while the gateway complements these tools with inline enforcement before inference occurs. Deployment scripts, configuration templates, and operational guidance are available in the accompanying repository and deployment guide.

Context & Analysis

The Claude apps gateway addresses a critical gap in enterprise AI deployment: the need to govern model access, costs, and identity at scale without distributing sensitive credentials to individual developers. Rather than relying only on account-level cost visibility tools like AWS Budgets and AWS Cost Explorer, the gateway provides inline spend enforcement before inference occurs, along with per-developer usage attribution. By delegating authentication to existing OIDC identity providers, it integrates seamlessly into existing organizational identity management, allowing IT teams to manage Claude access through the same groups and policies they already maintain for other enterprise systems.

The reference architecture demonstrates how to run the gateway as a stateless service on AWS Fargate, with session and spend state stored in Amazon RDS for PostgreSQL. This design allows any Fargate task to serve any request without sticky sessions, simplifying operations and enabling automatic failover. The gateway sits between Claude applications (running on developer machines) and backend inference providers (Amazon Bedrock or Claude Platform on AWS), giving enterprises a policy enforcement point they control.

FAQ

How do developers authenticate through the gateway?
Developers sign in once through browser single sign-on (SSO) via your OIDC identity provider (Okta, Microsoft Entra ID, Auth0, Keycloak, or Amazon Cognito). The gateway issues a short-lived bearer token valid for one hour by default and handles silent refresh in the background. No upstream credentials are distributed to developer machines.
How does the gateway enforce model access?
The gateway enforces model access server-side using policies defined in YAML, scoped by identity provider group. For example, contractors can be restricted to Claude Haiku and Claude Sonnet 5 only, while engineers receive access to Claude Opus 4.8, Sonnet 5, and Haiku. A developer whose group grants only Haiku cannot bypass the restriction even with a modified client.
What happens when a user is offboarded?
Offboarding is removing the user from your identity provider. Their session expires within the configured time to live (one hour by default), with no credential rotation required.
Amazon AI BlogRead Original Article

Get the latest Large Language Models news every morning

AI-summarized, only the topics you pick — one digest a day via Email, Slack, or Discord.

Free · takes 30 seconds · unsubscribe anytime

Ask AI

Ask AI anything about this article. Q&As are published on this page for other readers too.

Related Articles

Next articleAmazon, Google challenge The Trade Desk as ad tech rivals pivot

The AI news that matters, in one minute each morning.

Sign up free