Hey i am having trouble in deploying livekit sip s...
# ask-ai
b
Hey i am having trouble in deploying livekit sip server (self hosting) on eks
t
Thanks for reaching out, Siddharth. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
To get your LiveKit SIP server up and running on EKS, you'll want to deploy both the LiveKit server and the SIP service as separate components that work together through Redis. Here's a simple overview to guide you through the process: 1. Start by setting up an EKS cluster and make sure the AWS Load Balancer Controller is installed. 2. Next, deploy the LiveKit server using the official Helm chart, making sure to configure it with EKS-specific settings like host networking and the Redis connection. 3. Then, deploy Redis—either by hosting it yourself on EKS or using Amazon ElastiCache. 4. After that, deploy the SIP service as its own Kubernetes deployment, ensuring it uses host networking for the SIP and RTP ports. 5. Don’t forget to configure your EKS security groups to allow the necessary ports (for example, 5060 for SIP and 10000–20000 for RTP). 6. Finally, set up a SIP trunk and dispatch rule using the LiveKit CLI or SDK. If you'd like, I can walk you through any of these steps in more detail or help troubleshoot if you’re running into any specific issues during deployment. Just let me know—I’m here to help! Sources: README.md | Deploy to Kubernetes | LiveKit docs | examples/server-gke-vpc-native.yaml | Self-hosted SIP server | LiveKit docs | docs/tutorials/aws.md
b
We are facing trouble in getting sip server up, it is working on ec2 but not on eks, do u have any suggestions or reference material we can look for( only sip server is not working with eks) rest alll are fine
t
Let's work together to troubleshoot the SIP server not working on EKS. Here are some important areas we can check: 1. Redis Connection: Please make sure the SIP service can connect to the Redis instance used by the LiveKit server. It’s a good idea to verify the Redis address and credentials in your SIP service configuration. 2. Networking: Check that the necessary ports are open in your EKS security groups and firewall rules. Specifically, UDP 5060 for SIP signaling and UDP 10000–20000 for RTP traffic need to be accessible. 3. Host Networking: The SIP service needs
hostNetwork: true
in its Kubernetes deployment to expose SIP and RTP ports directly. Make sure this is set up correctly and that only one SIP pod runs per node. 4. Logs: Try running the SIP service with
log_level: debug
to get detailed logs. Look out for any errors related to Redis, WebSocket connections, or SIP trunk configuration. 5. Public IP: It’s important to verify that the SIP service has a public IP address reachable by remote SIP peers. This helps ensure smooth SIP interoperability. 6. Configuration: Double-check your SIP service configuration for the right API keys, Redis address, and WebSocket URL. Make sure the WebSocket URL is pointing to the LiveKit server. If you’d like, I’m here to help you step-by-step with any of these checks or if you’re seeing specific error messages. Just let me know, and we’ll work through it together! Sources: Troubleshooting & Common Issues | livekit/livekit_composite | DeepWiki | Deploy to Kubernetes | LiveKit docs | examples/server-eks.yaml | SIP troubleshooting guide | LiveKit Docs | README.md