enough-match-43171
01/01/2026, 4:58 PMtall-airline-16756
01/01/2026, 4:58 PMtall-airline-16756
01/01/2026, 4:58 PMload_fnc and load_threshold) so unhealthy or overloaded instances stop receiving new jobs.
• For autoscaling, add/remove instances running the worker; new instances auto‑register and begin receiving jobs. Scale based on CPU or other metrics (scale up before hitting the agent’s load_threshold).
Optional
• If you need geographic affinity, place EC2 instances near your users or use LiveKit Cloud features for region routing.
• Store secrets (API keys) in environment variables or a secrets manager on each instance.
If you’d like, tell me:
• whether you’re using LiveKit Cloud or a self‑hosted LiveKit server, and
• how you plan to autoscale (manual, AWS ASG), so I can give precise examples or sample Worker configuration. Sources: Custom agent deployments | LiveKit docs