VPS for n8n

n8n is installed in Docker together with PostgreSQL: at least 2 cores and 2 GB of RAM on KVM. Here: servers outside Russia, so OpenAI, Google and other APIs your workflows call are reachable without a proxy.

Find a VPS in four questions
15,013 plans
Sort by

VPS for n8n: prices, hosting providers and payment methods

The selection has 15,013 plans from 1,620 hosts. Prices start at 1.16 $ per month, a quarter of plans are cheaper than 22.01 $, half are cheaper than 46.00 $. NVMe: 48% of plans, unlimited traffic: 30%, hourly billing: 14%.

Cheapest hosting providers

  1. CloudTechtiqProfessional Cloud VPS · 4 cores · 8 GB1.16 $
  2. TNA HostingSSD KVM 2GB · 2 cores · 2 GB2.00 $
  3. ByteVirtVPS-2048-KVM-Lite-HK · 2 cores · 2 GB2.09 $
  4. CServersExtraVPS-4096 · 3 cores · 4 GB2.16 $
  5. RvhhostVPS Linux NVMe 1 · 2 cores · 2 GB2.23 $

Price by RAM size

RAMPlansPrice from
from 1 GB15,0131.16 $
from 2 GB15,0131.16 $
from 4 GB13,6001.16 $
from 8 GB10,2301.16 $
from 16 GB6,4292.73 $

Payment methods

  • Bank card912 56%
  • Cryptocurrency441 27%

How many hosting providers in the selection accept each payment method.

Best VPS hosting 2026 Provider comparisons VPS guide

How to choose a VPS for n8n and deploy it without surprises

n8n is an automation builder you can install on your own server instead of paying for a cloud subscription. A self-hosted install removes the limits on the number of executions and workflows, and your data and service credentials stay with you. The cost is a virtual server and half an hour of setup.

How many resources n8n needs

n8n itself is a Node.js application; when idle it takes a few hundred megabytes of memory. The load comes from workflows: large API responses, files, loops over thousands of records, Code nodes. Rough guidelines:

  • 1–2 GB RAM, 1 core — personal automations, dozens of executions an hour, an SQLite database.
  • 2–4 GB RAM, 2 cores — a team's working instance with PostgreSQL in a neighbouring container. This is the minimum set in the filter on this page.
  • 4–8 GB RAM or more — queue mode with workers, processing PDFs and images, long AI chains.

An ordinary plan handles calls to external AI models through AI nodes. But if the model has to run on the server itself, the memory requirements are entirely different — see VPS for running AI models on CPU.

Docker, Postgres and the encryption key

The most convenient way to install n8n is with Docker Compose: an n8n container, a PostgreSQL container and a reverse proxy. Docker needs full virtualization, so choose KVM; more about preparing the server on the VPS for Docker page.

By default n8n stores everything in SQLite. That's enough for a trial, but as the execution history grows the database file swells, and queue mode doesn't work with SQLite. PostgreSQL is more reliable and easier to back up with pg_dump.

Set the N8N_ENCRYPTION_KEY variable explicitly and keep a copy of it off the server. All saved credentials are encrypted with this key: without it, a database backup won't restore access to your services.

Webhooks and HTTPS

Many triggers — bots, payment systems, website forms — send events to a webhook, and almost all of them require HTTPS with a valid certificate. You need a domain or subdomain pointing to the server's IP and a proxy like Caddy or nginx with a Let's Encrypt certificate. Put the public address in WEBHOOK_URL, otherwise nodes will show internal links to localhost:5678.

Don't expose port 5678 to the outside. Docker publishes ports bypassing ufw, so bind the container to 127.0.0.1 and let the editor through only via the proxy.

Queue mode

When one process can no longer keep up, n8n is switched to queue mode: the main instance receives webhooks and puts jobs into Redis, and separate workers execute them. You need PostgreSQL, Redis and the same encryption key for all processes. This setup fits comfortably on one VDS with 4–8 GB of memory; it's worth moving workers to separate machines when they run short of cores.

Where to put the server

Look at what your workflows work with. For American and European APIs, a server in Europe or the USA is convenient: some services restrict requests from certain regions. For local CRMs, banks and marketplaces, a server in your own country makes more sense. Set the country in the filters; the payment methods for each plan are shown in the "Payment" column, with prices already in your currency.

FAQ

Is a server with 1 GB of memory enough for n8n?

For personal workflows with small amounts of data it is, especially with SQLite. Add swap and keep an eye on memory when processing files: if it runs out, the execution will fail with an error.

Do I need a domain for self-hosted n8n?

For webhooks almost always yes: external services require HTTPS with a valid certificate, and Let's Encrypt issues it for a domain name. A subdomain of an existing site will do.

Is n8n free when installed on a VPS?

The Community edition is free for personal tasks and a company's internal processes under the Sustainable Use License. The restrictions concern reselling n8n as a service and some enterprise features.

Which should I choose for n8n: SQLite or PostgreSQL?

SQLite is enough for testing; for a working instance PostgreSQL is better. It's more robust with a large execution history and required for queue mode.

Why does the n8n database grow so fast?

n8n saves the input and output data of every execution. Set up history pruning with the EXECUTIONS_DATA_PRUNE and EXECUTIONS_DATA_MAX_AGE variables, and don't save successful executions if you don't need them.

How do I update n8n in Docker?

Back up the database and the data volume, then pull the new image and recreate the container. Before moving to a new major version, read the list of breaking changes.

How much does VPS for n8n cost?

From 1.16 $ per month. A quarter of plans are cheaper than 22.01 $, half are cheaper than 46.00 $. In total 15,013 plans from 1,620 hosts.

Can I pay for VPS for n8n by bank card or cryptocurrency?

By bank card at 912 hosts of 1620 (56%), by cryptocurrency at 441 (27%). Payment methods for each plan are in the Payment column.

How much does VPS for n8n with 2 GB of RAM cost?

From 1.16 $ per month; with 4 GB from 1.16 $, with 8 GB from 1.16 $.

Which countries have the most plans?

Most plans are in in the USA, in Germany and in the Netherlands. You can pick a country in the filter, and prices and payment methods will update.

VPS/VDS collections

all 454 →

Prices and specs are taken from hosting providers' websites; check them on the website before paying, as hosts change plans without notice.