In short.
This AWS deployment guide helps platform teams provide private, centrally authenticated Claude Code access, but operating and adapting its example infrastructure remains the customer's responsibility. It explains ECS Fargate and EKS deployment paths, PostgreSQL session storage, Secrets Manager integration and IAM-role access to Amazon Bedrock without placing model credentials on developer machines. It also covers streaming timeouts, telemetry, developer billing attribution and team model restrictions. Adoption requires existing networking and identity infrastructure, managed device settings and AWS operational expertise. Total cost, production reliability and performance are unknown; no deployment or code execution was performed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage is limited to the complete selected documentation page at [https://code.claude.com/docs/en/claude-apps-gateway-on-aws.md], including its customer-managed deployment notices, both compute paths, companion-bundle descriptions, troubleshooting, telemetry and cost attribution. Linked documentation, repository files, images as separate assets, AWS references and deployment samples are excluded. No commands, code, infrastructure or developer journeys were executed. Deployment correctness, security behavior, performance, reliability and actual cost remain unverified.
The overview
Identity
Deploy Claude apps gateway on AWS is a worked deployment guide in the Claude Code documentation at [https://code.claude.com/docs/en/claude-apps-gateway-on-aws.md]. The resource is the guide itself, which teaches how to operate the gateway on customer-managed AWS infrastructure.
Its main upstream is Amazon Bedrock. The page also identifies Claude Platform on AWS as an alternative upstream, with different credentials and IAM permissions. A companion repository is described as providing an ECS provisioning script, configuration template, Dockerfile and Terraform example.
Assessment
The guide is useful for understanding how corporate identity, private networking and AWS model access fit together. It goes beyond resource creation to explain important integration details: separate ECS task and execution roles, database certificate verification, trusted proxy ranges, private DNS and developer device configuration.
Its main limitation is explicit: this is a working example rather than a supported production deployment. The detailed commands provide an implementation starting point, but do not establish capacity, availability, recovery behavior or suitability for a particular organization's security requirements.
Users
The strongest fit is an AWS platform, infrastructure or developer enablement team that wants developers to use corporate sign-in while model requests use centrally managed AWS permissions. Developers are the gateway's users; administrators perform the deployment and distribute its connection settings.
Beginners can use the architecture and explanations to understand the components, but completing the walkthrough requires familiarity with IAM, VPC networking, containers, DNS, certificates and an identity provider. The EKS path additionally assumes Kubernetes administration experience and an existing cluster.
Capabilities
The documented gateway provides a private HTTPS endpoint, OpenID Connect sign-in and IAM-authenticated forwarding to Claude models on Bedrock. PostgreSQL holds session state, Secrets Manager supplies credentials, and an internal Application Load Balancer fronts either ECS Fargate tasks or EKS pods.
The page also describes group-based model restrictions, per-developer AWS billing attribution through assumed roles and team attribution through tagged Bedrock application inference profiles. Developer spend caps are discussed, although their full configuration is on an excluded linked page.
Optional telemetry forwarding sends authenticated client OpenTelemetry exports to configured collectors. Metrics are the default signal when forwarding is configured; logs and traces require separate choices. The gateway relays telemetry without buffering, aggregating or storing it, so collection and retention depend on the destination.
Using it
Requirements
The walkthrough requires an AWS account with provisioning permissions, authenticated AWS CLI v2, Docker and an existing VPC with two private subnets in different Availability Zones. Its baseline networking uses NAT for outbound access to AWS services and the identity provider.
Identity and endpoint prerequisites include an OIDC application, a gateway hostname, an ACM certificate and private DNS. Okta is the worked identity-provider example; the page supplies adjustments for Microsoft Entra ID. Administrators must also obtain the appropriate prebuilt Claude binary for the container architecture.
The EKS track requires kubectl, eksctl, an existing cluster in the database's VPC, a cluster IAM OIDC provider and the AWS Load Balancer Controller. Developers need private network access and managed settings delivered to their machines. The default model catalog and IAM example assume US inference profiles; other geographies require explicit model and ARN changes.
Mechanism
Developers connect through an internal HTTPS load balancer and authenticate against the corporate identity provider. The gateway forwards their model requests using its ECS task role or EKS IAM Roles for Service Accounts, known as IRSA. This keeps model credentials off developer machines. On ECS, a separate execution role handles image pulls and secret injection.
The example uses PostgreSQL 16 with encrypted storage and enforced TLS. Its connection string uses sslmode=verify-full to verify the database certificate and hostname, with the AWS RDS certificate bundle trusted through NODE_EXTRA_CA_CERTS. The page warns that adding sslrootcert to this gateway driver's connection URL causes a server error.
The configured public_url determines the gateway's public origin and OAuth callback. Client IP forwarding is trusted only from configured proxy ranges. Because the suggested ranges cover the load balancer's subnets, those subnets must exclude untrusted workloads that could forge forwarded client addresses.
Setup
Provisioning proceeds through security groups, IAM permissions and Bedrock account access, private RDS storage, gateway configuration and three Secrets Manager secrets. The image build then incorporates the appropriate binary, configuration and RDS trust bundle before pushing a versioned image to ECR.
The ECS path creates a task definition and service behind an internal IPv4 load balancer. It specifies HTTPS policy, log retention, a deployment circuit breaker and readiness checks against /readyz. The EKS path uses IRSA, a ConfigMap, mounted secret files and an annotated Ingress; complete Kubernetes manifests are delegated to linked documentation.
Device configuration is a required final step. Administrators must distribute forceLoginMethod, forceLoginGatewayUrl and parentSettingsBehavior set to merge through device management; developers cannot manually choose a gateway from the login picker.
The page describes setup.sh as an idempotent ECS provisioning helper, with some identity, certificate, DNS and device-management steps remaining manual. Its Terraform alternative requires creating ECR first, building and pushing the image, then applying the remaining infrastructure. Neither linked implementation is included in the supplied evidence.
Example
The page illustrates separating platform-team and data-team model spending. Administrators create a Bedrock application inference profile for each team and model, attach team tags, activate those tags for cost allocation and map distinct gateway model IDs to the profiles. Identity-group rules then restrict each team to its permitted IDs.
A developer starts a session with a team-specific model ID, such as claude --model data-claude-opus-4-8 in the page's example. These names illustrate configuration; they do not independently establish current model availability. For someone working across both teams, the guide uses a dedicated combined group and places its rule before the single-team rules because the first matching rule normally applies.
The example also shows a consequential default: an unmatched developer receives the full model catalog unless an explicit catch-all rule restricts access. Team billing choices do not create separate developer spend caps; the page describes one developer total and cap per period.
Assessment & evidence
Limitations
The ECS example requests one running task. It does not establish a highly available deployment or provide throughput, concurrency, latency, recovery-time or load-test results. The readiness check depends on database reachability; an optional grace setting can accommodate short database outages, but its behavior in a particular deployment is unassessed.
The gateway's login check requires every resolved address to be private. The guide therefore specifies an IPv4 internal load balancer to avoid public-range IPv6 records. It also warns that secrets passed as literal CLI arguments can appear in process listings and monitoring logs, and recommends protected files on shared or monitored hosts.
ECS configuration is embedded in the image, so configuration changes require a new image tag and deployment. The companion script reportedly downloads the RDS CA bundle only when absent, requiring deliberate refresh for certificate updates. EKS audit logs need separate collection before they reach CloudWatch.
The sample session lifetime is eight hours, with shorter settings suggested for tighter deprovisioning behavior. Actual revocation timing, secret rotation, provisioning-script rerun safety and end-to-end recovery remain unverified.
Reasoning
The architecture centralizes identity and model permissions while reducing credential distribution to individual machines. The corresponding operational tradeoff is that gateway compute, database connectivity, identity integration and private networking become shared dependencies for developer access.
As an architectural inference, ECS Fargate is likely the more direct starting point for a team without an established Kubernetes platform because this page supplies its task definition and service commands. EKS may fit an existing cluster and operating model, but adds controller, service-account, secret-mounting and log-collection dependencies. The evidence does not quantify either path's effort or reliability.
Alternatives
Within this guide, the principal infrastructure choices are ECS Fargate and EKS. For ECS provisioning, administrators can follow the AWS CLI walkthrough, use the described setup.sh helper or use the Terraform example. The script and Terraform bundle cover ECS rather than providing equivalent EKS automation.
The page identifies Claude Platform on AWS as an upstream alternative to Bedrock, and Microsoft Entra ID or another OIDC-compliant provider as alternatives to Okta. Their credentials, permissions and identity claims require corresponding configuration changes.
The page also links to AWS-maintained deployment samples at [https://github.com/aws-samples/anthropic-on-aws/tree/main/claude-apps-gateway]. Those samples and the platform-agnostic deployment guide were not included, so their implementation quality, costs and relative suitability are unknown.
Evidence
The evidence consists of the complete captured documentation page at [https://code.claude.com/docs/en/claude-apps-gateway-on-aws.md], retained as selected-page.txt. Its recorded size is 52,220 bytes and its source revision is sha256:9e3af8eeb5f39a42feafa28ab1a6fb02e851e6a68a75c98d2a6a74d51449d45e.
The page supplies architecture descriptions, commands, configuration excerpts, troubleshooting guidance and explicit deployment caveats. Its claims about the companion script, Dockerfile and Terraform bundle are descriptions rather than evidence from inspecting those files. Linked references, repository contents and runtime results are outside the supplied material.
Access & freshness
Costs
The page supplies no dollar prices or total operating estimate. Budgeting must account for model usage and the selected infrastructure: compute, RDS, load balancing, NAT or service endpoints, storage, secrets and observability. Identity-provider and certificate costs are also unspecified. Total cost remains unknown.
By default, AWS attributes Bedrock requests to one gateway principal. Optional per-developer attribution assumes a second IAM role with the developer's email as its session name, requiring one STS call per active developer per hour per gateway replica. Seeing the resulting spend requires an AWS billing export that includes IAM principal data.
Team attribution uses tagged application inference profiles and requires configuration that grows with the number of teams multiplied by models. The page describes Bedrock CountTokens as free for spend metering, but provides no measured operating costs or reconciliation results. Usage telemetry is retrospective; the page identifies gateway spend limits as the live enforcement mechanism.
Rights
The supplied page contains no explicit license for the documentation, gateway binary or companion code. Its public availability and GitHub links do not establish redistribution or modification rights. Applicable software entitlements, repository licenses, service terms and contractual support rights remain unknown from this evidence.
Freshness
The documentation snapshot was captured on 2026-11-15 at 00:24:37.390 UTC. The supplied text provides no publication or last-updated date, so the capture time does not establish when its instructions were authored or revised.
The page states that gateways v2.1.229 and later send keepalive pings for quiet Bedrock or Claude Platform on AWS streams, and that per-developer assume_role attribution requires Claude Code v2.1.281 or later. These are documented feature thresholds, not evidence of the latest release or compatibility with every deployment. Current regional model availability and AWS service behavior remain unverified.
Actions
Before adopting the example, confirm the intended AWS region, model access, private network path, identity-provider claims, certificate and device-management capability. Choose ECS or EKS according to the infrastructure your team can operate, and review the linked deployment requirements and exact companion files before using them.
Adapt the sample for availability, database recovery, secret and certificate rotation, log retention and developer offboarding. Restrict trusted proxy ranges, verify the IAM resources cover the intended inference profiles and add an explicit fallback model-access rule.
Validate sign-in, streaming, database certificate checks, readiness behavior, group restrictions and billing attribution in an isolated environment before relying on the deployment. Obtain an infrastructure and model-usage estimate; the page alone cannot establish operating cost or production readiness.
