SSR framework for Svelte 5 + Bun with islands-based selective hydration
On this page
Deployment options
Mochi is at its heart a serverful application. That means it doesn’t run on some serverless hosts. While this can seem like a limitation, it is actually what gives Mochi its superpowers - features like built-in SQLite support, in-memory cache and built-in support for WebSockets and Server-Sent Events. You can easily build complex, data-driven realtime applications with Mochi without a single extra dependency or any external cloud services. It’s both leaner and cheaper.
You can host Bun and Mochi at hundreds of different hosts. We list some of the most popular options below.
PaaS
Deploy code or containers — the platform manages infrastructure, scaling, and networking.
- Railway — Both dedicated Bun and Docker support
- Render — Docker-based web services, Git-push deploys
- Fly.io — Docker-native, global edge, scale-to-zero
- Heroku — supports Docker deployments
- Koyeb — Git or Docker, 250+ edge locations
- Clever Cloud — native Bun / Docker support
- Zeabur — auto-detects Bun
- Scaleway Serverless Containers — deploy from any registry, billed per millisecond
- DigitalOcean App Platform — Git or Docker deploy
Traditional VPS / IaaS
You get a server, install Bun yourself, and manage the process (systemd, Docker, etc.).
- Hetzner — very cheap, popular with indie devs (German)
- DigitalOcean Droplets — simple cloud VMs
- OVHcloud — dedicated servers, VPS, private cloud; strong GDPR compliance
- Scaleway Instances — Offers VMs alongside their serverless offering
- Vultr
- Akamai / Linode
- Kamatera — pay-as-you-go cloud VMs
Big Cloud (multiple deployment options)
Each of these offers VPS, serverless, containers, and Kubernetes — pick the model that fits.
- AWS — EC2 (VPS), Lambda + Web Adapter (serverless), Fargate (serverless containers), App Runner (PaaS), ECS/EKS (orchestrated)
- Google Cloud — Compute Engine (VPS), Cloud Run (serverless containers), GKE (Kubernetes), Cloud Functions
- Azure — VMs (VPS), Container Apps (serverless), ACI (containers), AKS (Kubernetes)
- Oracle Cloud — generous always-free tier (ARM VMs)
Self-hosted tools
Not platforms themselves — you install these on a VPS from one of the providers above.
- Coolify — open-source, self-hosted PaaS
- Dokku — open-source mini-Heroku
- CapRover — open-source PaaS with web UI
Hosted tools
Connect to your existing infrastructure at different cloud providers
- Northflank — containers, jobs, APIs; bring-your-own-cloud
- Kuberns — Git-push deploy on AWS infra, no Dockerfile needed
- Convox