n8n Cloud vs Self-Hosted: Cost, Control and Security

Self-hosted n8n vs n8n Cloud: real infrastructure cost, upgrade and on-call burden, data control, and the security trade-offs technical teams should weigh.

Executive Summary: Self-hosted n8n looks free, but the real cost is the people and processes needed to run it safely. n8n Cloud costs more per execution and removes most operational work, yet you accept its region, limits and upgrade schedule. I break the decision into three parts: total cost, control and security. Then I give a simple rule: self-host when data control or internal network access is a hard requirement and you have an owner for operations; otherwise, start on Cloud.

The first time a team prices self-hosted n8n, the spreadsheet is short. One small virtual machine, one database, zero licence fees. Compared with an n8n Cloud subscription, the decision looks obvious.

Then the second spreadsheet arrives, usually after the first upgrade goes wrong. It has rows for backups, monitoring, TLS certificates, security patches, on-call and the hours an engineer spent reading release notes. That second spreadsheet is the one worth building before you choose.

When I set up my own DevOps and CI/CD alerting workflows, the first real question was not which nodes to use. It was where those workflows should run, given that they needed to reach build systems and post alerts reliably. Every team building on n8n faces the same question, so here is how I reason about it. If you are new to the platform itself, start with my overview of what n8n is, and the comparison with Make and Zapier.

Self-Hosted n8n vs n8n Cloud at a Glance

Factor n8n Cloud Self-hosted n8n
Licence cost Subscription per tier, billed on executions Free Community edition; paid Business and Enterprise licences for advanced features
Infrastructure Included You provide servers, database, storage and networking
Upgrades Managed by n8n You test and apply them
Data location n8n’s hosting region (the EU, in Frankfurt, per n8n’s pricing FAQ) Wherever you deploy
Access to internal systems Only through public endpoints or tunnels Direct, inside your network
Scaling Plan limits on concurrent executions Your hardware, plus queue mode with workers
On-call Vendor handles platform incidents Your team does

Both options run the same product. The official guide to choosing how to use n8n makes the same point: the decision is about who runs the infrastructure, not about a different feature set at the core.

The Real Cost of Self-Hosted n8n

Licence fees are the smallest line on a self-hosted budget. The larger lines are less visible, so it helps to list them explicitly.

Infrastructure

A production setup is more than one container. You need PostgreSQL rather than the default SQLite, persistent storage for binary data, a reverse proxy with TLS and somewhere to keep backups. Once volume grows, you add Redis and worker processes for queue mode. None of this is expensive on its own, but together it is a small platform.

People time

This is the line most teams underestimate. Someone has to read release notes, test upgrades against real workflows, rotate credentials and respond when the instance stops processing webhooks. n8n ships new minor versions frequently, and a major version such as 2.0 changes security defaults that can break existing workflows.

A useful exercise is to name the person. If you cannot name who upgrades n8n next month and who gets paged at night when it fails, the self-hosted cost is not zero. It is unknown, which is worse.

Cloud cost

On the other side, n8n Cloud bills per workflow execution with tiered limits, as shown on n8n’s pricing page. At the time of writing, entry plans start at 20 euros per month billed annually, and higher tiers raise execution limits, concurrency and collaboration features. Because one execution covers a whole workflow run, cost scales with how often workflows run, not with how many steps they contain.

The comparison, therefore, is not “free versus paid”. It is “subscription versus infrastructure plus engineering time”. For a small team with low volume, Cloud is usually cheaper in practice. For a team that already runs Kubernetes, PostgreSQL and on-call well, self-hosted n8n adds little marginal effort.

Control: What You Gain by Self-Hosting

Control is the strongest argument for self-hosted n8n, and it shows up in four places.

  • Network access. Workflows can call internal APIs, databases and build systems without exposing them to the internet. For DevOps automation, this is often decisive.
  • Configuration. You control environment variables such as execution data retention, payload size limits, which nodes are allowed and how task runners are isolated.
  • Upgrade timing. You pin a version and upgrade when you are ready, after testing. Cloud users get upgrades on n8n’s schedule.
  • Custom nodes. You can install community nodes or build private nodes for internal systems.

However, control cuts both ways. Every setting you can change is a setting you can get wrong. The n8n 2.0 release, for example, turned on task runners by default and disabled risky nodes such as Execute Command. A self-hosted team that re-enables everything to make an old workflow pass has quietly removed those protections.

Security: Different Risks, Not Fewer Risks

Teams often assume self-hosting is more secure. It is more controllable, which is not the same thing. The honest framing is that each option moves risk to a different owner.

Risk n8n Cloud Self-hosted n8n
Platform patching Vendor patches You must patch promptly
Data residency Limited to the vendor’s region Fully yours to decide
Exposure of internal systems Needs public endpoints or tunnels Stays private
Credential storage Encrypted by the vendor Encrypted with your N8N_ENCRYPTION_KEY, which you must protect and back up
Access control and audit SSO and logs on higher tiers SSO, log streaming and external secrets need a paid licence

The encryption key deserves special attention. n8n encrypts stored credentials with it, so losing the key means losing every credential in the instance. Treat it like any production secret, as I described in my guide to secrets management for backend systems: store it in a vault, back it up and restrict who can read it.

If your security review demands that customer data never leaves your network, self-hosting is the only fit. Conversely, if your biggest risk is an unpatched server that nobody owns, Cloud is the safer choice.

The Operational Work Nobody Puts in the Spreadsheet

Here is the list I walk through with any team that wants to self-host. None of it is hard. However, all of it has to happen every month, and that recurring effort is the real price of self-hosted n8n.

Task How often What goes wrong if skipped
Read release notes and test upgrades Every upgrade Breaking changes surface in production
Verify backups by restoring them Monthly Backups exist but cannot be restored
Prune execution data Configured once, checked monthly The database grows until disks fill
Renew and monitor TLS certificates Automated, checked regularly Webhooks fail when certificates expire
Review users, API keys and credentials Quarterly Former staff keep access
Watch disk, memory and queue depth Continuously Silent slowdowns and dropped runs

Execution data is the one that surprises people. By default, n8n stores data for every run, and busy instances accumulate it quickly. Set retention with the execution pruning variables from day one, and decide how many days of history you actually need for debugging.

Logs are the other gap. n8n writes logs that are useful during incidents, but only if they leave the server. Ship them to the same place as your other services, as I explained in how to centralize server logs for a web app. Otherwise, the logs disappear with the container exactly when you need them.

When Running Both Makes Sense

Some organisations run n8n Cloud and self-hosted n8n side by side. That sounds wasteful, yet it can be the cleanest split.

For example, a marketing or operations team might own workflows that only touch SaaS tools. Those fit well on Cloud, where nobody needs to manage servers. Meanwhile, a platform team runs a self-hosted instance for workflows that reach internal databases, deployment pipelines or regulated data. Each instance gets a clear owner and a clear boundary.

The rule that keeps this healthy is simple: a workflow lives where its most sensitive dependency lives. If one step touches an internal system, the whole workflow belongs on the self-hosted side. Splitting a single process across two instances with webhooks between them creates a failure mode that neither team fully owns.

A Practical Way to Decide

I use three questions, in this order. The first “yes” usually settles it.

  1. Is there a hard data or network requirement? If workflows must touch internal systems or keep data in a specific location, choose self-hosted n8n.
  2. Do you already run production services with on-call? If yes, self-hosting adds a modest load to an existing practice. If no, start on Cloud.
  3. Is volume high and steady? At high execution counts, the economics of self-hosting improve, provided the operational cost is already covered.

There is also a sensible middle path. Start on n8n Cloud while you learn what your workflows really need, then move to self-hosted n8n once requirements are clear. Workflows export as JSON, so the move is mostly about credentials and webhooks, not rebuilding logic.

What a Minimal Production Self-Host Looks Like

If you do self-host, avoid the single container with SQLite that most tutorials start with. A minimal production baseline includes:

  • PostgreSQL with automated backups and a tested restore.
  • A fixed N8N_ENCRYPTION_KEY, stored outside the container.
  • A reverse proxy with TLS, and WEBHOOK_URL set to the public address.
  • A pinned n8n version, upgraded deliberately after reading release notes.
  • Monitoring on the health endpoint and alerts on failed executions.

I go through each of these step by step later in the series, including a full Docker and PostgreSQL setup, queue mode for scaling and a security hardening checklist.

Frequently Asked Questions

Is self-hosted n8n free?

The Community edition is free under the Sustainable Use License for internal use. You still pay for infrastructure and the time to run it. Features such as SSO, Git-based environments and log streaming need a paid Business or Enterprise licence.

Is n8n Cloud secure enough for business data?

For many organisations, yes. Hosted data sits in the EU according to n8n’s pricing FAQ. If your policies require data to stay in your own network or another region, use self-hosted n8n instead.

Can I move from n8n Cloud to self-hosted later?

Yes. Export workflows as JSON and import them into your instance. Plan time to recreate credentials and update webhook URLs in the services that call you.

Choose the Owner Before the Option

The Cloud versus self-hosted n8n question is really an ownership question. Self-hosting gives you control and puts every operational risk on your team. Cloud gives you time back and asks you to trust someone else’s platform. Decide who owns the platform first, and the hosting choice becomes straightforward.

Last updated on 29 November 2026

Share this article

Leave a Reply

Your email address will not be published. Required fields are marked *