·8 min read·Updated Nov 29, 2026

n8n on a No-KYC VPS: Sizing, Setup and Privacy Limits

Self-host n8n on a no-KYC VPS: real RAM and disk sizing, SQLite vs Postgres, webhook security, telemetry settings and what your automations still reveal.

A self-hosted n8n instance runs comfortably on a 4 GB VPS with Postgres. A 2 GB server can handle light, low-volume workflows if you stick with SQLite and add swap. Hosting it yourself on a no-KYC VPS keeps your workflow definitions, credentials and execution history off a SaaS vendor's servers. It does not make the services your workflows call any more private. This guide covers sizing, a deployment that doesn't expose the editor to the internet, the settings that control telemetry and disk growth, and where privacy actually stops.

Why self-host n8n instead of using n8n Cloud or Zapier

n8n is a workflow automation tool. It connects to APIs, receives webhooks, transforms data and triggers actions. You can do much the same on n8n Cloud, Zapier or Make. When you self-host, three things change.

  • Your data stays on your server. Every execution can store its input and output: email bodies, form submissions, API responses. On a hosted platform, that history lives with the vendor. Self-hosted, it sits on your disk under your retention rules.
  • Credentials are encrypted with a key you hold. n8n encrypts stored credentials with an encryption key. On your own server, the key never leaves your control. Protecting it is also your job.
  • No per-execution pricing. The self-hosted Community Edition doesn't charge per task. Your limits are CPU, RAM and disk.

The trade-off is that you own updates, backups and security. If you haven't run a server before, read our breakdown of what you're responsible for on an unmanaged VPS first.

How much server does n8n actually need?

n8n doesn't publish a hard minimum. Resource use depends mostly on three things:

  • how many workflows run at the same time
  • how much data each execution carries
  • whether you use the Code node or process large files

Here is how that maps to the IronBalkans plans. The numbers are planning estimates, not benchmarks.

Plan Specs Realistic n8n setup
Iron 1 (€7.99/mo) 1 vCPU, 2 GB RAM, 20 GB SSD Single n8n container with SQLite, a handful of scheduled or webhook workflows, small payloads. Add swap.
Iron 2 (€14.99/mo) 2 vCPU, 4 GB RAM, 50 GB SSD n8n + Postgres + reverse proxy. Comfortable for dozens of active workflows and moderate webhook traffic.
Iron 3 (€29.99/mo) 4 vCPU, 8 GB RAM, 80 GB SSD Queue mode: main instance, Redis and one or more workers. Suits heavier parallel executions or file processing.
Iron 4 (€59.99/mo) 8 vCPU, 16 GB RAM, 140 GB SSD Several workers, or n8n running alongside other services, such as a CPU-only local model for AI workflows.

What actually drives memory

An idle n8n process uses a few hundred megabytes. Memory spikes come from executions:

  • Large JSON payloads. Each item in a workflow is held in memory as it moves between nodes. Pulling 50,000 rows from a database into one execution costs far more than 50 small webhook calls.
  • Binary data. Images, PDFs and attachments are kept in memory by default. Setting N8N_DEFAULT_BINARY_DATA_MODE=filesystem writes them to disk instead. This is the single most useful setting on a small server.
  • Concurrency. Ten workflows firing at the same moment need roughly ten times the working memory of one.

If you start on Iron 1, read our guide to low-RAM VPS tuning with swap and zram. An OOM kill during an execution leaves it unfinished, and you may not notice.

What drives disk usage

Execution history is the silent disk eater. Recent n8n versions prune execution data by default. The relevant variables are:

  • EXECUTIONS_DATA_PRUNE=true
  • EXECUTIONS_DATA_MAX_AGE, in hours

Check your version's defaults rather than assuming them. Shorter retention is both a disk and a privacy decision: old executions are old copies of other people's data.

SQLite or Postgres?

n8n uses SQLite out of the box. That's fine for a single user with light workloads, and it means one less container eating RAM on a 2 GB plan.

Switch to Postgres when any of these apply:

  • You run many workflows or high webhook volume. SQLite handles concurrent writes poorly.
  • You plan to use queue mode. It requires Postgres.
  • You want a clean database dump in your backup routine.

Migrating later is possible but tedious. If you're on Iron 2 or above, start with Postgres.

A deployment that doesn't expose the editor

The most common self-hosting mistake is publishing port 5678 straight to the internet. Docker-published ports also bypass ufw and nftables INPUT rules. That's covered in detail in why Docker bypasses your VPS firewall.

The fix is to bind n8n to localhost and put a reverse proxy with TLS in front of it. Below is a minimal Docker Compose example using Postgres. It assumes Debian or Ubuntu with Docker and the Compose plugin installed.

services:
  postgres:
    image: postgres:16
    restart: unless-stopped
    environment:
      POSTGRES_USER: n8n
      POSTGRES_PASSWORD_FILE: /run/secrets/pg_password
      POSTGRES_DB: n8n
    secrets: [pg_password]
    volumes:
      - pgdata:/var/lib/postgresql/data

  n8n:
    image: docker.n8n.io/n8nio/n8n
    restart: unless-stopped
    ports:
      - "127.0.0.1:5678:5678"
    environment:
      DB_TYPE: postgresdb
      DB_POSTGRESDB_HOST: postgres
      DB_POSTGRESDB_DATABASE: n8n
      DB_POSTGRESDB_USER: n8n
      DB_POSTGRESDB_PASSWORD_FILE: /run/secrets/pg_password
      N8N_HOST: n8n.example.com
      N8N_PROTOCOL: https
      WEBHOOK_URL: https://n8n.example.com/
      GENERIC_TIMEZONE: Europe/Bucharest
      N8N_DEFAULT_BINARY_DATA_MODE: filesystem
      N8N_DIAGNOSTICS_ENABLED: "false"
      N8N_VERSION_NOTIFICATIONS_ENABLED: "false"
      N8N_TEMPLATES_ENABLED: "false"
    secrets: [pg_password]
    volumes:
      - n8n_data:/home/node/.n8n
    depends_on: [postgres]

secrets:
  pg_password:
    file: ./pg_password.txt

volumes:
  pgdata:
  n8n_data:

The _FILE suffix variants read values from mounted secret files, so passwords stay out of the Compose file and docker inspect output. Confirm your image version supports the _FILE form for each variable you use. Then chmod 600 pg_password.txt.

For the reverse proxy, Caddy or nginx both work. One detail matters: n8n's editor uses WebSockets, so the proxy must pass the Upgrade and Connection headers. Caddy does this automatically. In nginx, add them explicitly.

Verify it

After docker compose up -d, run:

ss -tlnp | grep 5678

You should see 127.0.0.1:5678, not 0.0.0.0:5678. Then confirm from outside the server that http://YOUR_IP:5678 does not respond.

Locking down the editor and webhooks

n8n requires you to create an owner account on first visit. Do it immediately after deployment. Until you do, anyone who reaches the URL can claim the instance.

Beyond the login, consider these measures:

  • Restrict editor access. The editor and the webhook endpoints share a domain, but they don't need the same exposure. A common pattern is to allow /webhook/ paths publicly at the proxy and limit everything else to your WireGuard or SSH-tunnel address.
  • Authenticate webhooks. The Webhook node supports header auth, basic auth and JWT. An unauthenticated production webhook is an open trigger for anyone who discovers the URL.
  • Be careful with the Code and Execute Command nodes. They run code on your server. Anyone with editor access effectively has shell-level capability inside the container.

The encryption key: back it up or lose your credentials

On first start, n8n generates an encryption key. It stores the key in the .n8n directory inside the data volume, unless you set N8N_ENCRYPTION_KEY yourself. Every stored credential is encrypted with it.

If you restore a database backup without the matching key, every credential is unreadable and you re-enter them all by hand. Treat the key like a password manager's master secret. Keep it out of shell history and out of the repo, and store it separately from the database dump. Our guide to VPS secrets management covers the practical options.

Your backups should include:

  1. A Postgres dump (pg_dump) or the SQLite file.
  2. The encryption key.
  3. The filesystem binary data directory, if you rely on stored files.

Test a restore at least once. A backup that has never been restored is an assumption, not a backup.

What self-hosting on a no-KYC VPS does and doesn't hide

This is where expectations need adjusting.

What it removes:

  • An automation vendor holding your workflow logic, execution history and credentials.
  • A billing record tying a card and email to the server, if you register without an email and pay in crypto.

What it doesn't change:

  • Every API account you connect. Google, Slack, OpenAI, your CRM or a Telegram bot each have their own account, usually linked to an email, phone number or card. They see the requests your workflows make, from your VPS's IP address.
  • Your server's IP becomes a shared identifier. Every outbound call comes from the same dedicated IPv4. Anyone with access to logs at several of those services can connect them.
  • Webhook URLs are public endpoints on your domain. Your domain registration and DNS choices still matter.
  • The hosting provider's technical visibility. No-KYC removes identity from the account, not the provider's ability to see traffic metadata on its network.

n8n also offers to unlock some extra Community Edition features if you register an email with them. That step is optional, and on a privacy-focused setup you can simply skip it.

Is a Romania VPS a good fit for n8n?

It fits if your priorities are keeping automation data off third-party platforms, avoiding per-execution pricing and paying without handing over identity documents. Bucharest is well placed for EU-facing APIs.

It's a weaker fit in two cases. One is when your workflows depend heavily on US-only services where every millisecond counts. The other is when you need a managed, hands-off service with someone else handling upgrades.

For most self-hosters, Iron 2 is the practical starting point. It has enough RAM for n8n, Postgres and a reverse proxy without tuning, and room to grow before queue mode becomes necessary. If you're unsure, our broader VPS plan sizing guide maps other workloads you might run on the same server. Servers deploy in about two minutes after payment confirmation in Monero, Bitcoin or Litecoin, with no email or ID required at signup.

Written by IronBalkans. Last reviewed Nov 29, 2026.