comparison

Best VPS for Kamal | RAM, Disk and Rollback

Estimate VPS memory during a Kamal deploy, budget disk for image history and compare monthly prices for a 4 GiB server.

Size a Kamal server for the moment when the old and new web containers overlap. For the example below, a 4 GiB RAM and 80 GiB SSD VPS gives you room for two web containers, a small database and local images. At base pricing, DigitalOcean and Akamai Linode list the 4 GiB plans below at 24 USD per month. Their 2 GiB plans start at 12 USD per month.

How much RAM does a deployment need?

Kamal runs from your workstation or CI runner. On the VPS, kamal-proxy checks the new web container for readiness before it sends traffic to it. The host therefore needs memory for both versions during the changeover. Your database and workers still need memory during that time.

Example memory budgetRAM
Linux, Docker and proxy0.5 GiB
Database and background jobs0.8 GiB
Old and new web containers at 0.65 GiB each1.3 GiB
Reserve for startup and traffic spikes0.4 GiB
Total for this example3.0 GiB

These are planning assumptions. Measure the busiest period and the peak during a real deploy of your own app. A 2 GiB plan can be a trial starting point for a small stateless app with a database elsewhere. If your measured sum is 3 GiB, start the comparison at 4 GiB. If the database or workers peak higher, size for that instead.

Budget disk for images and database growth

For example, 15 GiB for Linux, Docker and logs, 12 GiB for application data, 5 GiB of unique Docker image layers and 8 GiB of free space add up to 40 GiB. A 50 GiB disk leaves a small margin over that budget. On an existing Docker host, use docker system df -v to distinguish shared image layers from unique storage. Also check the free space on the filesystem that holds the Docker data.

Kamalโ€™s retention settings affect which old containers and images are kept. Before deploying a database migration, take a database backup and check that the previous application version still works against the new schema. Kamal rollback switches the application version. Recovering data requires a separate database procedure.

Compare VPS plans for that budget

Monthly list prices checked on 4 December 2026. The examples are for shared CPU before tax, backups or additional storage.

PlanPublished capacityWhen it fits
DigitalOcean Basic Regular2 vCPUs, 4 GiB RAM, 80 GiB SSD for 24 USD/monthStart here if the calculated peak fits and your app plus image history fit on the included disk.
Akamai Linode Shared CPU 4 GB2 vCPUs, 4 GiB RAM, 80 GiB SSD for 24 USD/month in a region with base pricingCheck region, transfer allowance and the separate backup price at checkout.
Contabo Storage VPS 102 vCPUs, 4 GB RAM, 300 GB SSDCompare if image layers and local data are driving the cost. Check the contract term and renewal.

Before ordering, check whether your image supports the serverโ€™s CPU architecture. Kamalโ€™s builder supports amd64 and arm64. Also confirm access to your container registry and decide who restores the database.

Affiliate disclosure. We may earn a commission if you purchase through the Contabo, DigitalOcean, Linode or Vultr links.

Sources

Compare these against our full VPS overview.