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?