🍡 mochi

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).

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
ProviderCountrySource
Railway🇺🇸 USADPA (San Francisco, CA)
Render🇺🇸 USAAbout (San Francisco, CA)
Fly.io🇺🇸 USATerms (San Francisco, CA)
Heroku🇺🇸 USAAbout (San Francisco, CA)
Koyeb🇫🇷 FranceCareers (Paris, France)
Clever Cloud🇫🇷 FranceLegal notice (Nantes, France)
Zeabur🇺🇸 USAAbout (Zeabur Inc., Delaware)
Scaleway🇫🇷 FranceLegal notice (Paris, France)
DigitalOcean🇺🇸 USATerms (USA)
Hetzner🇩🇪 GermanyImprint (Gunzenhausen, Germany)
OVHcloud🇫🇷 FranceTerms (Roubaix, France)
Vultr🇺🇸 USAWikipedia (West Palm Beach, FL)
Akamai / Linode🇺🇸 USACompany (Cambridge, MA)
Kamatera🇺🇸 USA · 🇮🇱 foundedWikipedia (US HQ, Israeli-founded)
AWS🇺🇸 USAAbout Amazon (Seattle, WA)
Google Cloud🇺🇸 USAWikipedia (Mountain View, CA)
Azure🇺🇸 USAMicrosoft facts (Redmond, WA)
Oracle Cloud🇺🇸 USAWikipedia (Austin, TX)
IBM Cloud🇺🇸 USAWikipedia (Armonk, NY)
Northflank🇬🇧 United KingdomAbout (London, UK)
Kuberns🇮🇳 IndiaLinkedIn (Gujarat, India)
Convox🇺🇸 USAY Combinator (Atlanta, GA)