Skip to content

n8n Self-Hosting Checklist for Small Businesses

Run n8n on your own server without regrets: a pre-launch checklist covering backups, updates, security, monitoring and a tested recovery plan.

By
Ajansia Editorial
Updated
Reading time
9 min read

Reviewed against primary sources. How we work

On this page
  1. 01Should you self-host at all?
  2. 02Backups: the item everyone skips
  3. 03Security: close the doors you do not use
  4. 04Updates without drama
  5. 05Monitoring: watch the workflows, not only the box
  6. 06A pre-launch checklist you can print
  7. 07Where it quietly breaks
  8. 08Your first two hours
  9. ··Frequently asked questions

The install takes ten minutes. Getting a self-hosted n8n instance to the point where you would trust it with invoices, customer records or payment tools takes a few evenings, and most of that time goes on things that have nothing to do with building workflows. Backups, patches, alerts and a restore you have actually tried. This checklist covers them in the order they bite.

First, a blunt question. If nobody on your team is comfortable on a Linux server, a hosted plan is probably the better buy. Self-hosting trades subscription money for attention. Work out which of the two you have less of.

Should you self-host at all?

The usual reasons are data control, cost at high volume, and the freedom to run custom nodes or sit next to internal systems. All three are real. The bill for them is that every job a vendor would do now lands on you, including the outage at 2 a.m. and the security patch that arrives on a Friday.

A quick test. Can you name the person who will rebuild the server if it dies, and has that person ever done a restore? If not, fix that before anything else here.

Read the license too. n8n’s own FAQ describes its community license as covering use inside your organization, with consulting and setup work for clients allowed as long as clients do not build or edit workflows themselves. Hosting n8n as a service for others to build in, or reselling it as your own product, is outside that. If your case sits near the line, the FAQ points to license@n8n.io for a written answer, and a written answer beats a forum guess.

What it costs in hours

Founders price self-hosting as the server bill and stop. The server is the small number. The big one is attention: a setup afternoon, a monthly maintenance slot, and the odd unplanned hour.

Here is a rule-of-thumb way to budget it. Add the setup hours, then twelve times the monthly maintenance hours, then a cushion for incidents. Value the total at what that person’s time is worth to the business, and compare it with the annual price of a hosted plan at your expected volume (check the vendor’s pricing page for current figures). When the two are close, hosted usually wins, because it comes with someone else’s pager.

The sum flips in your favor when volume is high, when data must stay on your own infrastructure, or when you already run servers and one more is cheap.

Pick a setup you can maintain

Keep the architecture dull: one small virtual server, Docker with a compose file, a reverse proxy in front, and a real database. That covers most small businesses.

  • Database. n8n can run on a built-in SQLite file, which suits a trial. For anything you rely on, use PostgreSQL. It backs up more cleanly and copes better with several runs at once.
  • Containers. Keep the compose file and an environment file (secrets excluded) in version control. A server rebuilt from files beats one rebuilt from memory.
  • Size. Start small and watch memory. Large files and big spreadsheets are what usually flatten a tiny server.

Then write one page listing where everything lives: server, DNS record, database, backup location, and who owns each account. You will be glad of it later.

Backups: the item everyone skips

Until you have restored from a backup once, you only know that files exist. Three things need saving, and they need saving together.

What goes in the backup

The database comes first, since it holds workflows, execution history and saved credentials. Second is the encryption key. By default n8n generates a random key on first launch and keeps it in a folder on the server, and it uses that key to encrypt credentials before they reach the database. Lose the key and the credentials in a database backup are unreadable; you would re-enter every connection by hand. So set your own key through the N8N_ENCRYPTION_KEY environment variable before the first launch, and keep a copy in a password manager. Changing it later on a running instance is a recipe for grief, so read the current docs first. Third, your configuration files.

How often, and where to

Daily database dumps are a sensible floor. Go more often if workflows change daily. Keep copies off the server, ideally with a different provider, and keep several generations so one corrupt dump cannot overwrite the only good one. Many teams also export workflows as files into a private repository, which gives a readable history of who changed what. Check the current n8n docs for the export commands your version supports.

The restore drill

Spin up a throwaway server. Restore the latest backup. Confirm that a workflow runs and that a credential still connects. Time it and write the steps down. Repeat after any major change, and at least twice a year.

Security: close the doors you do not use

An automation server holds keys to your other systems. If someone gets in, they get your CRM, your mail and your accounting tool in one go.

  1. Serve everything over HTTPS through a reverse proxy and redirect plain HTTP.
  2. Turn on user management, use strong unique passwords, and enable two-factor authentication where your version offers it.
  3. Expose only the ports you need. The database should never be reachable from the internet.
  4. Run a host firewall, and allow SSH by key only, from known addresses if possible.
  5. Give each integration the narrowest credential that works, such as a read-only token for a workflow that only reads.
  6. Keep the operating system patched, with automatic security updates on.

Webhooks need their own paragraph. A webhook URL is a public door by design. Use the authentication options on the Webhook node, check what arrives before acting on it, and never let an unauthenticated request trigger anything costly or destructive.

Updates without drama

Do not run a floating “latest” tag. Pin a specific version in the compose file so a restart cannot upgrade you by surprise. Then update on purpose: read the release notes for breaking changes, take a fresh backup, apply the update to a staging copy, run your three most important workflows, and only then touch production.

Put it in the calendar. A monthly slot beats an annual panic. Security releases are the exception, so patch those sooner. Subscribe to the project’s release announcements so the news finds you.

One more habit is worth keeping: the fire drill. Pick a date, pretend the server is gone, and see how long it takes to bring back a working copy from backups alone. The first attempt tends to be humbling. Good; better now than mid-emergency. Write down every missing password and undocumented setting, then fix the runbook while the details are fresh.

Monitoring: watch the workflows, not only the box

Server uptime says the machine is on. It says nothing about the lead-routing workflow that has been failing quietly since Tuesday.

For the server, use an external uptime check that alerts you by email or chat when n8n stops answering, plus disk and memory alerts. A full disk is the classic silent killer, and execution history is a frequent cause. n8n has settings to prune old executions automatically; look up the current defaults for your version and decide how long failed-run details are worth keeping.

For the workflows, build an error workflow that starts with the Error Trigger node and posts to a channel a human reads. Then open the settings of each workflow you care about and select that error workflow, because creating it is not enough. The docs also warn that you cannot test it by running the monitored workflow manually; the trigger only fires when an automatic run fails. To prove it works, force a failure on purpose.

For anything critical, add a heartbeat: a job that should run daily, plus a check that complains when it did not. Put that check outside n8n, such as a free-tier dead-man’s-switch service or a cron job on another machine. A watchdog living inside the instance goes quiet exactly when the instance does, and a failed trigger raises no error for the error workflow to catch.

A pre-launch checklist you can print

Area Check before go-live Done
Access HTTPS on, login enforced, admin accounts named, no shared password  
Network Firewall on, database private, SSH locked down  
Backups Database and encryption key saved off-server, daily schedule, restore tested  
Updates Version pinned, staging copy exists, maintenance slot in calendar  
Monitoring Uptime alert, disk alert, error workflow attached, heartbeat on critical jobs  
Housekeeping Execution pruning checked, credentials scoped, one-page runbook written  

Where it quietly breaks

Losing the encryption key comes first, because it is unforgiving. Close behind: testing workflows against live customer data with no way back. Use a sandbox account or a copy until the logic is proven. Then there is the admin-level credential handed to every workflow because it was quicker on the day.

Nobody owning the server is another. A box shared by “the team” is maintained by no one, so name a primary and a backup person. The opposite mistake also happens: a clustered setup for six simple workflows. If your automations are few and low-stakes, a small box with disciplined backups beats an architecture you cannot explain.

Finally, remember that a workflow calling an outside service inherits that service’s outages and rate limits. Add retries with sensible limits and a clear failure message, so one timeout does not sink a whole batch.

Your first two hours

Block two hours this week and run the restore drill on a throwaway server. Of everything above, it is the one item that tells you whether the rest works. If it fails, you have just found your real go-live date. This article is general information, not professional security advice; if you handle regulated data, involve someone qualified.

Frequently asked questions

Is self-hosting n8n really free?

The software can be run on your own server, but the license has conditions, so read the current terms for your use case. Beyond that you pay for the server, backup storage and, above all, your time maintaining it.

How much server do I need for a small business?

A small virtual server is usually enough for light workloads. Memory is the constraint to watch, especially if workflows process large files. Start small, monitor usage and resize when the numbers say so.

What happens if I lose the encryption key?

Saved credentials in the database cannot be decrypted, so you would have to re-enter every connection manually. Set the key explicitly and store a copy in a password manager alongside your database backups.

Should I use SQLite or PostgreSQL?

SQLite is fine for a trial or a hobby instance. For business workflows, PostgreSQL is the safer choice because it backs up cleanly and handles concurrent executions better.

How do I know a workflow failed?

Create an error workflow with the Error Trigger node that posts to a channel your team reads. For scheduled jobs that must run, add a heartbeat check that alerts when the expected run does not happen.

Sources5
  1. docs.n8n.io/hosting
  2. docs.n8n.io/n8n-community-license/community-license/license
  3. docs.n8n.io/deploy/host-n8n/configure-n8n/basic-configurati
  4. docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.
  5. docs.n8n.io/hosting/scaling/execution-data

Links open the original pages. Spotted an error? Tell us and we will check it.

Saved guides

    Nothing saved yet. Use the Save button on any guide and it will wait here, in this browser only.

      Browse a topic

      ↑↓ moveEnter openEsc close