hundreds-yak-62053
12/18/2025, 9:48 AMtall-airline-16756
12/18/2025, 9:48 AMtall-airline-16756
12/18/2025, 9:49 AMhundreds-yak-62053
12/18/2025, 9:51 AMtall-airline-16756
12/18/2025, 9:51 AMlivekit_egress_available), or active rooms/participants. Expose LiveKit metrics to Prometheus/CloudWatch to drive ASG policies.
• Network & ports: Open required UDP/TCP ports (WebRTC media, TURN) and ensure instances have appropriate public/private IPs and security groups.
• Egress/Ingress autoscaling: If you use Egress/Ingress services, autoscale them (Kubernetes HPA or ASG) using available-instance metrics.
• Avoid NAT/serverless pitfalls: Use instances or pods with predictable networking; public cloud serverless/private clusters can break WebRTC connectivity.
If you’d like, I can:
• Outline a concrete ASG lifecycle hook + termination sequence for graceful draining, or
• Provide recommended CloudWatch/Prometheus metrics and an example ASG scaling policy, or
• Show how this maps to the LiveKit Helm chart/pod settings for Kubernetes on AWS.
Which of those would you like next?
Sources: Self-hosting the Egress Service | LiveKit docs | Self-hosting the Ingress Service | LiveKit docs | Distributed Setup | LiveKit docs | Deploying LiveKit | LiveKit docs | Deploy to Kubernetes | LiveKit docshundreds-yak-62053
12/18/2025, 9:52 AMtall-airline-16756
12/18/2025, 9:53 AMlivekit_egress_available).
• If you need a single room distributed across many servers (global edge, massive scale, or cross‑region low latency), use LiveKit Cloud — rooms there are logical sessions spanning multiple servers/regions.
Would you like:
• a brief ASG lifecycle hook + draining sequence example, or
• guidance on moving a workload to LiveKit Cloud for a distributed single-room setup?hundreds-yak-62053
12/18/2025, 9:53 AMtall-airline-16756
12/18/2025, 9:53 AM