Best VPS for n8n in 2026
n8n Cloud charges $20+/month for 2,500 executions. A $5–10/month VPS gives you unlimited executions with full data ownership. We tested 5 VPS providers to find the best fit for self-hosting n8n.
What is n8n, and why host it yourself?
n8n is a Node.js-based workflow automation platform that lets you connect APIs, databases, and services without writing code. Unlike cloud-based alternatives like Zapier, the self-hosted version is free and imposes no limits on workflow executions, active workflows, or data retention. The visual node editor supports over 400 native integrations — from Slack and Google Sheets to PostgreSQL and HTTP APIs — and a built-in code node lets you inject JavaScript for custom logic when pre-built nodes fall short.
When you host n8n on a VPS, you control everything: your API credentials never touch a third-party server, execution logs stay on your machine, and you can run workflows on-demand or on a schedule without paying per execution. For teams running hundreds or thousands of automations monthly, the math is clear: a $6/month VPS replaces hundreds of dollars in Zapier task credits. The community edition supports SQLite for simple setups and PostgreSQL for production-grade deployments with reliable execution history and crash recovery.
Because n8n is built on Node.js, its resource footprint is modest. A standard process idles at 300–500 MB RAM, making it one of the most resource-efficient automation tools available. Even Hostinger's entry-level KVM 1 plan at $6.49/month provides comfortable headroom for most solo users and small teams.
n8n VPS Requirements
How much server power does this tool actually need? Tested recommendations based on workload size.
Basic
- ✓ 1 vCPU
- ✓ 2 GB RAM
- ✓ 20 GB SSD
Personal workflows, under 50 executions/day.
Recommended
- ✓ 2 vCPU
- ✓ 4 GB RAM
- ✓ 50 GB NVMe
Small teams, webhook triggers, 50–500 executions/day.
Production
- ✓ 4 vCPU
- ✓ 8 GB RAM
- ✓ 100 GB NVMe
High-volume workflows, queue mode, 500+ executions/day.
Top VPS Providers for n8n
Ranked by overall value for running n8n. All providers tested with Docker setup.
DigitalOcean
Top PickBest for DevelopersDeveloper-friendly cloud with one-click app marketplace and great docs.
Hostinger
Best ValueAffordable VPS with excellent performance and global data centers.
Hetzner
Best in EuropeEuropean cloud with dedicated vCPUs and transparent pricing.
Vultr
High-performance cloud with 32 global data centers and hourly billing.
Contabo
Most ResourcesMaximum resources at minimum prices — most bang for your buck.
Why Self-Host n8n on a VPS?
n8n Cloud starts at $20/month for 2,500 executions and 5 active workflows. Self-hosting on a VPS gives you unlimited executions, unlimited active workflows, and full ownership of your data — at a flat monthly cost that doesn't scale with usage. Here's what you gain:
Unlimited executions
No per-task fees. Run thousands of workflows daily — webhook triggers, scheduled jobs, complex multi-step automations — for one flat VPS cost.
Full credential privacy
Your API keys, OAuth tokens, and database passwords stay on your server. n8n stores credentials encrypted in its local database, never on external servers.
Community nodes
Install hundreds of community-built nodes that aren't available on n8n Cloud. Connect to internal APIs, legacy systems, and custom endpoints with no restrictions.
SQLite or PostgreSQL
Start simple with SQLite for personal use. When you're ready for production, switch to PostgreSQL for concurrent executions, crash recovery, and full execution history.
Frequently Asked Questions
How much RAM does n8n actually use in production?▾
A standard n8n process idles at roughly 300–500 MB RAM. Under heavy concurrent workflows (10+ simultaneous executions), expect 1–2 GB. For most solo users and small teams, Hostinger's KVM 1 plan (4 GB RAM, $6.49/mo) gives comfortable headroom without over-provisioning.
Does n8n require PostgreSQL or can it use SQLite?▾
For personal use and testing, n8n works fine with SQLite — no extra setup required. For production deployments where you need reliable execution history, crash recovery, and concurrent users, PostgreSQL is strongly recommended. Both Hostinger and Contabo plans comfortably fit PostgreSQL alongside n8n within their standard RAM allocations.
Can I upgrade my VPS without losing n8n workflows?▾
Yes. Since n8n stores workflows and credentials in a database, upgrading is straightforward: export your SQLite file or run pg_dump on your PostgreSQL database, spin up the new server, restore the database, and redirect your domain. Hetzner and DigitalOcean both support live resizing for most plan upgrades.
What is queue mode in n8n and when do I need it?▾
Queue mode separates n8n's main process from worker processes using Redis as a message broker, allowing parallel workflow execution across multiple workers. For most small-to-medium setups, standard mode is sufficient. Queue mode becomes valuable when you're running 50+ concurrent workflows or need to distribute load across nodes.
How do I secure n8n on a VPS?▾
The essential steps: (1) Put n8n behind Nginx or Caddy with HTTPS — webhook URLs require public HTTPS. (2) Enable basic auth or JWT via environment variables. (3) Use .env files for secrets rather than hardcoding values. (4) Configure your firewall to block direct access to port 5678, leaving only 80/443 open. DigitalOcean's managed firewall makes this straightforward.
Compare for Other Automation Tools
Ready to Self-Host n8n?
Stop paying per execution. Get unlimited n8n workflows on your own VPS starting from $4.35/month.