Self-hosting

Running Coolify on a $6 VPS: Benchmarks and swap file requirements

A timed benchmark shows Coolify runs on a 1 GB DigitalOcean droplet if you add a 2 GB swap file, with install taking 172 seconds.

Illustration of a small server with limited resources managing a delicate balance of tasks.
Illustration created for this article

A recent benchmark tested whether the self-hosted platform Coolify can run effectively on a low-cost virtual private server. The test, conducted on October 1, 2026, used a DigitalOcean droplet costing six dollars per month. The results confirm that the software works on this minimal hardware, but only if administrators configure a specific memory management trick before installation.

What happened

The test aimed to determine if the official system requirements of two CPUs and 2 GB of RAM were strict necessities or conservative estimates. The tester deployed Coolify on a DigitalOcean droplet featuring one virtual CPU, 1 GB of RAM, and a 25 GB SSD. The process was timed step by step to measure real-world performance for small teams managing side projects or internal tools.

The installation script completed in 172 seconds. After creating a root account and configuring the first application, the initial deployment took 210 seconds to start answering HTTP requests. The total wall-clock time for the entire setup was approximately 23 minutes, though the active configuration steps took under ten minutes. The delay included troubleshooting a misconfigured base directory and a brief break.

Memory usage data revealed why the extra configuration is vital. While the idle system used about 618 MB of RAM, the build process for a sample Node.js application peaked at 720 MB of RAM and utilized an additional 669 MB of swap space. Without the swap file, the kernel would have terminated the build process due to insufficient memory. With the swap file enabled, the build slowed down but completed successfully.

Key details

  • Hardware used: DigitalOcean Basic Regular plan ($6/month) with 1 vCPU, 1 GB RAM, and 25 GB SSD running Ubuntu 24.04 LTS.
  • Critical requirement: A 2 GB swap file must be created before installation to prevent out-of-memory errors during builds.
  • Install time: The official install script took 172 seconds, primarily spent installing Docker and pulling container images.
  • Deploy time: The first application deployment took 210 seconds from click to live HTTP response; subsequent deploys were faster at 1 minute 52 seconds.
  • Resource footprint: Coolify itself uses approximately 250 MB of RAM when idle, leaving limited headroom for applications on a 1 GB server.
  • Cost efficiency: The setup costs $6 monthly, significantly less than comparable Platform-as-a-Service options like Heroku or Render for multiple small services.

Background

Coolify is an open-source tool that allows developers to host their own platform similar to Heroku, Vercel, or Netlify. It provides a web interface for deploying applications that run in Docker containers. This approach, known as self-hosting, gives teams full control over their infrastructure and data while avoiding the recurring per-app fees charged by commercial cloud providers.

Swap space is a portion of hard drive storage used as an extension of physical RAM. When a server runs out of physical memory, it moves inactive data to the swap file. This prevents applications from crashing but is much slower than using actual RAM. On servers with limited memory, such as the 1 GB droplet used in this test, swap is essential for handling temporary spikes in demand, such as compiling code during a deployment.

Why it matters

For small businesses and independent developers, infrastructure costs are a significant concern. Commercial platforms often charge per application or per service, which can quickly add up when running multiple internal tools, staging environments, or side projects. By consolidating these services onto a single low-cost server, teams can reduce their monthly hosting bills from dozens of dollars to a single fixed fee. This benchmark proves that even the cheapest tier of cloud hosting can support a functional development platform.

However, running production workloads on minimal hardware requires careful management. The test highlights that while the software fits, the margin for error is slim. Builds are resource-intensive, and traffic spikes could overwhelm a 1 GB server. Teams must understand that cost savings come with increased operational responsibility. They must monitor resource usage, manage backups, and handle security updates themselves, rather than relying on a managed provider.

This information helps IT leads make informed decisions about where to draw the line between self-hosting and managed services. For non-critical internal tools or low-traffic sites, the $6 option is viable. For customer-facing applications requiring high availability and fast build times, upgrading to a 2 GB plan or using external build pipelines becomes necessary.

What you can do

  • Create a 2 GB swap file on any Linux server with 1 GB of RAM before installing memory-intensive applications to prevent crashes during builds.
  • Use the free -m command to monitor memory and swap usage in real time when deploying new applications to identify resource bottlenecks.
  • Consider offloading heavy build processes to external CI/CD services like GitHub Actions if your server struggles with compilation times.
  • Upgrade to a 2 GB RAM plan if you plan to host more than two small applications or any database-heavy services alongside Coolify.
  • Enable automated backups through your cloud provider or Coolify’s built-in S3 integration to protect against data loss on single-server setups.
  • Verify application logs after deployment, not just the success status, to catch configuration errors like incorrect base directories that cause silent restarts.

More news

All news