Deploy your elizaOS project to production with managed or self-hosted options
Complexity | Method | How it Works | Platforms | Cost |
---|---|---|---|---|
⭐ | Managed Cloud | Push to GitHub → Auto deploy | Railway, Render | ~$20/mo |
⭐⭐ | Self-Hosted | Docker → Your VPS | Phala, Hetzner, Coolify, DO | ~$10/mo |
✅ Pros | ❌ Cons |
---|---|
Zero server management - No Linux, Docker, or infrastructure knowledge needed | Variable costs - Pricing based on usage (CPU, RAM, bandwidth, requests) |
Deploy in minutes - Push to GitHub, connect your repo, and you’re live | Can get expensive - Heavy traffic or processing can push bills really high |
Automatic everything - SSL certificates, scaling, updates, backups | Less control - Limited customization of infrastructure |
Great developer experience - Built-in logs, metrics, rollbacks | Vendor lock-in - Harder to migrate to other platforms |
Free tiers - Most platforms offer generous free plans to start | Resource limits - May not handle very high-performance requirements |
Create your project
Push to GitHub repo
.env
in your .gitignore
(stays secure).env
from your .gitignore
.env
file (secure since repo is private)Sign up for Railway
Deploy new project
Add environment variables
.env
file to see which variables your specific project needs. The exact variables depend on your project’s configuration and integrations.Deploy your app
Get your production URL
Create your project
Push to GitHub repo
.env
in your .gitignore
(stays secure).env
from your .gitignore
.env
file (secure since repo is private)Sign up for Render
Select Web Service and connect GitHub
Configure build settings
bun install && bun run build
bun run start
Add environment variables
.env
file to see which variables your specific project needs. The exact variables depend on your project’s configuration and integrations.Deploy and access your app
✅ Pros | ❌ Cons |
---|---|
Lower costs - Fixed monthly VPS cost regardless of traffic | Requires server knowledge - Need basic Linux/Docker skills |
Complete control - Full access to your infrastructure | More setup time - Initial configuration takes longer |
Better security - Your data never leaves your servers | You handle maintenance - Updates, backups, monitoring are your responsibility |
Predictable pricing - No surprise bills from traffic spikes | Downtime risk - If your server goes down, you fix it |
Performance control - Choose exact CPU/RAM specifications | Learning curve - Need to understand Docker, networking basics |
Create your project
Install prerequisites
Setup accounts and authentication
Configure environment variables
.env
file with the variables your project needs:.env
file to see which variables your specific project needs. We recommend neon.tech for easy PostgreSQL setup.Build and push Docker image
.env
:Deploy to Phala Cloud
Access your live agent
cvms create
command, you’ll receive an App URL - this is your cloud dashboard where you can monitor everything.To access your agent:curl -fsSL https://cdn.coollabs.io/coolify/install.sh | bash
on any VPSdocker run
on VPS