Hosted in Germany • GDPR-ready

n8n Self-Hosting: What It Really Costs

Self-hosting n8n means unlimited executions, full data control, and no vendor lock-in. But it also means 1–3 hours of setup, Docker management, SSL certificates, database backups, and security updates. Here's what you need to know to decide: DIY, or let Opsily handle it.

Test it free — no credit card required
203.5K
GitHub stars
🔗
1,500+
Integrations
👥
170K+
Community members
Unlimited
Executions (self-hosted)
Why self-host n8n?

Why Self-Hosting n8n Matters

n8n is a fair-code, open-source automation platform with 203.5K GitHub stars. It connects to 1,500+ tools—Stripe, Slack, Google Sheets, databases, AI models, webhooks, and more. Self-hosting means your workflows run on your infrastructure. No per-execution billing. No cloud vendor lock-in. Full control over data residency and backups.

But "self-hosting" doesn't mean "free." It means you own the infrastructure costs and the operational overhead.

The Self-Hosting Tradeoff

You get:

  • Unlimited workflow executions (vs. 2,500–40,000 on n8n Cloud plans)
  • Full data sovereignty (your server, your database)
  • GDPR compliance on your terms (data stays in-country, no lock-in)
  • No feature gatekeeping (community edition has everything)

You also get:

  • VPS costs (€4–€12/month for the server)
  • Setup time (1–3 hours for Docker, PostgreSQL, SSL, DNS)
  • Ongoing maintenance (security patches, backups, monitoring, scaling)
  • Operational risk (if your server goes down, workflows stop)

This page walks you through the real costs, setup complexity, and labor involved. Then we'll show you how Opsily removes the ops work while keeping the benefits.

DIY n8n Self-Hosting: What You'll Actually Do

The real path if you run n8n yourself. Assumes basic Linux and Docker knowledge.

1
Get a Linux VPS

Rent a basic server: 2GB RAM, 50GB storage, around €4–€12/month. Popular providers: Hetzner, DigitalOcean, Linode, Vultr.

2
Install Docker and n8n

SSH into the server. Install Docker. Run n8n via Docker Compose or one-line curl install. Map to your domain.

3
Set Up PostgreSQL

n8n needs a database for workflows and credentials. Deploy PostgreSQL on your VPS or use a managed database service. Configure n8n to connect.

1

Get a Linux VPS

Rent a basic server: 2GB RAM, 50GB storage, around €4–€12/month. Popular providers: Hetzner, DigitalOcean, Linode, Vultr.

2

Install Docker and n8n

SSH into the server. Install Docker. Run n8n via Docker Compose or one-line curl install. Map to your domain.

3

Set Up PostgreSQL

n8n needs a database for workflows and credentials. Deploy PostgreSQL on your VPS or use a managed database service. Configure n8n to connect.

4

Configure SSL, DNS, and Backups

Get an SSL certificate (Let's Encrypt is free but needs automation). Point your domain. Set up automated database backups to separate storage. Test everything.

5

Monitor and Maintain Forever

Watch server health. Apply monthly n8n updates. Monitor disk and database growth. Handle failed workflows. Scale when traffic grows. This is your job now.

Self-hosting is not a faster way to free.

DIY n8n costs €4–€12/month for infrastructure. Add 1–3 hours to set it up. Then add 1–2 hours per month to maintain it. Factor in the risk: if it breaks, you fix it.

The real cost breakdown

What Self-Hosting n8n Actually Costs

Infrastructure: €4–€12/month

A basic Linux VPS (2GB RAM, 50GB storage) runs €4–€12/month from Hetzner, DigitalOcean, Linode, or Vultr. n8n itself is free (community edition). If you add a separate managed PostgreSQL database, costs rise to €15–€25/month.

Your Time: €150–€300/month (at average rates)

Setup: 1–3 hours, one-time. At €50/hour, that's €50–€150.

Maintenance: Roughly 1–2 hours per month:

  • Apply n8n updates (monthly releases)
  • Monitor server health and disk space
  • Manage database backups and test restores
  • Troubleshoot failed workflows
  • Renew SSL certificates (if not automated)
  • Scale the VPS when needed

At €50/hour, that's €50–€100/month recurring. If you don't bill yourself, you're still doing the work.

Security: Variable (but Real)

You own:

  • SSL certificate renewal (Let's Encrypt is free, but automation takes setup)
  • Security patch management (monthly n8n releases, Linux kernel patches)
  • Database security (access control, password policies)
  • Backup validation (are backups actually restorable?)
  • Incident response (if your server is compromised or lost)

These are not euros, but they are risk and time.

The Math: DIY vs. Alternatives

DIY self-hosting (first year):

  • VPS: €48–€144
  • Setup labor: €50–€150 (one-time)
  • Maintenance labor: €600–€1,200 (€50–€100/month)
  • Total: €698–€1,494/year

n8n Cloud Starter (€20/month, billed annually):

  • €240/year
  • No setup, no maintenance
  • Limited: 2,500 executions/month only

Opsily Managed n8n (from €9/month):

  • €108+/year
  • All setup and maintenance included
  • Unlimited executions
  • Full data residency control
  • GDPR-compliant EU hosting

Self-hosting is cheaper than Cloud only if you have DevOps capacity already and labor is sunk cost. Otherwise, managed is cheaper than the true cost of DIY.

Let Opsily Handle the Ops

Managed n8n hosting: all the benefits of self-hosting (unlimited executions, full control, GDPR compliance, no lock-in) with zero maintenance.

Monthly
Annual

Loading pricing...

Enterprise-Grade Trust

Your workflows, your data, your rules.

GDPR Compliant

EU data residency. Full data protection agreements (AVV) included. Meet regulatory requirements for healthcare, finance, and government.

Daily Backups

Automated encrypted backups to separate storage. Test restores every week. Disaster recovery and recovery time included in every plan.

99.9% Uptime SLA

Monitored 24/7/365. If Opsily goes down, we compensate. If your workflows fail, we investigate and fix.

Zero Lock-In

Export your workflows anytime as JSON. Import them into any other n8n instance. Run them elsewhere. Opsily is your server, not your prison.

n8n Self-Hosting Questions

Real answers to the decisions you are making.

No. n8n itself (community edition) is free, but hosting costs money. A VPS runs €4–€12/month minimum. Your time for setup (1–3 hours) and maintenance (1–2 hours/month) adds €50–€100/month in labor if you value your time at market rates. So true cost is €4–€112+/month. That said, if you already have DevOps staff, self-hosting can beat n8n Cloud ($20+/month), especially for unlimited executions.

Ready to self-host n8n?

Try Opsily's managed n8n. Setup in minutes, maintenance zero. Or download n8n and run it yourself. We'll be here if the self-hosted path gets too heavy.