Skip to content
KiweelyKiweelyKiweely

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
  • Applies to Enterprise Cloud/Security Engineers; AWS, GCP, Azure, Kubernetes; Kiweely Bridge
  • 5 min read
  • Published
  • By Kiweely
On this page

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
Deployment modeKiweely Cloud Where Workday traffic runsKiweely’s zero-storage cloud Static IP for Workday Maintain IP RangesShared egress Infrastructure you operateNone Plan tierStandard company bands (from $499/mo)
Deployment modeDedicated setup Where Workday traffic runsIsolated Kiweely workers dedicated to your company Static IP for Workday Maintain IP RangesYes, fixed IP assigned to you Infrastructure you operateNone Plan tierEnterprise (by quote)
Deployment modeSelf-hosted container Where Workday traffic runsSigned container inside your AWS, GCP, Azure, or Kubernetes VPC Static IP for Workday Maintain IP RangesYes, your own NAT gateway / Cloud NAT / Azure NAT Gateway IP Infrastructure you operateContainer runtime, TLS ingress, secrets manager, image updates Plan tierEnterprise (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
Configuration variableBRIDGE_PUBLIC_BASE_URL SourceConfig / env PurposePublic HTTPS hostname employees and AI assistants reach (must match Workday Redirection URI).
Configuration variableBRIDGE_WORKDAY_TENANT_URL SourceConfig / env PurposeYour Workday tenant REST/WQL/SOAP base endpoint.
Configuration variableBRIDGE_WORKDAY_CLIENT_ID SourceSecrets manager PurposeOAuth 2.1 Client ID from Workday Register API Client.
Configuration variableBRIDGE_WORKDAY_CLIENT_CRED SourceSecrets manager PurposeOAuth 2.1 client credential from Workday Register API Client.
Configuration variableBRIDGE_HANDLE_ENCRYPTION_KEY SourceKMS / Secrets manager PurposeSymmetric key used to encrypt/decrypt the locked session handles carried by AI assistants. Rotate on a scheduled key-versioning cadence.
Configuration variableBRIDGE_POLICY_CONFIG SourceConfigMap / Read-only mount PurposeExported 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.

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

Related guides

All guides

Let Workday check the work.

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

Get the next guide in your inbox.

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

We’ll email you once to confirm. Unsubscribe in one click from any issue.