AI Workflow Blueprint · Save €526/yrLive data verified:

Deploy n8n Queue Mode on Netcup VPS & EPYC Root Servers

Key Takeaway & Price Summary

Self-hosting n8n in Queue Mode with PostgreSQL 16 and Redis 7 requires 4 vCores and 4–8 GB RAM for high-throughput webhook reliability. Deploying n8n Community Edition on Netcup VPS 1000 G12.5 (4 vCores, 8 GB RAM, 2.5 Gbit/s Traffic Flatrate) costs €11.17/mo net effective (€13.29 gross; regular 12M €12.18/mo net / €14.49 gross, €10.35/mo net on 24M) with a 1-month-free voucher, replacing €50–€60/mo n8n Cloud Pro execution caps and saving €526/yr.

Managed Cloud SaaS Cost
~€55/mo
Netcup Self-Hosted (w/ Voucher)
€11.17
Estimated 1st-Year Savings
Save ~€526/yr
n8n — Hardware Sizing Matrix (CPU / RAM / Storage → Netcup Match)
TierWorkload ScaleCPU / RAM / DiskMatched Netcup Plan
Starter · Webhook & API QueueUp to 100,000 executions/mo · 1 Main + 2 Redis Workers4 vCores (Shared) · 8 GB RAM · 128 GBVPS 1000 G12.5 (€11.17/mo net eff.)
Production · AI Agents & Code Runners250,000+ executions/mo · Heavy JS/Python Task Runners & LangChain4 Dedicated EPYC 9645/9655 · 8 GB RAM · 128 GBRS 1000 G12.5 (€15.22/mo net eff.)
Scale · Agency & Headless Scraping1,000,000+ executions/mo · 6+ Workers + Playwright/Puppeteer8 Dedicated EPYC 9645/9655 · 16 GB RAM · 256 GBRS 2000 G12.5 (€31.35/mo net eff.)
docker-compose.yml
services:
  postgres:
    image: postgres:16-alpine
    restart: unless-stopped
    environment:
      POSTGRES_USER: ${POSTGRES_USER:-n8n}
      POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:?Set strong DB password}
      POSTGRES_DB: ${POSTGRES_DB:-n8n}
    command: ["postgres", "-c", "shared_buffers=1GB", "-c", "max_connections=200"]
    volumes: ["pg_data:/var/lib/postgresql/data"]
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-n8n} -d ${POSTGRES_DB:-n8n}"]
      interval: 5s
      retries: 5
  redis:
    image: redis:7-alpine
    restart: unless-stopped
    command: ["redis-server", "--appendonly", "yes", "--maxmemory", "512mb", "--maxmemory-policy", "noeviction"]
    volumes: ["redis_data:/data"]
    healthcheck:
      test: ["CMD", "redis-cli", "ping"]
      interval: 5s
      retries: 5
  n8n-main:
    image: docker.n8n.io/n8nio/n8n:latest
    restart: unless-stopped
    ports: ["127.0.0.1:5678:5678"]
    environment: &n8n-env
      N8N_ENCRYPTION_KEY: ${N8N_ENCRYPTION_KEY:?Generate 32-byte hex key}
      DB_TYPE: postgresdb
      DB_POSTGRESDB_HOST: postgres
      DB_POSTGRESDB_USER: ${POSTGRES_USER:-n8n}
      DB_POSTGRESDB_PASSWORD: ${POSTGRES_PASSWORD}
      EXECUTIONS_MODE: queue
      OFFLOAD_MANUAL_EXECUTIONS_TO_WORKERS: "true"
      QUEUE_BULL_REDIS_HOST: redis
      N8N_RUNNERS_ENABLED: "true"
      N8N_DEFAULT_BINARY_DATA_MODE: filesystem
      EXECUTIONS_DATA_PRUNE: "true"
      EXECUTIONS_DATA_MAX_AGE: "168"
      WEBHOOK_URL: https://${N8N_DOMAIN}/
    volumes: ["n8n_data:/home/node/.n8n"]
    depends_on: { postgres: { condition: service_healthy }, redis: { condition: service_healthy } }
  n8n-worker:
    image: docker.n8n.io/n8nio/n8n:latest
    restart: unless-stopped
    command: worker --concurrency=10
    environment: *n8n-env
    volumes: ["n8n_data:/home/node/.n8n"]
    deploy: { replicas: 2 }
    depends_on: { n8n-main: { condition: service_started } }
volumes: { pg_data: {}, redis_data: {}, n8n_data: {} }
VPS 1000 G12.5✓ New & Existing Users
Netcup VPS 1000 G12.5€11.17 eff. / mo
  • • 1 Month Free (€12.18 net / €14.49 gross saved; eff. €11.17/mo net!)
  • • 4 vCore (x86) + 8 GB ECC RAM + 128 GB SSD + 2.5 Gbit/s port
  • • Unlimited Traffic (>2 TB/24h → 200 Mbit/s); DE, AT, NL, USA & SG

Works for new & existing accounts — opens directly in an empty Netcup cart.

6877nc17910741410
Copy & Open Cart
Open VAT & True-Cost Calculator

Why Does Production n8n Require Queue Mode Instead of Single-Container SQLite?

Single-container n8n deployments backed by SQLite lock the database file once daily workflow volume surpasses 500–1,000 executions, causing incoming Stripe, GitHub, and Telegram webhooks to drop with HTTP 502/504 timeouts. Configuring n8n in Queue Mode (EXECUTIONS_MODE=queue) decouples webhook ingestion from background workflow processing across four dedicated containers: a main n8n coordinator, stateless BullMQ worker nodes, Redis 7 in-memory message brokering, and PostgreSQL 16 persistent storage. Under Queue Mode orchestration, the main n8n process consumes 350–550 MB of RAM to accept HTTP triggers and schedule cron jobs within 15 milliseconds, immediately pushing job IDs into Redis (~80 MB RAM). Stateless n8n workers—each requiring 450–900 MB of Node.js heap depending on JSON payload size and AI LangChain memory buffers—pull queued jobs concurrently without freezing the visual editor. On Netcup’s 8 GB VPS 1000 G12.5, operators comfortably run 2 to 3 parallel workers alongside PostgreSQL (shared_buffers=1GB) with over 3 GB of safety headroom.

Enabling OFFLOAD_MANUAL_EXECUTIONS_TO_WORKERS=true ensures that even interactive test runs inside the n8n browser canvas execute on worker containers rather than spiking main-process V8 memory. In n8n 1.70+ and 2.x releases, setting N8N_RUNNERS_ENABLED=true isolates custom JavaScript and Python Code node execution inside dedicated task runner subprocesses, preventing infinite loops or large CSV/JSON array transformations from crashing the webhook listener.

Crucially, Redis must always be configured with --maxmemory-policy noeviction and Append-Only File (--appendonly yes) persistence. Using an LRU eviction policy in BullMQ corrupts active job locks when Redis hits memory pressure, leading to stalled workflows that never mark completion in PostgreSQL.

n8n Queue Mode Container Memory Breakdown on 8 GB Netcup Host
Service ContainerIdle RAMPeak Load RAMPrimary Role in Stack
n8n-main (UI + Webhooks)340 MB600 MBREST API, Editor UI, Cron & Webhook ingestion
n8n-worker (x2 Replicas)720 MB total1,850 MB totalBullMQ job consumers (--concurrency=10 each)
postgres:16-alpine280 MB1,250 MBWorkflow definitions, encrypted credentials & execution logs
redis:7-alpine (AOF)45 MB512 MBBullMQ job broker with noeviction lock integrity
Caddy 2 + Linux Kernel Cache180 MB450 MBAutomatic TLS 1.3, HTTP/3 & filesystem buffer cache

Should You Host n8n on Netcup VPS 1000 G12.5 or Root Server 1000 G12.5?

Selecting between Netcup VPS 1000 G12.5 (€11.17/mo effective net w/ 1 month free; regular 12M €12.18/mo net / €14.49 gross, or €10.35/mo net on 24M) and Root-Server RS 1000 G12.5 (€15.22/mo effective net on 12M w/ 2 months free via 6874nc; regular 12M €18.26/mo net, 24M €15.52/mo net) depends on whether n8n workflows are I/O-bound API orchestrations or CPU-intensive JavaScript/Python Task Runner computations. Both G12.5 plans deliver 4 cores, 8 GB RAM, fast NVMe/SSD storage, and a 2.5 Gbit/s port in EU & Manassas USA with Traffic Flatrate (Unlimited—temporary throttle to 200 Mbit/s above 2 TB/24h on VPS, or 300 Mbit/s above 3 TB/24h on RS, lifting automatically). Standard webhook pipelines that forward CRM leads, Slack alerts, and OpenAI HTTP completions spend 92% of execution time awaiting external network responses, making the shared vCores of VPS 1000 G12.5 (available in Nuremberg, Vienna, Amsterdam, and Manassas USA) the lowest-cost fit. Conversely, workflows executing heavy Code nodes (N8N_RUNNERS_ENABLED=true), PDF parsing, Puppeteer headless browsers, or cryptographic HMAC loops benefit dramatically from the 4 dedicated AMD EPYC™ 9645 or 9655 physical cores on RS 1000 G12.5, eliminating noisy-neighbor CPU steal for €4.05/mo net extra.

When AI Agent nodes split 50-page PDF contracts into 500-token chunks for vector embedding, PostgreSQL write IOPS and single-core V8 serialization speed dictate end-to-end latency. On RS 1000 G12.5 ("No preference Europe" at €0.00 surcharge across Nuremberg DE / Vienna AT), dedicated AMD EPYC™ 9645 or 9655 cores sustain deterministic throughput 24/7, and the 2-months-free voucher (6874nc, worth €36.52 net) keeps the 12-month effective rate at €15.22/mo net (€18.11 gross).

Shared Filesystem Requirement for Multi-Worker Binary Data

When running N8N_DEFAULT_BINARY_DATA_MODE=filesystem on a single Netcup server, mount the same named Docker volume (n8n_data:/home/node/.n8n) into both n8n-main and all n8n-worker replicas so binary attachments uploaded via webhook are immediately readable by every worker.

How Much Does Self-Hosted n8n on Netcup Save Compared to n8n Cloud Pro?

n8n Cloud Starter (€20–€24/mo) caps workspaces at 2,500 monthly workflow executions and 5 concurrent runs, while n8n Cloud Pro (€50/mo billed annually or €60/mo monthly) caps usage at 10,000 monthly executions and 20 concurrent runs. High-frequency polling workflows—such as checking IMAP inboxes, Shopify orders, or RSS feeds every 60 seconds—consume 43,200 executions per month on a single workflow unless carefully refactored, rapidly forcing SaaS teams onto €120–€667/mo tiers. Self-hosting n8n Community Edition under the Fair-Code Sustainable Use License removes all execution and active-workflow ceilings completely at €0 software cost. Running the full Queue Mode stack on Netcup VPS 1000 G12.5 costs €12.18/mo standard 12M net (€14.49 gross, or €10.35/mo net on 24M) and drops to €11.17/mo effective net (€13.29 gross) over 12 months after redeeming the 1-month-free voucher (€12.18 net credit), delivering €526 in verified first-year infrastructure savings while keeping sensitive API credentials and GDPR customer payloads strictly inside Netcup’s Nuremberg, Vienna, or Amsterdam data centers.

  • Unlimited Workflow Executions: Run 500,000+ monthly executions without per-run metering or sudden billing overages.
  • Full NPM & Community Nodes Access: Install external npm libraries (NODE_FUNCTION_ALLOW_EXTERNAL) and custom community scraping nodes restricted on SaaS Starter tiers.
  • EU Sovereign Data Residency: Host PostgreSQL credentials and webhook payloads in Nuremberg (DE), Vienna (AT), or Amsterdam (NL, VPS) under European GDPR jurisdiction.
  • Co-Host Auxiliary AI Tools: Use the remaining 3+ GB of RAM on VPS 1000 / RS 1000 to run Qdrant, Gotenberg PDF converter, or Uptime Kuma alongside n8n.

How Do You Configure Reverse Proxy WebSockets, Binary Storage, and Postgres Pruning?

Two misconfigurations break over 70% of fresh self-hosted n8n deployments: missing WebSocket upgrade headers on the reverse proxy and unpruned binary execution payloads filling disk storage within weeks. The n8n visual canvas relies on persistent Server-Sent Events (SSE) and WebSockets (N8N_PUSH_BACKEND=websocket) to stream live node execution statuses; Caddy 2 handles TLS 1.3 Let’s Encrypt certificates and WebSocket upgrades automatically with a three-line reverse_proxy 127.0.0.1:5678 directive, whereas Nginx requires explicit Upgrade and Connection headers plus proxy_buffering off. For disk longevity on a 128 GB SSD/NVMe volume, production environments must set N8N_DEFAULT_BINARY_DATA_MODE=filesystem instead of storing PDFs and images inside PostgreSQL bytea rows, alongside EXECUTIONS_DATA_PRUNE=true and EXECUTIONS_DATA_MAX_AGE=168 to purge seven-day-old execution logs automatically. Pairing daily pg_dump -Fc backups with encrypted Restic snapshots to S3 storage ensures full disaster recovery of workflows, credentials, and N8N_ENCRYPTION_KEY secrets in under four minutes with zero data loss.

/etc/caddy/Caddyfile
n8n.yourdomain.com {
    encode zstd gzip
    request_body {
        max_size 100MB
    }
    reverse_proxy 127.0.0.1:5678 {
        flush_interval -1
        header_up X-Real-IP {remote_host}
    }
}

Popular Self-Hosted App Blueprints

Coolify & Dokploy

Self-hosting Coolify or Dokploy transforms a Linux server into an automated Git-push PaaS with Traefik/Caddy SSL, PR previews, and managed databases, requiring 4 cores and 8 GB RAM to survive Nixpacks build spikes. Netcup RS 1000 G12.5 (4 dedicated AMD EPYC™ 9645 or 9655 cores, €15.22/mo net eff. on 12M with 2 free months via 6874nc; €15.52/mo net on 24M) replaces €85+/mo Vercel and Render bills.

Supabase

Self-hosting the full 12-container Supabase stack—PostgreSQL, Kong/Envoy, GoTrue Auth, PostgREST, Realtime, Storage, Studio, and Supavisor—requires at least 8 GB RAM and high-IOPS NVMe storage. Netcup Root-Server RS 1000 G12.5 (4 dedicated AMD EPYC™ 9645 or 9655 cores, 8 GB DDR5 ECC, 2.5 Gbit/s Traffic Flatrate) costs €15.22/mo net effective on 12M with 2 free months (6874nc; €15.52/mo net on 24M), saving €1,197/yr vs Supabase Pro plus dedicated compute.

Dify & LiteLLM AI Gateway

Self-hosting Dify alongside a LiteLLM or OpenClaw AI Gateway orchestrates 9–11 containers—API, Celery workers, Plugin Daemon, Sandbox, Redis, PostgreSQL, and Weaviate/pgvector—requiring 8–16 GB RAM. Netcup RS 2000 G12.5 (8 dedicated AMD EPYC™ 9645 or 9655 cores, 16 GB DDR5 ECC, 2.5 Gbit/s Traffic Flatrate) costs €31.35/mo net effective on 12M with 1 free month via 6875nc (€29.07/mo net on 24M), replacing €145/mo Dify Team SaaS limits.

Vaultwarden & Homelab Starter Stack

Deploying the ultimate Homelab Starter Stack—Vaultwarden password vault, Caddy 2 auto-HTTPS, Uptime Kuma status alerts, Beszel telemetry, and CrowdSec IPS—on Netcup VPS 1000 G12.5 (4 vCores, 8 GB RAM, 2.5 Gbit/s Traffic Flatrate) costs just €11.17/month net effective (€13.29 gross; €12.18/mo regular 12M net, €10.35/mo on 24M) with the 1-month-free voucher, or €1.85/month net (€1.43/mo net eff. w/ 36nc) on VPS pico G11.5s, saving €454/year over €49/month SaaS tools.

Frequently Asked Questions

What happens if I lose my N8N_ENCRYPTION_KEY during a server migration?

All stored OAuth2 tokens, API keys, and database credentials in PostgreSQL are AES-encrypted using N8N_ENCRYPTION_KEY. If you do not explicitly define and back up N8N_ENCRYPTION_KEY in your .env file, n8n generates a random key inside /home/node/.n8n/config—losing it makes every saved credential in your Postgres backup permanently unreadable.

Why do OAuth callbacks (Google, Slack, Microsoft) redirect to localhost:5678?

n8n constructs OAuth redirect URIs and webhook endpoints from WEBHOOK_URL (plus N8N_HOST and N8N_PROTOCOL=https). Always set WEBHOOK_URL=https://n8n.yourdomain.com/ on both n8n-main and n8n-worker containers and restart the stack so external OAuth providers receive your public HTTPS callback URL.

Do I need separate webhook processor containers (n8n webhook) on Netcup?

Only once sustained incoming webhook bursts exceed 150–200 requests per second. Below 100 req/s, n8n-main easily ingests webhooks and enqueues jobs into Redis while n8n-worker replicas execute all heavy business logic. Above 200 req/s, add command: webhook replicas behind Caddy load balancing.

How do I prevent Node.js Out-Of-Memory (OOM) errors on large CSV or AI workflows?

Add NODE_OPTIONS=--max-old-space-size=2048 to n8n-worker environment variables on an 8 GB VPS 1000 or RS 1000, split large batches into sub-workflows using the "Execute Sub-workflow" node (which frees child execution memory immediately upon return), and keep N8N_DEFAULT_BINARY_DATA_MODE=filesystem active.