A minimal HTTP proxy for zero-downtime deployments
open sourceMITself-hostablefree
Kamal Proxy is a small HTTP proxy, written in Go, that coordinates zero-downtime deployments. kamal-proxy deploy registers a new app instance, waits until its health check at /up passes, switches new traffic to it and drains in-flight requests from the old one before returning, so the old container can be removed safely. It routes by host and path, can serve several apps on one server, gets TLS certificates automatically or on demand from Let's Encrypt (or uses your own), and has no configuration file. It's the proxy Kamal 2 runs on every server, and can be used on its own or by other deploy tools.
Ways to install
Package managers
Problems it solves
- swap in a new version of a container without dropping the requests already in flight
- only send traffic to a new release once its health check passes
- host several web apps on one server, routed by hostname, with automatic HTTPS
- a lightweight proxy my own deploy scripts can tell to switch to a new app instance
- issue TLS certificates on demand for customer domains pointed at our server
Features
- deploy command that health-checks, switches and drains traffic
- host-based and path-based routing
- automatic TLS with Let's Encrypt, on-demand TLS, or custom certificates
- custom health check path, port, timeout and interval
- client timeouts and request buffering options
- options from environment variables
- metrics
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what Kamal Proxy does.
- Caddy The Ultimate Server with Automatic HTTPS
- Traefik Proxy The Cloud Native Application Proxy
Compare Kamal Proxy with the top 3
Deploy your apps
- Argo CD Declarative GitOps continuous delivery tool for Kubernetes
- Dokploy Open source alternative to Vercel, Netlify and Heroku
- Northflank The runtime platform for autonomous software
- Helm Package manager for Kubernetes that installs and upgrades apps as charts
- Coolify Open-source, self-hostable alternative to Vercel, Heroku and Netlify
- Helmfile Declaratively deploy your Kubernetes manifests, Kustomize configs, and Charts as Helm releases
- Kamal Deploy web apps anywhere
- Dokku A Docker-powered PaaS that helps you build and manage the lifecycle of applications
- GitHub Actions Automate build, test and deployment workflows in GitHub
- Render Cloud platform to build, deploy and scale apps, databases and agents
- Railway Deploy apps, databases and services with usage-based pricing
- Qovery The infrastructure control plane for humans and AI agents
And 49 more.
No longer maintained: AWS Copilot CLI (archived in 2026), Acorn (archived in 2024), Deis Workflow (archived in 2018), HashiCorp Waypoint (archived in 2024), Shipa (shut down).
Kamal on your own servers, with a container registry
- Build and deploy
- Kamal
- Store the image
- Docker Hub or GitHub Container Registry or Amazon ECR or DigitalOcean Container Registry
- Run the containers
- Hetzner Cloud or DigitalOcean Droplets or Akamai Cloud Compute Instances or Hetzner Dedicated Root Servers. Or any Linux servers you can reach over SSH
- Route traffic
- kamal-proxy, which Kamal starts on each server to take traffic on ports 80 and 443
- Databases and other services often left out
- Kamal's accessories: long-lived services your app depends on, which a deploy doesn't update
What you give up: No cluster: Kamal connects to each server you list over SSH, installs Docker if it's missing and runs your containers there, so looking after the servers is yours. Source, checked 20 Nov 2026
- Kamal's docs list what a deploy uses: servers it reaches over SSH, Docker, a registry it pushes the image to, and kamal-proxy on each server.
Ensure kamal-proxy is running and accepting traffic on ports 80 and 443.
kamal-deploy.org, checked 20 Nov 2026 - Kamal's accessories docs: the databases and other services beside the app.
Accessories are long-lived services that your app depends on. They are not updated when you deploy.
kamal-deploy.org, checked 20 Nov 2026
No published figures or count say how common this is yet.
