n8n Cloud, self-hosted and editions
There are two main ways to run n8n, and choosing between them is really two separate questions: who runs the infrastructure and which plan or edition you need.
- n8n Cloud — n8n takes on hosting, updates and scaling. No installation; you start immediately.
- Self-hosted — you bring it up on your own server with Docker, Docker Compose or npm. Full control is yours, and so is the maintenance.
The free Community edition of the self-hosted option gives you almost the entire feature set. Enterprise capabilities such as SSO, environments and projects require a paid plan on either side.
| Criterion | n8n Cloud | Self-hosted |
|---|---|---|
| Installation | None — works right after signup | Set up with Docker / Docker Compose / npm |
| Maintenance and updates | n8n handles it | Your responsibility |
| Where the data lives | On n8n's infrastructure | On your own server — the deciding argument when data residency is required |
| Custom configuration | Limited to the available settings | Full control: environment variables, community nodes, npm modules |
| Free option | Trial only | The Community edition is free |
| npm modules in the Code node | Not allowed — only `crypto` and `moment` are available | Can be enabled through configuration |
A common interview question: "Cloud or self-hosted?" The right answer is not "it depends" but what it depends on. The three factors that carry the most weight: where the data is allowed to go (compliance), whether anyone on the team can run infrastructure, and whether custom nodes or libraries are needed.
A practical recommendation for learning: start with the free n8n Cloud trial so installation problems do not get in the way. Once you have the basics, bring the same workflows up in local Docker and see what self-hosting changes. Being able to say you have used both is a real advantage in an interview.
📚 Sources and documentation
- Choose how to use n8nofficialdocs.n8n.io
The official source of the Cloud vs self-hosted comparison table.
- Self-hosting install optionsofficialdocs.n8n.io