Can I deploy LiveKit in AWS AgentCore?
# ask-ai
b
Can I deploy LiveKit in AWS AgentCore?
t
Thanks for reaching out, Samuel. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
It sounds like you want to know whether LiveKit can be deployed into "AWS AgentCore." Could you clarify what you mean by AWS AgentCore — is this: • a specific AWS-managed service or product name you have in your account, or • an internal/third‑party orchestration layer or agent runtime you run on AWS instances? I can confirm LiveKit can be deployed on AWS using EC2/VMs, Kubernetes (EKS), or by running LiveKit Agents that integrate with AWS services (Transcribe, Polly, Bedrock). If you tell me what "AgentCore" is or how it runs (VMs, containers, Kubernetes, or a managed runtime), I’ll give targeted deployment guidance and required configuration steps. Sources: Amazon Transcribe plugin guide | LiveKit Docs | Running LiveKit on AWS | Deploy to a VM | LiveKit docs
b
Yes it's a managed service from AWS. https://aws.amazon.com/bedrock/agentcore/
t
LiveKit cannot be deployed directly into AWS Bedrock AgentCore. You can run LiveKit on AWS using EC2/VMs, EKS (Kubernetes), or containers, and you can integrate LiveKit with AWS services (for example by running LiveKit Agents that call Transcribe, Polly, or Bedrock). Would you like help with one of these alternatives—for example a recommended EKS or EC2 deployment plus steps to connect LiveKit to Bedrock APIs?
b
Why can't it be deployed? Any specific reasons? It's also container
t
Thanks — you're asking why LiveKit can't be deployed into AWS Bedrock AgentCore (a managed container runtime) even though AgentCore runs containers. I'll explain the key technical reasons and propose workable alternatives. Why LiveKit can't be deployed into AgentCore • AgentCore is a managed, purpose-built runtime for Bedrock agents with constrained execution model. It does not provide the networking, port exposure, and long‑running public TCP/UDP sockets that LiveKit requires for real‑time media (WebRTC) signaling and media transport. • LiveKit needs control over inbound/outbound ports, UDP (for RTP/ICE) and TURN relay support, and low‑latency persistent connections. Managed agent runtimes typically limit or proxy external networking and do not expose raw UDP ports or allow configuring TURN/STUN and ICE behavior. • LiveKit servers expect to run as long‑lived services with stable IP/DNS, optional persistent storage for recordings, and the ability to scale with standard container orchestration (Kubernetes/EC2). AgentCore’s lifecycle and resource model is not designed for that class of real‑time server. Alternatives you can deploy on AWS (and integrate with Bedrock): • EKS (Kubernetes): Run LiveKit in Kubernetes with Services/Ingress, configure external load balancers, and provide TURN/STUN and autoscaling. • EC2 / containers on VMs: Run LiveKit on EC2 instances (or ECS with appropriate networking) where you control ports, UDP, and persistent storage. • LiveKit Agents calling Bedrock: Keep LiveKit in EKS/EC2 and run lightweight agents that call Bedrock APIs (Transcribe, Polly, Bedrock) as needed. If you want, I can: • Provide a short EKS or EC2 deployment checklist for LiveKit (ports, TURN/STUN, TLS, autoscaling). • Outline how to connect LiveKit to Bedrock APIs (authentication and example call flow). Which of those would you like next?
b
@refined-appointment-81829 Any talk within the livekit group to get livekit's framework to run in agent core?
t
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!