Build Your Own Cloud Empire: Hosting Unlimited Rails Apps with Kamal 2

This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).

A step-by-step guide for solo developers and indie hackers to host multiple Rails apps on a single cheap VPS using Kamal 2, eliminating the 'PaaS Tax' from services like Heroku or Render. Kamal Proxy automatically handles domain-based routing, SSL certificates, and zero-downtime deployments, allowing 10–15 Rails apps to share one $10/month server. The guide covers deploying a first app, adding a second app to the same server, and scaling to a two-node cluster with a dedicated PostgreSQL database server using Kamal's Accessories feature.

5m read timeFrom norvilis.com
Post cover image
Table of contents
The Strategy: The Kamal ProxySTEP 1: The Base HardwareSTEP 2: Deploying App Number 1STEP 3: Deploying App Number 2 (Sharing the Server)STEP 4: Scaling the Empire (The Database Node)Summary

Sort: