Absolutely, LiveKit AgentCore can be hosted on AWS! The great thing is that the LiveKit Agents framework is open source and built to be self-hosted on your own infrastructure, including AWS.
A popular way to do this is by using AWS ECS (Elastic Container Service) along with CloudFormation. Here’s a simple overview:
• First, you’d build a Docker image for your agent and push it to Amazon ECR (Elastic Container Registry).
• Then, you can use a CloudFormation template to set up all the necessary AWS resources like VPC, ECS cluster, and task definitions.
• It’s important to store your LiveKit credentials securely, and AWS Secrets Manager is perfect for that.
• Finally, you deploy and scale the ECS service to run your agent smoothly.
Plus, you have the option to enhance your setup by integrating AgentCore with AWS AI services such as Amazon Transcribe, Polly, and Bedrock.
If you’d like to dive deeper, I recommend checking out the
AWS ECS Deployment Example on GitHub and the
AWS integration documentation. They provide detailed steps to guide you through the process.
Sources:
LiveKit Pricing |
aws-ecs/README.md |
livekit-plugins/livekit-plugins-aws/livekit/plugins/aws/llm.py |
AWS AI and LiveKit | LiveKit Docs |
Ports and firewall | LiveKit Docs