Best VPS Hosting for n8n (2026): Latency, RAM & Price Benchmarks
An engineering benchmark of the best VPS providers for self-hosting n8n in 2026. Compare Contabo, Hetzner, Hostinger, and DigitalOcean on RAM density, NVMe IOPS, latency, and real monthly TCO.
In 2026, the best VPS hosting for n8n depends on your primary bottleneck: Hetzner Cloud leads in sustained CPU consistency and EU GDPR compliance (from €5.99–€19.99/mo), Contabo delivers the highest RAM-per-dollar density (4 vCPU / 8 GB RAM for €5.24/mo on Core VPS), and Hostinger KVM (from $6.49/mo with 4 GB RAM and NVMe) wins for beginners wanting 1-click Docker templates. For any production deployment running PostgreSQL 16 and Caddy/Nginx, treat 2 vCPUs, 4 GB RAM, and 50 GB NVMe storage as your minimum hardware floor.
When self-hosting n8n, overpaying for enterprise cloud droplets erodes your savings, while undersizing a $3/month 1 GB VPS causes silent Node.js Out-of-Memory (OOMKilled) crashes during webhook bursts. If you have already modeled your SaaS savings in our n8n Self-Hosting ROI Calculator, this benchmark breaks down the exact hardware specs, storage IOPS, and regional latency trade-offs across the four leading VPS providers.
1. 2026 VPS Benchmark Matrix for n8n Workloads
All providers below include full root SSH access, KVM virtualization, IPv4/IPv6 support, and compatibility with our Self-Host n8n with Docker Blueprint.
| Provider & Plan | vCPU & RAM | Storage & Bandwidth | Verified 2026 Price | Best Fit for n8n |
|---|---|---|---|---|
| Contabo Cloud VPS 4 (Core VPS) | 4 vCPU · 8 GB RAM | 100 GB SSD · Flat-rate unlimited | €5.24/mo (24-mo term) | Maximum RAM headroom for multi-container AI & Docker stacks |
| Contabo Cloud VPS Plus 4 (Performance) | 4 vCPU AMD EPYC · 8 GB RAM | 150 GB NVMe · Flat-rate unlimited | €12.85/mo (24-mo term) | High-frequency PostgreSQL writes + heavy JSON payload processing |
| Hostinger KVM 1 / KVM 2 | 1–2 vCPU · 4–8 GB RAM | 50–100 GB NVMe · 4–8 TB | $6.49 – $8.99/mo (promo) | Fast 1-click Docker/n8n templates + included weekly backups |
| Hetzner Cloud CPX22 / CX | 2 vCPU · 4 GB RAM | 80 GB NVMe/SSD · 20 TB (EU) | €5.99 – €19.99/mo (hourly cap) | Consistent CPU throughput, EU GDPR residency & Terraform/CLI tooling |
| DigitalOcean Basic Droplet | 2 vCPU · 4 GB RAM | 80 GB NVMe/SSD · 4 TB | $24.00/mo (per-second billing) | Predictable US/EU developer ecosystem & 1-Click Marketplace image |
2. The Golden Sizing Rule: Why RAM Beats CPU for n8n
A common infrastructure mistake when selecting a VPS is buying a plan with 4 vCPUs and only 2 GB or 4 GB of RAM. n8n runs on Node.js (V8 engine) and is overwhelmingly memory-bound rather than CPU-bound.
Most workflow steps spend 90% of their lifecycle waiting on external REST APIs, LLM endpoints, or database queries—consuming near-zero CPU cycles. Meanwhile, every active execution holds all node input and output JSON objects simultaneously in V8 heap memory.
Memory Allocation Breakdown on a 4 GB VPS
- Ubuntu 24.04 OS + Docker Daemon: ~500 MB
- PostgreSQL 16 Database Container: ~300 MB
- n8n Core Process (Idle): ~350–500 MB
- Caddy / Nginx Reverse Proxy: ~50 MB
- Remaining Headroom for Concurrent Executions: ~2.6 GB
Follow a strict 1 vCPU : 2 GB RAM ratio. If your workflows parse multi-megabyte CSVs, process binary PDFs, or orchestrate multi-step AI agents (see our n8n AI Integration Architect Guide), step directly up to an 8 GB RAM tier so V8 garbage collection never stalls incoming webhooks.
3. Provider-by-Provider Engineering Breakdown
1. Hetzner Cloud — Best Overall Performance & Developer Ecosystem
Hetzner remains the benchmark for European and US East/West engineering teams who want predictable CPU performance, native Terraform/CLI automation (hcloud), and transparent hourly billing with a monthly cap.
- Pros: Dedicated-grade CPU consistency, 20 TB included traffic in EU regions (Falkenstein, Nuremberg, Helsinki), GDPR-compliant infrastructure, and built-in cloud firewalls.
- Cons: Following Hetzner’s mid-2026 price adjustment, US locations (Ashburn/Hillsboro) rely on the pricier CPX line (€19.99/mo for 4 GB RAM) rather than the EU-only CX tiers, and support is ticket-based.
2. Contabo — Best RAM & Storage Density per Dollar
If you run Docker Compose stacks combining n8n, PostgreSQL, Redis, and Qdrant vector databases on a tight budget, Contabo offers unmatched resource density.
- Pros: Cloud VPS 4 delivers 8 GB RAM and 100 GB storage for €5.24/mo, while Cloud VPS Plus 4 upgrades to AMD EPYC processors and 150 GB Gen 4 NVMe for €12.85/mo with flat-rate unlimited traffic.
- Cons: Shared CPU performance on entry Core tiers can fluctuate during peak global load compared to Hetzner. Always choose the NVMe Performance VPS line over standard SSD if your n8n instance logs high-frequency webhook executions.
3. Hostinger KVM VPS — Best for Fast Deployment & Beginners
Hostinger pairs KVM virtualization and NVMe storage with an intuitive control panel (hPanel), automated weekly backups, and pre-built Ubuntu + Docker/n8n templates.
- Pros: Starts at $6.49/mo for 4 GB RAM and 50 GB NVMe, includes free snapshots and DDoS filtering, and deploys across North America, South America, Europe, and Asia.
- Cons: Advertised prices require multi-year commitments and renew at higher standard rates—always verify renewal pricing before locking in a billing cycle.
4. DigitalOcean — Best Documentation & Per-Second Billing
DigitalOcean is more expensive per gigabyte of RAM ($24/mo for 2 vCPU / 4 GB RAM), but its predictable network latency, managed PostgreSQL add-ons, and Marketplace 1-Click n8n image make it popular among US startups already hosting production apps on Droplets.
4. Latency & Region Selection Strategy
Where you provision your VPS directly affects webhook response times and API round-trip latency:
- Calling OpenAI, Anthropic, HubSpot, or Stripe: Most US SaaS APIs terminate in
us-east-1(Virginia). Deploying in US East (Ashburn, New York, or Boston) keeps API round-trip latency under 15–25 ms. - Serving European Customers (GDPR): Deploying in Frankfurt, Nuremberg, or Helsinki guarantees physical EU data residency while maintaining sub-10 ms latency to European CRMs and payment gateways.
5. Pre-Deployment Verification Commands (Benchmark Your VPS)
Once you provision your Ubuntu 24.04 VPS, run these four diagnostic commands over SSH before deploying production workflows to verify disk write speed, available memory, and container health:
# 1. Verify actual RAM and Swap allocation
free -h
# 2. Test NVMe / SSD sequential write throughput (target > 500 MB/s for NVMe)
dd if=/dev/zero of=/tmp/test_io bs=64k count=16k conv=fdatasync && rm -f /tmp/test_io
# 3. Check if any Docker container was previously killed by Linux OOM
docker inspect n8n-app --format='{{.State.OOMKilled}}'
# 4. Monitor live CPU and RAM footprint of n8n and PostgreSQL containers
docker stats --no-stream
To prevent runaway containers from freezing your SSH daemon during traffic spikes, enforce explicit memory boundaries in your docker-compose.yml:
services:
n8n:
image: docker.n8n.io/n8nio/n8n:latest
restart: unless-stopped
environment:
- NODE_OPTIONS=--max-old-space-size=3072
- EXECUTIONS_DATA_PRUNE=true
- EXECUTIONS_DATA_MAX_AGE=168
- N8N_DEFAULT_BINARY_DATA_MODE=filesystem
deploy:
resources:
limits:
cpus: "1.8"
memory: 3200M
6. Final Verdict: Which VPS Should You Buy?
- Buy Hetzner Cloud (CPX22 / CX) if your team operates in Europe, requires strict GDPR data residency, or prioritizes consistent CPU performance and Terraform/CLI automation.
- Buy Contabo Cloud VPS Plus 4 (NVMe) if you need 8 GB of RAM and 150 GB NVMe storage under €13/month to run heavy AI workflows, PostgreSQL, and Redis queue workers simultaneously.
- Buy Hostinger KVM 1 or KVM 2 if you want the fastest beginner-friendly setup with pre-installed Docker templates, automated weekly snapshots, and global data center options.
(Still deciding whether self-hosting beats managed SaaS for your exact execution count? Compare per-step billing in our n8n vs Zapier 2026 Audit and n8n vs Make Comparison.)
Frequently Asked Questions
What is the best VPS provider for self-hosting n8n in 2026?
Hetzner Cloud is the best choice for consistent CPU performance, low EU/US latency, and hourly billing; Contabo offers the highest RAM-per-dollar density (8 GB RAM for €5.24/mo on Core VPS); and Hostinger KVM (starting at $6.49/mo) is best for fast 1-click Docker deployments with NVMe storage.
How much RAM and vCPU do I need to run n8n in production?
For production workloads running n8n alongside PostgreSQL 16 and a reverse proxy, start with 2 vCPUs, 4 GB of RAM, and at least 50 GB of NVMe SSD storage. Follow a 1 vCPU to 2 GB RAM ratio—n8n is memory-bound rather than CPU-bound.
Does n8n require NVMe SSD storage or is standard SSD enough?
NVMe storage is strongly recommended for production instances. PostgreSQL performs frequent small random writes when logging workflow execution states, and NVMe drives deliver significantly higher IOPS and lower webhook latency than standard SATA SSDs.
Can I run n8n on shared hosting or cPanel?
No. Standard shared hosting and cPanel plans lack root SSH access and Docker daemon support. You need an unmanaged KVM Virtual Private Server (VPS) or cloud instance capable of running Docker Compose containers 24/7.
Reviewed & Published by
Andres Lechuga
Web Systems Architect specializing in workflow automation, Docker self-hosting, and API orchestration.