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

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)

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