Reader-supported: when you buy through links on AskGPU we may earn an affiliate commission, at no extra cost to you. It never changes our verdicts. How we make money

Self-host n8n: the best VPS and a setup guide

Run n8n on your own server for a fraction of n8n Cloud's price: which VPS to use, what size you need and a step-by-step setup.

Updated

This guide is being written. Below is the outline and our current price data; test results will be added once our testing is complete.

Quick comparison

Self-host n8n: the best VPS and a setup guide: comparison
ProviderFromStarting planFree tierOur ratingLink
HostingerChecked $2.99/moPremium (web hosting)20 GB SSDNo (30-day money-back guarantee)Not ratedVisitOfficial site
Hetzner CloudChecked $6.49/moCX23 (Cost-Optimized, Intel/AMD)2 vCPU · 4 GB RAM · 40 GB NVMeNoNot ratedVisitOfficial site
DigitalOceanChecked $4/moBasic Droplet 512 MiB1 vCPU · 0.5 GB RAM · 10 GiB SSDOccasional promo credit for new usersNot ratedVisitOfficial site
VultrChecked $2.50/moCloud Compute Regular Performance, IPv6-only 0.5 GB1 vCPU · 0.5 GB RAM · 10 GB SSDNo free tierNot ratedVisitOfficial site
ElestioChecked $11/moLinode 'Micro' (cheapest shown)1 vCPU · 1 GB RAM · 25 GB SSD3-day trial with $20 creditNot ratedVisitOfficial site
n8n CloudChecked See sitePrices being checkedFree trial only (self-hosting is free)Not ratedVisitOfficial site

Self-hosted n8n vs n8n Cloud

What you gain (no execution limits, full control, lower cost) and what you take on (updates, backups, security). Licence basics for the Community Edition.

What size server you need

Use vCPU RAM Notes
Personal, a few workflows 1–2 2–4 GB SQLite is fine
Small team 2 4–8 GB Use Postgres
Heavy AI workflows 4+ 8–16 GB Queue mode with workers

[Confirm against n8n’s current documentation before publishing.]

Our VPS picks

Cheapest reliable, easiest one-click (Hostinger’s n8n template, Elestio), and best for scale. Backed by our uptime tests. [Results to be added.]

Setup step by step

Docker Compose with Postgres, a domain and HTTPS, basic auth, automatic backups, and updating safely.

Running AI agents in n8n

Connecting model APIs or a self-hosted model; see self-hosted AI agents.