The short answer
Yes, you can self-host n8n, and the Community edition is free: you pay for the server it runs on and for the time it takes to look after it. The usual setup is n8n in Docker on a small cloud server, a PostgreSQL database, HTTPS in front of it, and backups you have tested. It takes an afternoon to start and a few hours a month to keep healthy.
n8n's own documentation is blunt about who should do it: it recommends self-hosting for expert users, warns that mistakes can lead to data loss, security issues and downtime, and suggests n8n Cloud for anyone not experienced at managing servers (n8n's Docker guide). What n8n costs on each plan is in n8n pricing in Canada; what n8n is, if you are new to it, is in what is n8n.
Self-hosted or n8n Cloud?
| Self-hosted | n8n Cloud | |
|---|---|---|
| Who runs it | You, or whoever you hire | n8n |
| What you pay | The server, plus your time; no licence fee on the Community edition | A monthly plan priced by executions |
| Where the data lives | On your server, in the region you choose | Where n8n hosts it; check its terms |
| Updates and security | Your job | n8n's job |
| Best for | Teams with someone who manages servers, or data that must stay in a chosen region | Teams that want automation without running infrastructure |
Is self-hosted n8n free?
The software is. Without a licence key, n8n runs as the free Community edition, and you can stay on it. It is distributed under n8n's Sustainable Use License, which allows use for your own internal business purposes; n8n calls the model fair-code rather than open source. Some features, such as single sign-on and environments, need a paid licence even when you host it yourself. The full list is in n8n pricing in Canada.
What is not free is the running: a server, a database, backups, and someone to update and watch it.
What you need before you start
- A server in your own account. A small cloud virtual machine is enough to begin. Choose the region where your data should live; for a Canadian business that may be a Canadian region.
- Docker. n8n publishes an official Docker image, and its guide uses it. n8n's hosting documentation also covers Docker Compose and step-by-step guides for AWS, Azure and Google Cloud (n8n hosting).
- A domain name and HTTPS. Webhooks need a public address, and the editor should never be reached over plain HTTP. A reverse proxy in front of n8n handles the certificate.
- A database. n8n uses SQLite by default to save credentials, past executions and workflows. It also supports PostgreSQL, which is the better choice for anything in production.
- Somewhere for backups that is not the same server.
The setup, step by step
- Create a persistent volume for n8n's data folder. n8n's guide says to keep this volume even when you use an external database, because it holds the encryption key for your saved credentials, along with logs and other important data. Lose it and your stored credentials cannot be decrypted.
- Start n8n from the official image, publishing its port (5678 by default) and setting the time zone. n8n sets two: the system time zone, and a separate one that its scheduled workflows use. Get both right, or a workflow meant for 9 a.m. Toronto time runs at the wrong hour.
- Point it at PostgreSQL with the database environment variables the guide lists, instead of the default SQLite file.
- Put HTTPS in front of it with a reverse proxy, and set the public address n8n should use for webhooks.
- Create the owner account and turn on two-factor authentication for every user.
- Back it up and test the backup. Restore the database and the data volume to a spare server at least once. A backup you have never restored is a hope, not a backup.
Self-hosting n8n in Canada
For many Canadian businesses the main reason to self-host is not the licence fee but control over where the data goes. Every workflow run passes data through n8n, and saved executions keep copies of it, so the server's location is the data's location.
- Pick a Canadian region in your cloud provider when clients, contracts or your own policy expect data to stay in Canada. The major providers each offer Canadian regions.
- Check the steps that leave the server. A workflow that sends a document to an AI model or a third-party service sends the data to wherever that service runs, whatever region n8n itself is in. Map each external call before you promise anyone residency.
- Keep backups in the same jurisdiction as the server, or you have moved the data anyway.
- Write it down. A short note of where n8n runs, where its backups go and which outside services each workflow calls answers most client security questionnaires.
What Canadian privacy law expects when data leaves the country, and what PHIPA and Quebec's rules add, is in where your data goes.
Keeping it secure
n8n's security documentation covers the controls it offers, including SSL, two-factor authentication policies, single sign-on on paid plans, turning off the public API when you do not use it, and a built-in security audit. In practice:
- Do not leave the editor open to the whole internet. Restrict who can reach it, or put it behind your company's sign-in.
- Keep n8n and the server updated. n8n releases often; updating with Docker means pulling the new image and restarting the container.
- Store credentials in n8n's credential store, not pasted into workflows.
- Run the security audit after setup and after larger changes.
- Decide what execution data to keep. A saved run holds the inputs and outputs of each step, so a workflow that handles client records keeps copies of them. n8n prunes old executions by default, with a default maximum age of 14 days and a default maximum of 10,000 saved executions (execution data).
Running it day to day
- Watch the disk. n8n's documentation warns that the database can grow and run out of storage if execution data is not managed.
- Watch failures. Give important workflows an error workflow that alerts a person, so a broken step does not fail silently.
- Update on a schedule, after reading the release notes, and test important workflows afterwards.
- Write down how it is set up: the server, the variables, where backups go and how to restore them. The person who installed it will not always be the one who fixes it.
Common mistakes
- Running the default SQLite database for a busy production instance.
- Losing the data volume, and with it the encryption key for every stored credential.
- Leaving the editor reachable from anywhere with only a password.
- Never updating, then facing a large jump between versions.
- Saving every execution forever, until the disk fills.
- Setting only one of the two time zones, so schedules run at the wrong time.
How we help
We set up n8n for businesses in Canada and the United States and build the workflows on it: self-hosted in your own cloud account or on your own hardware, in the region you choose, with its database and its encryption key under your control, and a runbook that tells whoever maintains it how to restart it, restore it from a backup and upgrade it. There is no separate n8n price list on our site yet: the work is scoped and priced inside an automation engagement, from the prices on our AI automation page. An advisory hour is CAD $195, an Automation Blueprint is $4,500, and the minimum build engagement is $9,500. More on how we work with n8n is on our n8n implementation page. To start, book a scoping call.