---
title: "Deploy Stateless Kiweely Bridge in AWS, GCP, or Azure VPC"
description: "Deploy the signed, stateless Kiweely Bridge container inside your AWS, GCP, or Azure VPC with static egress IPs, Workday IP range enforcement, and zero storage."
url: https://kiweely.com/guides/deploy-stateless-kiweely-bridge-aws-gcp-azure-vpc
---

# Deploying a Stateless Kiweely Bridge Container Inside Your AWS, GCP, or Azure VPC

Architecture and deployment guide for running the Enterprise self-hosted Kiweely Bridge container inside AWS ECS/EKS, Google Cloud Run/GKE, or Azure Container Apps/AKS with NAT egress IP allowlisting in Workday Maintain IP Ranges.

-   **Checked** against Workday on November 27
-   Applies to **Enterprise Cloud/Security Engineers; AWS, GCP, Azure, Kubernetes; Kiweely Bridge**
-   5 min read
-   Published November 27
-   By Kiweely

Enterprise teams that prohibit Workday API traffic from traversing any third-party cloud can deploy the signed, stateless Kiweely Bridge container inside their own AWS, Google Cloud, Azure, or Kubernetes VPC. All REST, WQL, SOAP, and RaaS traffic flows directly between your VPC and your Workday tenant over static egress IPs you control, with zero persistent storage and zero database dependencies.

## Choosing Between Kiweely Cloud, Dedicated Setup, and Self-Hosted VPC

| Deployment mode | Where Workday traffic runs | Static IP for Workday `Maintain IP Ranges` | Infrastructure you operate | Plan tier |
| --- | --- | --- | --- | --- |
|  **Kiweely Cloud** | Kiweely’s zero-storage cloud | Shared egress | None | Standard company bands (from $499/mo) |
|  **Dedicated setup** | Isolated Kiweely workers dedicated to your company | Yes, fixed IP assigned to you | None | Enterprise (by quote) |
|  **Self-hosted container** | Signed container inside your AWS, GCP, Azure, or Kubernetes VPC | Yes, your own NAT gateway / Cloud NAT / Azure NAT Gateway IP | Container runtime, TLS ingress, secrets manager, image updates | Enterprise (by quote) |

Choose **Self-hosted container** when your data-residency or InfoSec policy requires zero external hops between Workday and your network perimeter, or when you already operate strict egress firewalling around Workday API clients.

## Reference Architecture Inside Your VPC

The Bridge container is completely stateless—no RDS, Cloud SQL, Redis, or persistent disk volumes are required:

text

```
[Claude / ChatGPT / Gemini]
        |  HTTPS (TLS 1.3) + Encrypted Session Handle
        v
[Your Cloud Load Balancer / Ingress (WAF + Public HTTPS)]
        |
        v
[Private Subnet: Kiweely Bridge Stateless Containers (2+ replicas)]
   - Decrypts locked handle in RAM only
   - Strips admin-blocked fields in RAM
   - Emits metadata-only logs (time, tenant, tool, status, latency)
        |
        v
[NAT Gateway with Static Public Egress IP(s)]
        |  HTTPS (Allowed in Workday Maintain IP Ranges)
        v
[Your Workday Tenant (REST / WQL / SOAP / RaaS)]
```

### Why Inbound HTTPS Must Remain Reachable by AI Vendors

Claude, ChatGPT, and Gemini invoke remote connectors over HTTPS from their respective cloud platforms, and employees’ browsers hit Bridge’s callback URI during OAuth 2.1 sign-in and write-approval cards. Put Bridge behind your standard cloud Layer-7 load balancer (AWS ALB, Google Cloud Load Balancing, or Azure Application Gateway / Front Door) with TLS 1.3 and WAF rules enabled, while keeping the containers themselves in private subnets with no direct public IPs.

## Step 1: Verify the Signed Container Image and Pin by Digest

Never deploy a floating `:latest` tag in Production.

1.  Pull the Kiweely Bridge Enterprise container image from the authorized registry into your internal artifact registry (Amazon ECR, Google Artifact Registry, or Azure Container Registry).
2.  Verify the container image signature (Cosign / Sigstore attestation provided with your Enterprise onboarding pack) in your CI/CD pipeline before promoting the image.
3.  Pin your deployment manifest to the immutable `sha256` digest so every autoscaled replica runs identical verified binaries.

## Step 2: Provision Secrets and Runtime Configuration

Inject configuration from AWS Secrets Manager, Google Secret Manager, or Azure Key Vault—never bake credentials into container images or commit them to Git.

| Configuration variable | Source | Purpose |
| --- | --- | --- |
| `BRIDGE_PUBLIC_BASE_URL` | Config / env | Public HTTPS hostname employees and AI assistants reach (must match Workday Redirection URI). |
| `BRIDGE_WORKDAY_TENANT_URL` | Config / env | Your Workday tenant REST/WQL/SOAP base endpoint. |
| `BRIDGE_WORKDAY_CLIENT_ID` | Secrets manager | OAuth 2.1 Client ID from Workday `Register API Client`. |
| `BRIDGE_WORKDAY_CLIENT_CRED` | Secrets manager | OAuth 2.1 client credential from Workday `Register API Client`. |
| `BRIDGE_HANDLE_ENCRYPTION_KEY` | KMS / Secrets manager | Symmetric key used to encrypt/decrypt the locked session handles carried by AI assistants. Rotate on a scheduled key-versioning cadence. |
| `BRIDGE_POLICY_CONFIG` | ConfigMap / Read-only mount | Exported tool allowlist and field-redaction policy generated by the Bridge AI admin agent. |

Run the container with a **read-only root filesystem** (`readOnlyRootFilesystem: true`), non-root UID, and all Linux capabilities dropped. Because Bridge writes nothing to disk, a read-only filesystem both hardens the container and proves statelessness to auditors.

## Step 3: Cloud-Specific Deployment Patterns

### AWS (ECS Fargate or EKS)

-   **Compute:** Run at least 2 Fargate tasks (or EKS pods across 2 Availability Zones) in private subnets. Start with `0.5 vCPU` / `1 GB RAM` per replica and autoscale on CPU or concurrent request count.
-   **Egress:** Route private subnet `0.0.0.0/0` traffic through a NAT Gateway backed by dedicated **Elastic IPs** (one per AZ).
-   **Ingress:** Terminate TLS 1.3 on an Application Load Balancer with ACM certificates and AWS WAF; forward to the Bridge target group on the container’s internal HTTP/HTTPS port.
-   **Logging:** Send stdout JSON metadata logs to CloudWatch Logs. Verify with a test query that logs contain only timestamp, tenant ID, tool name, HTTP status, and duration—never worker payloads.

### Google Cloud (Cloud Run or GKE)

-   **Compute:** Deploy on **Cloud Run** (fully managed, scales cleanly) or **GKE Autopilot** in your chosen US/EU region. Set minimum instances to `2` for Production to eliminate cold starts during OAuth redirects.
-   **Egress:** Attach Direct VPC Egress (or Serverless VPC Access) routed through **Cloud NAT** with manually reserved static external IP addresses so all outbound Workday calls originate from fixed IPs.
-   **Ingress:** Place Cloud Run behind an External Application Load Balancer with Cloud Armor and a Google-managed SSL certificate on your corporate subdomain.

### Microsoft Azure (Container Apps or AKS)

-   **Compute:** Deploy to **Azure Container Apps** (VNet-integrated internal/external environment) or **AKS** across availability zones.
-   **Egress:** Associate your VNet’s outbound subnet with an **Azure NAT Gateway** holding static Public IP addresses.
-   **Ingress:** Front with Azure Application Gateway (WAF v2) or Azure Front Door terminating TLS 1.3.

## Step 4: Lock Down Workday with `Maintain IP Ranges`

Once your static NAT egress IPs are live, lock Workday down so the Bridge API client is only usable from your VPC:

1.  In Workday, run **`Maintain IP Ranges`** and create an IP Range entry (for example, `Kiweely Bridge VPC Egress`) containing your exact NAT Gateway Elastic/Static IP CIDRs (`/32` per AZ).
2.  Run **`Manage Authentication Policies`** and configure a rule scoped to the Bridge API client / authentication flow that enforces your IP range and corporate SSO policy.
3.  Test from an unauthorized IP (or temporarily remove one test IP in Sandbox) to confirm Workday rejects calls outside your NAT gateway range.

## Step 5: Health Checks, Zero-Downtime Upgrades, and Key Rotation

-   **Health endpoint:** Point your load balancer health check at Bridge’s `/healthz` endpoint (returns `200 OK` without touching Workday, so a Workday maintenance window never causes your orchestrator to crash-loop healthy Bridge containers).
-   **Graceful shutdown:** Configure a 30-second termination grace period so in-flight RaaS or WQL requests complete before a replica exits during rolling updates.
-   **Encryption key rotation:** When rotating `BRIDGE_HANDLE_ENCRYPTION_KEY`, supply the new primary key alongside the previous decryption key for one refresh window (for example, 24 hours) so active employee sessions re-encrypt automatically on their next prompt without forcing mass re-login.
-   **Workday release cadence:** Pull new signed Bridge images into your Sandbox VPC during Workday’s 2026R2 / 2027R1 Sandbox Preview window, run the role-boundary test suite, and promote the same digest to Production after Workday’s Friday maintenance window.

To diagnose OAuth redirect issues, Okta/Entra Conditional Access blocks, or IP mismatch errors after deployment, continue to the [Kiweely Bridge troubleshooting guide](https://kiweely.com/guides/kiweely-bridge-troubleshooting-oauth-okta-entra-tokens).

## Frequently asked questions

### Does the self-hosted Kiweely Bridge container require a database or persistent volume?

No. The Bridge runtime is stateless. It holds no employee token table, no Workday record cache, and no prompt logs. You supply only your tenant configuration, tool policy, and signing/encryption keys via your cloud secrets manager.

### Do we still get the Kiweely Bridge AI admin agent if we self-host?

Yes. Enterprise self-hosted deployments keep the AI admin agent workflow for Sandbox setup, field redaction rules, and role testing while all live Workday API traffic stays inside your own cloud.

### Why do we need a static egress IP for Workday?

A static NAT egress IP lets your Workday Security Administrator add that exact address to Workday's Maintain IP Ranges task and enforce it in Manage Authentication Policies, ensuring Workday rejects API calls from any other origin.

### What happens during Workday's twice-yearly releases (2026R2 / 2027R1)?

Kiweely publishes updated signed container images tracking Workday API changes. Your platform team pulls and verifies the signed image digest in Sandbox Preview, then rolls it to Production with zero downtime.

## Sources checked

-   [Workday Documentation: Maintain IP Ranges](https://doc.workday.com/admin-guide/en-us/security/authentication/maintain-ip-ranges.html)
-   [Workday Documentation: Manage Authentication Policies](https://doc.workday.com/admin-guide/en-us/security/authentication/manage-authentication-policies.html)
-   [Workday Documentation: Register API Client](https://doc.workday.com/admin-guide/en-us/integrations/integration-security/register-api-client.html)

## Related guides

[All guides](https://kiweely.com/guides)

-   [### Setting Up Security Rules and Role-Boundary Testing with the Kiweely Bridge Admin Agent Use the Kiweely Bridge AI admin agent to tighten Workday security beyond tenant domains: block sensitive fields in memory, gate write actions behind browser approval cards, and test real Employee, Manager, and HR Partner boundaries in Sandbox before Production.](https://kiweely.com/guides/security-rules-role-testing-kiweely-bridge-admin-agent)
-   [### Kiweely Bridge Troubleshooting: OAuth Redirects, Okta/Entra Conditional Access, and Token Expiry Diagnostic runbook for Workday Security and IAM engineers troubleshooting Kiweely Bridge: resolving redirect\_uri mismatches, Okta/Entra Conditional Access device-compliance blocks, 30-minute idle expiry, and Workday RaaS/WQL 403 errors.](https://kiweely.com/guides/kiweely-bridge-troubleshooting-oauth-okta-entra-tokens)
-   [### Connecting Claude, ChatGPT, or Gemini to Workday with Kiweely Bridge: Step-by-Step Setup Configure one Workday API client, set read-only and field rules with the Kiweely Bridge AI admin agent, test as real worker roles in Sandbox, and publish one connector URL to Claude, ChatGPT, and Gemini across desktop, web, and mobile.](https://kiweely.com/guides/connect-claude-chatgpt-gemini-workday-kiweely-bridge)
-   [### Configuring Per-Employee OAuth 2.1 Pass-Through in Workday for Kiweely Bridge Step-by-step Workday configuration for per-employee OAuth 2.1 pass-through: creating an Authorization Code API client with PKCE, scoping Functional Areas, avoiding shared Integration System Users, and verifying domain security inheritance.](https://kiweely.com/guides/configure-per-employee-oauth-workday-kiweely-bridge)

### More guides on Business processes and security

[All 56 guides](https://kiweely.com/guides#business-processes)

-   [Workday SOX, ISO 27001, and Segregation of Duties (SoD) Audit Playbook](https://kiweely.com/guides/workday-sox-iso-27001-segregation-of-duties-audit-playbook)
-   [Workday Business Process Notifications, Custom Alerts, and Questionnaire Security Segments](https://kiweely.com/guides/workday-bp-notifications-alerts-questionnaires-segmented-security)
-   [Workday Data Scrambling and Purge Privacy Data (GDPR): Tenant Rules and Blocking Validations](https://kiweely.com/guides/workday-data-scrambling-masking-purge-privacy-data-gdpr)
-   [Responding to Client AI Security Questionnaires as a Solo Workday Consultant or Boutique Firm](https://kiweely.com/guides/responding-client-ai-security-questionnaires-workday-consultants)
-   [Workday Accounting Journal Validation, Balancing, and Period Close Errors](https://kiweely.com/guides/workday-accounting-journal-validation-period-close-errors)
-   [Workday Procurement and Purchase Order Business Process Errors](https://kiweely.com/guides/workday-procurement-purchase-order-bp-errors)
-   [Workday Journeys and Workday Help: Onboarding and Case Routing Setup](https://kiweely.com/guides/workday-journeys-and-workday-help-onboarding-case-routing)
-   [Workday Security Drift: Terminated Admins and Unconstrained Group Creep](https://kiweely.com/guides/workday-security-drift-terminated-admins-unconstrained-groups)

### From the blog on Business processes and security

[All posts](https://kiweely.com/blog)

-   [Using Face ID and Fingerprint Unlock with Workday Single Sign-On for Deskless Workers](https://kiweely.com/blog/biometric-face-id-fingerprint-reauth-for-workday-mobile-apps)
-   [Preparing Workday Domain and Business Process Security Policies for a SOX Audit in Hours, Not Weeks](https://kiweely.com/blog/auditing-workday-segregation-of-duties-before-sox-review)
-   [Why Copy-Pasting Workday Data into Consumer Chatbots Risks Client Data (and How Zero-Retention AI Fixes It)](https://kiweely.com/blog/workday-client-data-privacy-zero-retention-ai)

## Let Workday check the work.

Kiweely writes WQL and builds orchestrations in your own tenant, and Workday, not Kiweely, says whether they passed.

[Start for free](https://kiweely.com/download) [Book a demo](https://kiweely.com/demo)

## Get the next guide in your inbox.

One email a month with new guides and one Extend tip. Nothing else.
