SSR framework for Svelte 5 + Bun with islands-based selective hydration
On this page
Deployment options
Mochi is a serverful application, so it does not run on every serverless host. That is what gives Mochi its features: built-in SQLite, in-memory cache, WebSockets, and Server-Sent Events. You can build complex, data-driven realtime apps with no extra dependency and no external cloud services.
You can host Bun and Mochi at hundreds of hosts. Some popular options are below. For how a build behaves once it is deployed — relocatable output, a persistent image cache — see Production builds.
PaaS
Deploy code or containers. The platform manages infrastructure, scaling, and networking.
- 🇺🇸 Railway — 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).
- 🇩🇪 Hetzner — very cheap, popular with indie devs
- 🇺🇸 DigitalOcean Droplets — simple cloud VMs
- 🇫🇷 OVHcloud — dedicated servers, VPS, private cloud, with strong GDPR compliance
- 🇫🇷 Scaleway Instances — VMs alongside their serverless offering
- 🇺🇸 Vultr
- 🇺🇸 Akamai / Linode
- 🇺🇸🇮🇱 Kamatera — pay-as-you-go cloud VMs
Big cloud
Each offers VPS, serverless, containers, and Kubernetes. Pick the model that fits.
- 🇺🇸 AWS — EC2, Lambda + Web Adapter, Fargate, App Runner, ECS/EKS
- 🇺🇸 Google Cloud — Compute Engine, Cloud Run, GKE, Cloud Functions
- 🇺🇸 Azure — VMs, Container Apps, ACI, AKS
- 🇺🇸 Oracle Cloud — generous always-free ARM VMs
- 🇺🇸 IBM Cloud — VPC, Code Engine, IKS/OpenShift
Self-hosted tools
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, and APIs, with bring-your-own-cloud
- 🇮🇳 Kuberns — Git-push deploy on AWS infra, no Dockerfile
- 🇺🇸 Convox
Where these companies are based
The flag next to each provider above shows where the company is headquartered, not where its data centers are.
Provider headquarters & sources
| Provider | Country | Source |
|---|---|---|
| Railway | 🇺🇸 USA | DPA (San Francisco, CA) |
| Render | 🇺🇸 USA | About (San Francisco, CA) |
| Fly.io | 🇺🇸 USA | Terms (San Francisco, CA) |
| Heroku | 🇺🇸 USA | About (San Francisco, CA) |
| Koyeb | 🇫🇷 France | Careers (Paris, France) |
| Clever Cloud | 🇫🇷 France | Legal notice (Nantes, France) |
| Zeabur | 🇺🇸 USA | About (Zeabur Inc., Delaware) |
| Scaleway | 🇫🇷 France | Legal notice (Paris, France) |
| DigitalOcean | 🇺🇸 USA | Terms (USA) |
| Hetzner | 🇩🇪 Germany | Imprint (Gunzenhausen, Germany) |
| OVHcloud | 🇫🇷 France | Terms (Roubaix, France) |
| Vultr | 🇺🇸 USA | Wikipedia (West Palm Beach, FL) |
| Akamai / Linode | 🇺🇸 USA | Company (Cambridge, MA) |
| Kamatera | 🇺🇸 USA · 🇮🇱 founded | Wikipedia (US HQ, Israeli-founded) |
| AWS | 🇺🇸 USA | About Amazon (Seattle, WA) |
| Google Cloud | 🇺🇸 USA | Wikipedia (Mountain View, CA) |
| Azure | 🇺🇸 USA | Microsoft facts (Redmond, WA) |
| Oracle Cloud | 🇺🇸 USA | Wikipedia (Austin, TX) |
| IBM Cloud | 🇺🇸 USA | Wikipedia (Armonk, NY) |
| Northflank | 🇬🇧 United Kingdom | About (London, UK) |
| Kuberns | 🇮🇳 India | LinkedIn (Gujarat, India) |
| Convox | 🇺🇸 USA | Y Combinator (Atlanta, GA) |