Guide
Best VPS for self-hosting n8n if you want the official 4 GB / 2 vCPU headroom (November 2026)
Updated: (America/Buenos_Aires)
Direct answer
If you self-host n8n and you want to add n8n Assistant’s bundled sandbox, n8n’s own docs say to provision at least 4 GB of RAM and 2 vCPUs. That is the bar this article uses. A cheaper 1 vCPU plan with 4 GB of RAM does not meet it, even if the marketing page looks close.
Labeled picks, based only on official public pages opened on 12 November 2026:
- Best official getting-started path: a DigitalOcean Basic Droplet with 4 GiB RAM / 2 vCPUs (USD 24/month on the public price list). n8n publishes a full “Deploy to DigitalOcean” guide.
- Best published list price that meets the 4 GB / 2 vCPU bar: Hetzner Cloud CX23 (2 vCPU, 4 GB RAM, 40 GB NVMe) from EUR 5.99/month, excl. VAT, with at least 20 TB of included traffic at EU-central locations. n8n also publishes a “Deploy to Hetzner” guide. No affiliate link.
- Best prepaid promo that clears the same bar with extra RAM: Hostinger KVM 2 (2 vCPU, 8 GB RAM) at USD 8.79/month on the 24-month Black Friday prepaid price shown on 12 November 2026, renewing at USD 14.99/month for the same term. Hostinger KVM 1 has 4 GB RAM but only 1 vCPU, so it is the wrong plan for the Assistant sandbox bar.
- Best if you do not want to run a server: stay on n8n Cloud. Starter is EUR 20/month billed annually; Pro is EUR 50/month billed annually. n8n itself tells non-experts to use Cloud rather than self-host.
Self-hosted Community edition software is free; you still pay for the server, a domain, backups, and your time.
What official n8n docs actually require
n8n does not publish a single “minimum VPS SKU” that covers every setup. What I could verify:
| Setup | What n8n published | Source |
|---|---|---|
| Docker Compose guide that includes the n8n Assistant sandbox (Docker-in-Docker runner) | “At least 4 GB of RAM and 2 vCPUs.” | Install using Docker Compose |
| Optional Assistant section in the DigitalOcean and Hetzner deploy guides | Same bar: provision at least 4 GB RAM / 2 vCPU. The Hetzner guide adds that CPX11 does not have enough headroom once the sandbox is added. For most usage without Assistant, that guide says “the CPX11 type is enough.” The DigitalOcean guide says that for most usage levels “a basic shared CPU plan is enough,” without naming a RAM size. | Deploy to DigitalOcean, Deploy to Hetzner |
| Memory errors on self-hosted n8n | No fixed minimum. Usage grows with JSON/binary size, node count, Code nodes, manual (editor) executions, and other workflows running at the same time. You can add RAM or cut memory use (smaller batches, sub-workflows). | Fix memory issues |
| Who should self-host | n8n says self-hosting needs server, container, security, and n8n-ops knowledge. Mistakes can mean data loss, security issues, and downtime. If you are not experienced at managing servers, n8n recommends n8n Cloud. | Same DigitalOcean and Hetzner deploy guides |
| Default database in those official Compose/Caddy guides | Built-in SQLite. The general Docker Compose doc says SQLite is fine for trying things out; for a production instance that must handle more than a handful of users or around-the-clock workflows, use Postgres. That swap is a fresh-instance path, not an automatic migration of existing SQLite data. | Install using Docker Compose |
I did not find, on the official pages listed above, a universal “2 GB RAM is enough for production n8n” figure. Some third-party “best VPS for n8n” articles use 2 GB or 4 GB as a starting point. Treat those as unofficial unless they cite a doc you can open.
Comparison table (public prices, 12 November 2026)
Prices are what the vendor pages showed on that date. They change. Hostinger’s entry price is a prepaid 24-month promotion, not a month-to-month list price. Hetzner prices are excl. VAT. DigitalOcean prices are the published monthly caps for Basic Droplets. Currency is left as published; I am not converting EUR to USD.
| Label | Plan | vCPU / RAM / disk | Traffic included (as published) | Price shown 12 Nov 2026 | Official n8n deploy guide? | Meets 4 GB / 2 vCPU Assistant bar? | Buy |
|---|---|---|---|---|---|---|---|
| Best official getting-started path | DigitalOcean Basic Droplet | 2 vCPUs / 4 GiB / 80 GiB SSD | 4,000 GiB transfer | USD 24/month (USD 0.03571/hour) | Yes | Yes | DigitalOcean Droplet pricing (official page, not an affiliate link yet) |
| Cheaper DO box (usually the wrong one for Assistant) | DigitalOcean Basic Droplet | 2 vCPUs / 2 GiB / 60 GiB SSD | 3,000 GiB | USD 18/month | Yes, but undersized for the Assistant sandbox bar | No (RAM) | Same pricing page |
| Best published list price at the bar | Hetzner Cloud CX23 (Cost-Optimized) | 2 vCPU / 4 GB / 40 GB NVMe | At least 20 TB at EU-central locations | From EUR 5.99/month excl. VAT (EUR 0.0096/hour excl. VAT) | Yes | Yes, on paper. Disk is only 40 GB. The cost-optimized page also showed a “not available” label on one CX23 row when I opened it — check the console for your location. | No affiliate link. Official plans: hetzner.com/cloud/cost-optimized |
| Best prepaid promo that clears the bar | Hostinger KVM 2 | 2 vCPU / 8 GB / 100 GB NVMe | 8 TB bandwidth | USD 8.79/month if you prepay 24 months (USD 210.96 today). Renews at USD 14.99/month for the same term. The struck-through “regular” rate shown was USD 24.49/month. | No official n8n “Deploy to Hostinger” guide found | Yes (exceeds RAM) | Hostinger VPS hosting (official page, not an affiliate link yet) |
| Tempting, but misses the vCPU bar | Hostinger KVM 1 | 1 vCPU / 4 GB / 50 GB NVMe | 4 TB bandwidth | USD 6.49/month on the same 24-month promo (USD 155.76 today); renews at USD 11.99/month. Struck-through rate: USD 19.49/month. | No | No (only 1 vCPU) | Same Hostinger page; I would not pick this for Assistant |
| Best if you do not want to operate a VPS | n8n Cloud Starter or Pro | n8n-hosted | n/a | Starter EUR 20/month, billed annually; Pro EUR 50/month, billed annually | n/a (it is Cloud) | n/a | n8n.io/pricing (not an affiliate program I verified) |
Hostinger states that all plans are paid upfront and that the monthly rate is the total divided by the term. It also advertised a 30-day money-back guarantee on that page.
n8n’s Hetzner guide names CPX11 as enough for most usage without Assistant. CPX plans are in Hetzner’s “Regular Performance” family, which the main Cloud page listed as starting from EUR 5.49/month excl. VAT. I could not extract a clean official CPX11 RAM/disk/price row from the pages I opened (the tables look dynamic), so I am not inventing a CPX11 price here. If you do not need Assistant, open hetzner.com/cloud and compare CPX11 to CX23 yourself.
Why each pick is labeled that way
Best official getting-started path: DigitalOcean 4 GiB / 2 vCPU (USD 24/month)
Who it is for: someone who wants n8n’s own DigitalOcean + Caddy + Docker Compose walkthrough, a US-friendly price list in USD, and a plan that already matches the official Assistant sandbox bar.
What the docs add: the official guide uses the Docker Marketplace image, Caddy for HTTPS, and n8n’s n8n-docker-caddy repo. It defaults to SQLite. DigitalOcean’s Basic Droplet table lists the 4 GiB / 2 vCPU size at USD 24/month with 80 GiB SSD and 4,000 GiB transfer (pricing page, opened 12 November 2026).
Who it is not for: anyone optimizing purely for list price. Hetzner CX23 and Hostinger’s prepaid KVM 2 are both cheaper on the figures above, before tax and before you add backups or a domain. I have not measured whether DigitalOcean is “more reliable” than those two.
Best published list price at the bar: Hetzner CX23 (from EUR 5.99/month excl. VAT)
Who it is for: someone in (or fine with) Hetzner’s locations — the Cloud page lists Germany, Finland, Singapore, and the US (Hillsboro, Oregon and Ashburn, Virginia) — who can follow n8n’s Hetzner guide and wants a month-to-month cap close to EUR 6 before VAT.
Official figures I could parse cleanly on the Cost-Optimized page on 12 November 2026: CX23, 2 vCPU (Intel/AMD), 4 GB RAM, 40 GB NVMe, from EUR 5.99/month excl. VAT, EUR 0.0096/hour excl. VAT, EU-central locations NBG1 and HEL1, at least 20 TB included traffic at EU-central. Hetzner says the bill never exceeds the monthly cap if you keep the server all month, and that servers are billed until you delete them, including when they are powered off.
Caveats: 40 GB is tight if you also store a lot of binaries, self-host other apps on the same box, or keep large execution data. VAT may apply. One CX23 row on that page also showed “not available” when I fetched it, so stock can vary. There is no affiliate link here on purpose.
Who it is not for: people who need a vendor-supported “n8n one-click” from Hostinger’s marketing, or who want a published USD 24-style price with an official DigitalOcean guide and more disk (80 GiB).
Best prepaid promo that clears the bar: Hostinger KVM 2
Who it is for: someone willing to prepay 24 months to get the USD 8.79/month effective rate (USD 210.96 today) and who wants 8 GB RAM and 100 GB NVMe — more headroom than the official minimum.
Who it is not for / what to watch:
- The renewal price published on the same page is USD 14.99/month for the same term, not USD 8.79. If you only remember the promo rate, the comparison with DigitalOcean’s USD 24/month list price is misleading after renewal (USD 14.99 is still below USD 24 on these figures; the 24-month lock-in is the tradeoff).
- KVM 1 is the trap for this article’s bar: 4 GB RAM but 1 vCPU. That matches the RAM number and fails the 2 vCPU number in n8n’s Assistant sandbox docs.
- I did not find an official n8n “Deploy to Hostinger” guide comparable to the DigitalOcean and Hetzner docs. You would be adapting those guides or Hostinger’s generic VPS tutorials.
- This was a Black Friday-priced page when I opened it. Treat USD 8.79 as time-limited unless Hostinger still shows it when you buy.
Best if you do not want to run a server: n8n Cloud
n8n’s “Choose how to use n8n” page recommends Cloud if you want to start immediately, do not have technical expertise, or do not want to manage infrastructure. Self-hosted Community edition is the free-software path.
On n8n.io/pricing (opened 12 November 2026), Cloud Starter is EUR 20/month billed annually, with a default allowance of 2.5K workflow executions with unlimited steps (1 shared project, 5 concurrent executions, 1,600 Assistant credits/month, forum support). Pro is EUR 50/month billed annually, with a default allowance of 10K workflow executions (3 shared projects, up to 50 concurrent executions, up to 9,600 Assistant credits/month, admin roles, and other Pro items). Those execution counts are the default values on the official plan cards; the cards include a dropdown labeled “Number of workflow executions.” A fuller reading of that pricing page is in the companion guide, n8n Cloud vs self-hosted: what the official pricing page actually limits. The limits table on the pricing page also lists, among other things:
- Max saved executions: 2.5k (Starter) / 25k (Pro)
- Saved-execution storage: 2.5 GB / 25 GB
- Concurrent executions: 5 (Starter) / 20 or 50 (Pro)
- Max execution duration: 5 minutes (Starter) / 40 minutes (Pro)
A 14-day Cloud trial is described on that pricing page as including Pro-level features with trial limits of 1,000 executions, 5 concurrent executions, a 180-second timeout, and 1 team project.
Self-hosted Community remains free. Paid Business/Enterprise features (SSO, Git version control, environments, and others listed on the docs and pricing pages) need a license even if you already run your own VPS.
Who this whole “just get a VPS” path is not for
- People n8n already steers to Cloud: no appetite for SSH, Docker, firewalls, updates, and backups.
- Anyone who needs SSO, Git-based version control, or other paid-only features and is comparing only a USD 6–24 VPS to Starter Cloud — the VPS does not unlock those features by itself.
- Workloads that will blow memory: huge JSON, big binaries, heavy Code nodes, many concurrent executions. Official advice is to add RAM or redesign the workflow, not to assume the 4 GB box is a ceiling you will never hit.
- “I will also turn on n8n Assistant on a 1 vCPU / 4 GB promo plan.” That fails the published 2 vCPU bar.
FAQ
Do I need 4 GB and 2 vCPUs if I will never use n8n Assistant?
Not according to a single universal official minimum — I could not find one. n8n’s Hetzner guide says CPX11 is enough for most usage without Assistant, and then tells you to step up to at least 4 GB / 2 vCPU if you add the sandbox. If you are unsure, the 4 GB / 2 vCPU bar is the only clearly numbered official starting point I found.
Is Hostinger KVM 1 “4 GB, so it should be fine”?
It meets the RAM number and misses the 2 vCPU number in the Assistant/sandbox docs. I would not label it as meeting that bar.
Why recommend Hetzner if there is no affiliate link?
Because the published CX23 cap (EUR 5.99/month excl. VAT) is much lower than DigitalOcean’s USD 24/month 4 GiB / 2 vCPU list price, and n8n maintains an official Hetzner deploy guide. Commission is not a reason to hide the cheaper official option.
Will self-hosting always be cheaper than n8n Cloud?
The Community software is free; a VPS is not, and neither is your maintenance time. A Hetzner CX23 at EUR 5.99/month excl. VAT is well below Cloud Starter at EUR 20/month billed annually, on those published figures alone. That ignores backups, domain, failed upgrades, and the value of not running the box. It also ignores Cloud features and limits you may actually need. Do the comparison with the live pricing pages and your own execution patterns.
Can I run queue mode / workers on these plans?
Maybe, but this article does not invent per-worker RAM figures. Start from n8n’s official Enable queue mode documentation and size from there. Vendor blog posts that quote “200–500 MB per worker” are not official n8n measurements I verified.
What n8n version do the official guides refer to?
The DigitalOcean and Hetzner deploy pages I opened listed current stable 2.47.5 and beta 2.48.2. Those numbers will move.
What I will check when this page is refreshed
Around February 2027, or sooner if a vendor changes plans: DigitalOcean and Hetzner list prices, Hostinger promo vs renewal, whether CX23 is in stock in the locations that matter, whether n8n still documents the 4 GB / 2 vCPU Assistant bar, Cloud prices and the official 2.5K / 10K execution allowances, and whether any “official deploy guide” has appeared for Hostinger.
Sources
- n8n pricing, opened 12 November 2026: https://n8n.io/pricing/
- n8n, Choose how to use n8n: https://docs.n8n.io/choose-how-to-use-n8n
- n8n, Install using Docker Compose (4 GB / 2 vCPU sandbox bar): https://docs.n8n.io/deploy/host-n8n/install-options/install-using-docker-compose
- n8n, Deploy to DigitalOcean: https://docs.n8n.io/deploy/host-n8n/install-options/use-a-cloud-provider/deploy-to-digital-ocean
- n8n, Deploy to Hetzner (CPX11 vs 4 GB / 2 vCPU): https://docs.n8n.io/deploy/host-n8n/install-options/use-a-cloud-provider/deploy-to-hetzner
- n8n, Fix memory issues: https://docs.n8n.io/deploy/host-n8n/configure-n8n/scaling/fix-memory-issues
- n8n, Enable queue mode: https://docs.n8n.io/deploy/host-n8n/configure-n8n/scaling/enable-queue-mode
- DigitalOcean Droplet pricing, opened 12 November 2026: https://www.digitalocean.com/pricing/droplets
- Hetzner Cloud overview: https://www.hetzner.com/cloud/
- Hetzner Cost-Optimized (CX23), opened 12 November 2026: https://www.hetzner.com/cloud/cost-optimized/
- Hostinger VPS hosting (Black Friday prepaid prices), opened 12 November 2026: https://www.hostinger.com/vps-hosting