Architecture

Cloud Portability

The proof that the design is cloud-agnostic: the same LiveKit logic and bootstrap deploy to Azure and GCP, with only the provider resource wiring differing.

infra/sharedlivekit.ts · cloud-init.ts(no cloud SDK — imported verbatim)one source of truthinfra/azure · azure-nativeinfra/gcp · @pulumi/gcpMicrosoft AzureVM · eastuswss://lk.az.involvelxp.comGoogle CloudGCE · us-east1wss://lk.gcp.involvelxp.com

The portability proof

The modules in infra/shared contain no cloud-provider SDK — just the logic to generate the LiveKit artifacts and the cloud-init bootstrap. Both the Azure and GCP stacks import them verbatim. The only per-cloud code is the resource wiring (how you ask each provider for a VM, a network, and a firewall).

What differs per cloud

ConcernAzureGoogle Cloud
Providerazure-native@pulumi/gcp
ComputeVM (eastus)GCE (us-east1)
NetworkVNet + NSGVPC + Firewall
Signal URLlk.az.involvelxp.comlk.gcp.involvelxp.com
LiveKit logicsharedshared
cloud-initsharedshared
DNS (Cloudflare)sharedshared

Identical behavior, verified

Both deployments pass the same checks — valid TLS, a healthy signal endpoint, and real WebRTC media with zero packet loss. See Testing & Verification for the evidence.

Why this matters

Healthcare customers often have strong opinions about where data lives. Being able to stand up an identical stack on a different cloud — or in a specific region — without rewriting the platform is a real commercial advantage, and it avoids lock-in.