Kamal 2.0 Released

Deploy web apps
anywhere.

Zero downtime deployments from bare metal to cloud VMs using Docker. No PaaS required. Just you, your servers, and Kamal.

terminal

# Install Kamal

$ gem install kamal

# Initialize your project

$ kamal init

# Deploy to production

$ kamal deploy

Deploying to 3 servers...

Building Docker image...

Pushing to registry...

Rolling out with zero downtime...

Done! Deployed in 45 seconds.

Everything you need to deploy

Kamal offers zero-downtime deploys, rolling restarts, asset bridging, remote builds, accessory service management, and everything else you need.

Zero Downtime

Rolling deployments ensure your application stays available during updates. No more maintenance windows.

Any Server

Deploy to any server with SSH access. Cloud VMs, bare metal, or your own hardware. You own your infrastructure.

Secure by Default

SSH-based deployments with no open ports. Secrets management built-in. Your credentials stay safe.

Accessory Services

Manage databases, Redis, and other services alongside your app. Everything in one configuration file.

Easy Rollbacks

Something went wrong? Roll back to any previous version instantly with a single command.

Simple CLI

Intuitive commands for every operation. Deploy, rollback, logs, and shell access all from your terminal.

One config file.
Infinite possibilities.

Define your entire deployment in a single deploy.yml file. Servers, environment variables, accessories, and more.

  • Multi-server deployments with role-based configuration
  • Built-in SSL with Let's Encrypt via Traefik
  • Remote Docker builds for faster deployments
  • Asset bridging for seamless static file updates
config/deploy.yml
service: my-app

image: user/my-app

servers:
  web:
    - 192.168.0.1
    - 192.168.0.2
  job:
    hosts:
      - 192.168.0.3
    cmd: bin/jobs

proxy:
  ssl: true
  host: app.example.com

registry:
  username: user
  password:
    - KAMAL_REGISTRY_PASSWORD

env:
  clear:
    DB_HOST: 192.168.0.4
  secret:
    - RAILS_MASTER_KEY

Skip the PaaS.
Own your servers.

Kamal gives you the simplicity of a PaaS with the control of your own infrastructure.

$0
Platform fees
100%
Your infrastructure
<1min
Deployment time

Ready to deploy?

Get started with Kamal in minutes. No credit card required. No vendor lock-in. Just deploy.

$ gem install kamal