n8n VPS plan 1
- vCPU1
- RAM1 GB
- NVMe25 GB
- TrafficUnlimited
Regions
No location matches that search. Try a country or a city name.
Bare metal
Server lanes
Popular routes
Apps, systems and use cases
Root · NVMe · Docker ready · from $14.99 a month
An n8n VPS is a private KVM server that runs your self-hosted n8n workflows around the clock, with root, NVMe and no per execution fees.
Definition
An n8n VPS is a virtual private server that runs n8n, the workflow automation tool, all day with root access and its own IPv4.
n8n is a workflow automation tool that links apps, APIs and AI models through nodes. On a VPS it becomes your own automation server that never sleeps.
A laptop goes offline when you close it, some free tiers sleep or cap resources, and n8n Cloud plans count executions. A KVM VPS gives n8n an always-on server and a public IPv4, so apps can reach your webhooks at any hour and long jobs keep running while you are offline. You get root to run Docker, Postgres and a reverse proxy beside n8n, and the workflows, credentials and execution logs stay on a disk you control.
n8n plans
n8n VPS hosting plans start at $14.99 a month, and the 4 GB plan at $28.99 is the usual pick for n8n with Postgres. Every plan has NVMe, root and unlimited traffic.
| Plan | vCPU | RAM | Storage | Traffic | Price a month |
|---|---|---|---|---|---|
| N8N · VL 1 | 1 vCPU | 1 GB | 25 GB NVMe | Unlimited | $14.99 |
| N8N · VL 2 | 2 vCPU | 2 GB | 40 GB NVMe | Unlimited | $20.99 |
| N8N · VL 3 | 2 vCPU | 4 GB | 60 GB NVMe | Unlimited | $28.99 |
| N8N · VL 4 | 4 vCPU | 6 GB | 70 GB NVMe | Unlimited | $35.99 |
| N8N · VL 5 | 4 vCPU | 8 GB | 90 GB NVMe | Unlimited | $44.99 |
| N8N · VL 6 | 6 vCPU | 10 GB | 100 GB NVMe | Unlimited | $60.99 |
| N8N · VL 7 | 8 vCPU | 12 GB | 150 GB NVMe | Unlimited | $73.99 |
| N8N · VL 8 | 10 vCPU | 14 GB | 170 GB NVMe | Unlimited | $99.99 |
| N8N · VL 9 | 16 vCPU | 16 GB | 210 GB NVMe | Unlimited | $127.99 |
| N8N · VL 10 | 20 vCPU | 24 GB | 310 GB NVMe | Unlimited | $204.99 |
| N8N · VL 11 | 24 vCPU | 32 GB | 410 GB NVMe | Unlimited | $283.99 |
| N8N · VL 12 | 32 vCPU | 64 GB | 510 GB NVMe | Unlimited | $409.99 |
Best VPS for n8n
On a VPS, n8n needs about 2 GB of RAM for light workflows and 4 GB once Postgres runs beside it, with more for AI agents and big data.
What else runs on it
Suggested N8N · VL 3 at $28.99 a month
n8n with Postgres and an HTTPS proxy on one server.
n8n on SQLite with a handful of workflows. Fine to learn on, tight once Postgres joins.
n8n, Postgres and an HTTPS proxy side by side, with headroom for busy webhooks.
Large JSON payloads, files, long loops and agent memory all sit in RAM while a run is active.
A main process, Redis and several workers, each with its own share of memory.
This is our sizing guidance from typical installs, not an n8n requirement. n8n does not cap the data a node holds, so watch memory in the first week and move up in place if it runs high. Agents that call hosted model APIs need little extra memory. Local models need RAM matched to the model, and these plans have no GPU, so size an AI VPS by the model you plan to run.
Licensing
Self-hosted n8n is free under the Community edition, with no license key or per execution fee, so you pay for the server and your APIs.
The Community edition runs without a license key. On paid self-hosted plans, team features turn on with a license key that contacts n8n once a day. Registering a free Community instance adds folders and extra debugging tools. Self-hosting is free for your own internal automations, while offering n8n to customers as a hosted service falls under the n8n Sustainable Use License, so read it first if you build for clients.
Cost check
Self-hosted n8n on a VPS costs a flat server fee, while n8n Cloud plans bill by included executions, from 2.5K runs a month.
n8n Cloud
Pro plan, 10K executions included, 50 EUR a month billed annually
n8n on a VPS
No execution count. Size by workload, from $28.99 a month for 4 GB
| Need | n8n on your VPS | n8n Cloud | Managed n8n app hosting |
|---|---|---|---|
| How you pay | Flat monthly server price | Plan by included executions | Monthly app fee |
| Execution limits | None from n8n | Set by plan | Depends on the host |
| Root, custom nodes and Code node packages | Full control | Limited | Partial |
| Who updates n8n | You, with Compose | n8n | The host |
| Where data lives | Your server and region | n8n hosting regions | The host region |
| Other apps on the same server | Yes, with root | No | Usually no |
| Setup effort | About an hour with the steps below | Minutes | Minutes |
n8n Cloud prices are from the n8n pricing list, billed annually in euros, and may change. A VPS also runs Postgres, a proxy and other tools such as a Docker VPS stack or a Coolify VPS dashboard if you prefer a panel.
Pick n8n Cloud when you would rather the n8n team handle hosting and updates. Choose a VPS if you want root, a fixed server price and other services beside n8n, and you are happy to own updates, backups and security.
Step by step
To self-host n8n on a VPS, point a domain at the server, install Docker, then start n8n, Postgres and an HTTPS proxy with Compose.
Step 1 of 6: Point a domain
Create an A record such as n8n.example.com that points to the server IPv4 from your welcome email.
On your computer
dig +short n8n.example.comStep 2 of 6: Log in and close ports
Update the system and allow only SSH and web traffic. Port 5678 stays private.
On your computer
ssh root@YOUR_SERVER_IPOn the server
apt update && apt -y upgrade
ufw allow OpenSSH
ufw allow 80/tcp
ufw allow 443/tcp
ufw enableStep 3 of 6: Install Docker
The official script installs Docker Engine and the Compose plugin in one go.
On the server
curl -fsSL https://get.docker.com | sh
docker compose versionStep 4 of 6: Write the settings
One .env file holds the domain, time zone, database password and a random encryption key.
On the server
mkdir -p ~/n8n && cd ~/n8n
cat > .env <<'EOF'
N8N_HOST=n8n.example.com
N8N_PROTOCOL=https
N8N_WEBHOOK_URL=https://n8n.example.com/
N8N_PROXY_HOPS=1
GENERIC_TIMEZONE=Europe/Berlin
TZ=Europe/Berlin
POSTGRES_PASSWORD=change-this-password
N8N_VERSION=3.4.3
EOF
echo "N8N_ENCRYPTION_KEY=$(openssl rand -hex 32)" >> .env
chmod 600 .envStep 5 of 6: Define the stack
Postgres with a health check, a pinned n8n version and Caddy for automatic HTTPS. n8n listens only on the private Docker network.
compose.yaml
services:
postgres:
image: postgres:16
restart: unless-stopped
environment:
- POSTGRES_USER=n8n
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_DB=n8n
volumes:
- db_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U n8n -d n8n"]
interval: 5s
timeout: 5s
retries: 10
n8n:
image: docker.n8n.io/n8nio/n8n:${N8N_VERSION}
restart: unless-stopped
env_file: .env
environment:
- DB_TYPE=postgresdb
- DB_POSTGRESDB_HOST=postgres
- DB_POSTGRESDB_DATABASE=n8n
- DB_POSTGRESDB_USER=n8n
- DB_POSTGRESDB_PASSWORD=${POSTGRES_PASSWORD}
volumes:
- n8n_data:/home/node/.n8n
depends_on:
postgres:
condition: service_healthy
caddy:
image: caddy:2
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
- caddy_data:/data
volumes:
db_data:
n8n_data:
caddy_data:Caddyfile
n8n.example.com {
reverse_proxy n8n:5678
}Step 6 of 6: Start and claim it
Start the stack, open your domain and create the owner account, then turn on two-step login.
On the server
docker compose up -d
docker compose ps
docker compose logs -f n8nBefore you start, swap in your own domain, address, time zone and password. n8n reads N8N_WEBHOOK_URL from version 2.30, and older versions use WEBHOOK_URL, as the n8n reverse proxy docs explain. Keep N8N_VERSION on a release you have tested. Our full guide to self host n8n walks through each step with screenshots, and this note on what docker compose up -d does explains the start command.
Scaling
n8n queue mode splits work between a main process, Redis and worker processes, and all of them can run on one larger server.
20execution slots across workers
N8N · VL 5suggested plan, $44.99 a month
Each worker needs the same N8N_ENCRYPTION_KEY and EXECUTIONS_MODE=queue as the main process. n8n sets concurrency to 10 by default and recommends 5 or higher. Real throughput also depends on CPU, RAM, the database and API rate limits.
Add these services to the compose.yaml from the setup steps, add redis_data to the volumes list, and add EXECUTIONS_MODE=queue, QUEUE_BULL_REDIS_HOST=redis and a healthy Redis dependency to the main n8n service too. The main process keeps the editor, triggers and webhooks, workers run the queued jobs, and main and workers must run the same n8n version.
redis:
image: redis:7-alpine
restart: unless-stopped
volumes:
- redis_data:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 5s
timeout: 3s
retries: 10
n8n-worker:
image: docker.n8n.io/n8nio/n8n:${N8N_VERSION}
restart: unless-stopped
depends_on:
postgres:
condition: service_healthy
redis:
condition: service_healthy
command: worker --concurrency=10
env_file: .env
environment:
- EXECUTIONS_MODE=queue
- QUEUE_BULL_REDIS_HOST=redis
- DB_TYPE=postgresdb
- DB_POSTGRESDB_HOST=postgres
- DB_POSTGRESDB_DATABASE=n8n
- DB_POSTGRESDB_USER=n8n
- DB_POSTGRESDB_PASSWORD=${POSTGRES_PASSWORD}
docker compose up -d --scale n8n-worker=2Use Postgres for queue mode, since n8n does not recommend running it with SQLite. Move to queue mode when single runs start to wait on each other, not on day one.
Use cases
An n8n server can automate lead routing, AI agents, order syncing, alerts, reports and data pipelines that must run while you sleep.
Form fills land on a webhook, get enriched and reach your CRM and inbox within seconds.
An agent node reads a message, calls a hosted model and tools, then replies in chat or email.
New orders flow into accounting, shipping labels and customer emails without copy and paste.
Scheduled checks call your sites and APIs and post to chat the moment something breaks.
Nightly pulls from analytics and billing tools become one summary in every inbox by morning.
Batches of rows move from APIs and sheets into a database, cleaned and deduplicated on the way.
Requests in chat trigger approval steps, updates in your tools and a log of who signed off.
Many client workflows on one server, kept apart by credentials and scaled with queue mode.
Example flow from form to CRM
The model API is billed by its own provider. The 4 GB plan is a sensible start for this kind of flow, though memory use depends on concurrency, payload size and what else runs on the server.
Plan picks leave headroom for Postgres and a proxy. For a fuller local AI setup with models and vector stores, see our self-hosted AI stack.
Security
Secure self-hosted n8n with HTTPS, a firewall that hides port 5678, two-step login, a saved encryption key and regular updates.
Check it from the server
ss -tulpn | grep -E ':80|:443|:5678'
ufw status verbose
curl -sI https://n8n.example.com | head -1
docker compose exec n8n n8n auditOnly ports 80 and 443 should be published to the internet, and 5678 should have no public mapping, which docker compose ps confirms. Check the firewall rules separately. The n8n audit reports risky nodes, credentials and settings worth a second look. Keep SSH tidy with key logins, as in our guide to generate an SSH key.
Care routine
Back up n8n on your VPS by saving the Postgres database and the .env file with its key, then update by pulling new images with Compose.
Every night
Every week
Before each update
#!/bin/bash
# save as ~/n8n/backup.sh and run: bash backup.sh
set -euo pipefail
cd ~/n8n && mkdir -p ~/backups
SVC=$(docker compose config --services | grep -E '^n8n(-worker)?$' | tr '\n' ' ')
trap 'docker compose start $SVC' EXIT
docker compose stop $SVC
docker compose exec -T postgres pg_dump -U n8n n8n | gzip > ~/backups/n8n-$(date +%F).sql.gz
docker run --rm -v n8n_n8n_data:/data -v ~/backups:/b alpine tar czf /b/n8n-data-$(date +%F).tgz -C /data .
cp .env compose.yaml Caddyfile ~/backups/cd ~/n8n
sed -i 's/^N8N_VERSION=.*/N8N_VERSION=NEW_STABLE_VERSION/' .env
docker compose pull
docker compose up -d
docker compose logs --tail=50 n8ncd ~/n8n
SVC=$(docker compose config --services | grep -E '^n8n(-worker)?$' | tr '\n' ' ')
docker compose stop $SVC
docker compose exec -T postgres dropdb -U n8n --if-exists n8n
docker compose exec -T postgres createdb -U n8n n8n
gunzip -c ~/backups/n8n-2026-12-01.sql.gz | docker compose exec -T postgres psql -U n8n n8n
docker run --rm -v n8n_n8n_data:/data alpine sh -c 'find /data -mindepth 1 -delete'
docker run --rm -v n8n_n8n_data:/data -v ~/backups:/b alpine tar xzf /b/n8n-data-2026-12-01.tgz -C /data
docker compose start $SVCThe backup script pauses n8n and any queue workers for as long as the dump and archive take, and the trap starts them again even if a step fails. The restore drops the n8n database and wipes the n8n_data volume before loading the backup, which permanently deletes their current contents, so run it only on the server you are recovering, with the right backup files and no executions running. If a restore command fails, leave n8n and its workers stopped until you fix the error or finish the restore. Keep the backup files until n8n starts and you have checked that workflows and saved credentials are there. Set NEW_STABLE_VERSION to a stable release you have reviewed, not a beta. The volume name assumes the project folder is called n8n. Restore into a fresh, empty database with the same encryption key, or saved credentials will not open. Database upgrades can make a downgrade unsafe, so roll back by restoring the backup taken before the update. Backups and execution pruning are separate: by default n8n prunes run history after 14 days or 10,000 runs, while your dumps keep whatever existed on the night they ran. Our disk space check for Linux helps you spot growth early.
Troubleshooting
Most n8n self-hosting problems come from memory, a wrong webhook URL, a changed encryption key, a stopped container or the time zone.
JavaScript heap out of memory, Connection Lost or a 503 during big runs
A workflow holds more data than the server can keep in memory. Split work into batches of a few hundred rows, move heavy steps into sub-workflows and avoid manual test runs on full datasets. Should it keep failing, upgrade to a plan with more memory. A larger heap limit only helps when free memory really exists.
NODE_OPTIONS=--max-old-space-size=2048Webhook URLs read http://localhost:5678 in the editor
Behind a proxy n8n builds links from its own port. Set N8N_WEBHOOK_URL to the public HTTPS address and recreate the container.
docker compose up -d --force-recreate n8nCredentials could not be decrypted after a move or rebuild
The encryption key changed. Put the original N8N_ENCRYPTION_KEY back in .env and restart. Without it, saved credentials must be created again.
grep N8N_ENCRYPTION_KEY ~/backups/n8n-env-*The domain answers 502 Bad Gateway
Caddy is up but n8n is not answering yet, often while it starts or after a crash. Check the container state and the last log lines.
docker compose ps
docker compose logs --tail=50 n8nSchedule Trigger fires at the wrong time of day
n8n falls back to New York time when GENERIC_TIMEZONE is not set. Set it with TZ to your zone, recreate the container and check the workflow time zone setting.
GENERIC_TIMEZONE=Europe/BerlinThe editor shows connection lost behind a proxy
The proxy is not passing WebSocket upgrades. Caddy does this by default, while Nginx needs Upgrade and Connection headers in the location block.
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";Free space drops week by week
Execution data, old images and binary files add up. Remove dangling images, and to keep fewer runs add EXECUTIONS_DATA_MAX_AGE in hours to .env, then recreate the n8n container.
docker system df
docker image prune
echo "EXECUTIONS_DATA_MAX_AGE=168" >> .env
docker compose up -d n8nNODE_OPTIONS goes in the .env file. The 2048 example suits a 4 GB plan that also runs Postgres, so leave room for the database and the system on any plan. Our Linux commands cheat sheet covers the basics for reading logs and disk use.
Responsibilities
On an n8n VPS you manage n8n itself, its updates and backups, while VPS Lane runs the hardware, network and KVM layer underneath.
VPS Lane runs
You run
Limits to know
Our support covers the server itself. Docker setup, n8n workflows, database tuning and third party integrations stay with you. The network targets 99.9% uptime under our service level agreement, and every order carries a 30 day money back window.
Buyer checklist
The best VPS for n8n has at least 4 GB of RAM, NVMe storage, a dedicated IPv4 for webhooks, full root and room to grow into queue mode.
n8n holds workflow data in memory, and Postgres wants its own share.
Execution logs and database writes stay quick as history grows.
Apps that call your webhooks and allow lists need a fixed address.
Docker, Postgres and a proxy need real root, not a shared panel.
Busy webhooks and API polling never run into a monthly limit.
Move to more RAM later without rebuilding the server.
Lower latency to the services your workflows call most.
Pay in Bitcoin, USDT or Litecoin with no card on file.
Every VPS Lane plan ticks these, from the 4 GB plan upward for production n8n. Compare all sizes on the VPS pricing overview.
Locations
Host your n8n server near the APIs and people it serves most, or in the region where your workflow data has to stay.
The same plan sizes run in each location, though prices vary by city. Pick the region where your data should live, then the one closest to the APIs your workflows call most.
Ordering
From crypto payment to a running n8n takes a plan, a region and a payment in Bitcoin, USDT or Litecoin, then the setup steps above.
FAQ
These n8n hosting questions cover cost, RAM, setup, databases, webhooks, the encryption key, AI agents, moving from Cloud and payment.
Yes, and it is among the most popular ways to self host n8n, since it stays online for webhooks and schedules and gives you root to run Docker.
It is. Self hosting the Community edition needs no license key and has no charge per execution. You pay for the server, from $14.99 a month here, plus any domain or API costs your workflows add.
On VPS Lane it starts at $14.99 a month, and the 4 GB plan most n8n installs need is $28.99, or less on a 1 to 3 year term.
Look for at least 4 GB of RAM for n8n with Postgres, NVMe storage, full root, a dedicated IPv4 for webhooks and a way to move up as workflows grow.
Light workflows on SQLite get by with roughly 2 GB. Plan on 4 GB with Postgres in production, and 6 to 8 GB or more for AI agents, big datasets or queue mode.
No. The server arrives as a clean Linux image with root, and you start n8n with the Docker Compose steps on this page, so the versions stay in your hands.
SQLite works for trying things out. Run Postgres in production, or read about a MySQL VPS if you also run other databases, because n8n does not recommend SQLite for queue mode, and switching later is a migration that needs a full backup first.
n8n builds the URL from its own port when it sits behind a proxy. Point N8N_WEBHOOK_URL at your public HTTPS address, then restart the container.
Saved credentials can no longer be decrypted, so you would have to enter them again. Keep a copy of N8N_ENCRYPTION_KEY somewhere off the server.
Yes. Agents that call hosted model APIs run well on 4 to 6 GB. Running local models as well needs more RAM and cores, which an AI VPS provides, since these plans have no GPU.
You can. Export the workflows from n8n Cloud, bring them into the new server, then add credentials again, update OAuth callback and webhook URLs, recreate users and projects, activate each workflow and test it before you switch live traffic.
Every n8n plan is billed in crypto, using Bitcoin, USDT or Litecoin, just like a Bitcoin VPS, and the server is ready in under 7 minutes once the payment confirms.
Automate
Launch your n8n VPS today with root, NVMe and a dedicated IPv4, paid in Bitcoin, USDT or Litecoin and ready in under 7 minutes.