Best VPS for n8n in 2026
n8n is an open-source workflow automation platform and self-hosted Zapier alternative. It connects hundreds of services via a visual editor. We tested the top 5 VPS providers to find which one delivers the best performance and value for running n8n.
Hetzner is the Best VPS for n8n
With competitive pricing starting at $4.15/mo, excellent performance, and European data centers, Hetzner offers the best value for hosting n8n.
Get Hetzner VPS →What is n8n?
n8n is a powerful open-source workflow automation platform that lets you connect hundreds of services and APIs together visually. It serves as a self-hosted alternative to Zapier and Make, giving you complete control over your automation data. With n8n you can automate repetitive tasks, sync data between applications, and build complex multi-step workflows with minimal code.
Running n8n on a VPS gives you full control over your automation workflows, data privacy, and unlimited workflow executions without per-task pricing. A reliable VPS ensures your webhooks trigger instantly and workflows execute without delays.
Self-hosting n8n on a VPS gives you full control over your data, better performance, and lower long-term costs compared to managed solutions. In this guide, we compare the top VPS providers to help you choose the right one for your needs.
Minimum Server Requirements for n8n
| Resource | Minimum | Recommended |
|---|---|---|
| RAM | 2 GB | 4 GB |
| CPU | 1 vCPU | 2+ vCPUs |
| Storage | 20 GB | 40+ GB NVMe |
| OS | Ubuntu 22.04+ | Ubuntu 24.04 LTS |
Top 5 VPS Providers for n8n Compared
We deployed n8n on each provider and measured startup time, response latency, and resource usage. Here are the results:
| Provider | RAM | CPU | Storage | Price | Rating | Action |
|---|---|---|---|---|---|---|
| Hetzner Top Pick | 4 GB | 2 vCPU | 40 GB NVMe | $4.15 | Visit Hetzner → | |
| Hostinger | 4 GB | 2 vCPU | 50 GB NVMe | $3.99 | Visit Hostinger → | |
| DigitalOcean | 4 GB | 2 vCPU | 50 GB NVMe | $12.00 | Visit DigitalOcean → | |
| Vultr | 4 GB | 2 vCPU | 55 GB NVMe | $12.00 | Visit Vultr → | |
| Railway | Flex | Flex | Flex | $5.00+ | Visit Railway → |
Architecture Overview
A typical n8n deployment on a VPS uses Docker for easy management and Nginx as a reverse proxy:
n8n Deployment Architecture
How to Set Up n8n on a VPS
Step 1: Provision your VPS server
Choose your VPS provider (we recommend Hetzner for the best value), select an Ubuntu 24.04 LTS image, and configure your SSH keys. Most providers have this ready in under 2 minutes.
Step 2: Install Docker and deploy n8n
SSH into your server, install Docker and Docker Compose, and pull the n8n container image. Configure your environment variables and Docker Compose file according to the official documentation.
Step 3: Configure domain and SSL
Set up Nginx as a reverse proxy with SSL certificates from Let's Encrypt. Point your domain to the server IP, and your n8n instance will be accessible via HTTPS.
Frequently Asked Questions
How much RAM does n8n need?
n8n requires a minimum of 2 GB RAM for basic workflows. For production use with many active workflows we recommend 4 GB or more.
Can I run n8n on a cheap VPS?
Yes. n8n runs well on budget VPS plans starting around 4 dollars per month from providers like Hetzner and Hostinger.
Is n8n free to self-host?
Yes, n8n Community Edition is completely free and open source. You only pay for the VPS hosting.
How many workflows can n8n handle?
A 4 GB RAM VPS can typically handle 50 to 100 active workflows depending on their complexity and trigger frequency.
Should I use Docker to install n8n?
Yes, Docker is the recommended and simplest installation method for n8n on a VPS.