🍡 mochi

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

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)
  • 🇺🇸 IBM Cloud — VPC (VPS), Code Engine (serverless containers), IKS/OpenShift (Kubernetes)

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

Where these companies are based

The flag next to each provider above reflects 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)