CompareHostingOnline

Home / Hosting for developers / Hosting for n8n (self-hosted automation)

Hosting for developers

Hosting for n8n (self-hosted automation)

What self-hosting n8n needs from a server, how to size it and what to protect with backups and security.

By Muhammad Hamza, Founder & EditorUpdated Nov 28, 2026

Short answer

To self-host n8n you need a server where you can run it, usually a small VPS or cloud server with Docker, plus persistent storage and backups. The right size depends on how many workflows run and how heavy they are, so start small and measure.

Last verified Nov 28, 2026 · How we test

What self-hosting involves

Your own automation server
  1. VPS or cloud serverRoot access, small to start
  2. n8n in DockerRuns your workflows
  3. HTTPS proxyProtects the editor and webhooks
  4. BackupsData volume and encryption key

n8n is a workflow automation tool. Self-hosting gives you control over data and cost, but you take on updates, security and backups.

What the server needs

  • Root accessTo install Docker or Node.js.
  • Persistent storageFor workflow data and credentials.
  • Public address and HTTPSIf webhooks or triggers call your instance.
  • Enough memoryStart small and watch usage.

Security and reliability checklist

  1. Put n8n behind HTTPS and a reverse proxy
  2. Protect the editor with strong authentication
  3. Keep n8n and the operating system updated
  4. Back up the data volume and encryption key, and test a restore
  5. Restrict the firewall to the ports you need

An unmanaged VPS is the usual low-cost choice. Choose a managed VPS if you want the host to handle updates, and check each provider’s terms for running automation workloads.

What does n8n need?

  • A server where you can run Node.js or Docker, usually a small VPS.
  • A database for persistence, with backups.
  • HTTPS for webhooks.
  • Enough memory for your workflows.

How do you run it safely?

Put it behind HTTPS with authentication, keep it updated, restrict access, store credentials securely and back up the data. Follow the n8n hosting documentation for the recommended setup, and the checklist in how to secure a new VPS.

Cloud or self-hosted?

The vendor’s cloud removes server work for a subscription. Self-hosting gives control and a flat cost but makes you responsible for uptime. Compare on best VPS hosting.

Sources and further reading

Common questions

Can I host n8n on shared hosting?

Usually not. It needs a server where you can run Node.js or Docker.

How much server does n8n need?

A small VPS handles light workflows; heavier use needs more memory.

How do I keep n8n safe?

Use HTTPS, strong authentication and updates, and restrict access.

How do I back it up?

Back up the database and encryption key, and test a restore.

What about webhooks?

They need a public HTTPS address that stays reachable.

Related

More hosting by stack

Esc

Use the arrow keys, then Enter.