n8n Community Edition Self Hosting: Complete Setup Guide for 2026

n8n community edition self hosting lets you run a fully functional workflow automation platform on your own server, with no monthly subscription fees and complete control over your data. You install n8n on a Linux VPS, configure a reverse proxy, and access the same visual workflow builder used by over 50,000 organisations worldwide, without sending data to third-party cloud services.

What Is n8n Community Edition Self Hosting and Who Needs It

n8n is an open-source workflow automation tool similar to Zapier or Make, but with a self-hosted option that keeps your data on infrastructure you control. The community edition is free to use under the Sustainable Use Licence, meaning you can run it for internal business processes without paying licensing fees. As of 2026, n8n has over 400 built-in integrations covering databases, APIs, communication tools, and AI services.

Self hosting makes sense if you:

  • Handle sensitive customer or financial data that cannot leave your jurisdiction
  • Run high workflow volumes that would cost hundreds of dollars monthly on cloud plans
  • Need custom nodes or integrations not available on n8n Cloud
  • Want to combine n8n with self-hosted tools like Supabase, Mautic, or Directus
  • Operate in a regulated industry where data residency requirements apply

The community edition does not include enterprise features like SSO, audit logs, or advanced user role management. Those require a paid n8n licence. For most small teams and solo operators, the community edition covers everything needed to build production-grade automation pipelines.

How to Set Up n8n Community Edition Self Hosting on a VPS

The recommended approach in 2026 is Docker-based deployment on a Linux VPS running Ubuntu 22.04 or 24.04. This gives you a portable, upgradeable installation that restarts automatically after server reboots. A VPS with 2 vCPU, 8 GB RAM, and 100 GB SSD storage handles most small-to-medium workflow loads without throttling.

  1. Provision your server: Choose a KVM-based VPS with at least 2 GB RAM. Hostinger’s VPS KVM 2 plan is a solid starting point for n8n self hosting, offering NVMe storage and full root access at an affordable annual rate. You can grab it directly at Hostinger VPS KVM 2. Point a domain or subdomain at your server’s IP before continuing.
  2. Install Docker and Docker Compose: SSH into your server and run apt update && apt install -y docker.io docker-compose-plugin. Verify the installation with docker --version. Enable Docker to start on boot using systemctl enable docker.
  3. Create your docker-compose.yml file: Set up a compose file that defines the n8n service, a PostgreSQL database container, and a shared network. Use environment variables to set your encryption key, webhook URL, timezone, and basic authentication credentials. Store these in a .env file rather than hardcoding them in the compose file.
  4. Configure a reverse proxy with SSL: Install Nginx and Certbot, then create a server block that proxies port 443 to n8n’s internal port 5678. Run certbot --nginx -d yourdomain.com to issue a free Let’s Encrypt certificate. This step is required before n8n webhooks will function correctly with external services.
  5. Start n8n and verify the deployment: Run docker compose up -d from your project directory. Visit your domain in a browser. You should see the n8n login screen. Log in with the credentials defined in your environment file and build your first workflow.

Set up automatic container restarts by adding restart: unless-stopped to your n8n service definition. Schedule weekly database backups using a cron job that dumps your PostgreSQL instance to a remote S3 bucket or similar object storage.

n8n Community Edition Self Hosting: Configuration Best Practices

A working installation is just the starting point. These configuration decisions affect reliability, performance, and security over time.

  • Use PostgreSQL, not SQLite: SQLite is the default database but not suitable for production. PostgreSQL handles concurrent workflow executions without file-locking issues and supports larger execution history volumes.
  • Set execution pruning: By default, n8n stores every workflow execution indefinitely. Set EXECUTIONS_DATA_PRUNE=true and EXECUTIONS_DATA_MAX_AGE=168 to prune executions older than seven days and prevent database bloat.
  • Enable queue mode for scale: If you run workflows with high concurrency, configure n8n in queue mode using Redis as a message broker. This separates the main process from worker processes and prevents timeouts on long-running executions.
  • Lock down the webhook endpoint: Use a firewall rule to restrict access to port 5678 directly, allowing only the Nginx proxy to forward traffic. This prevents direct access to the n8n API without going through your SSL-terminated proxy.
  • Version pin your Docker image: Avoid using the latest tag in your compose file. Pin to a specific version like n8nio/n8n:1.45.0 and update deliberately after reviewing release notes.

According to n8n’s own documentation, organisations running more than 100 active workflows should allocate at least 4 GB RAM to the main process to avoid memory pressure during peak execution periods.

Best Tools for n8n Community Edition Self Hosting in 2026

These tools work directly with an n8n self-hosted setup and are worth considering for anyone building a reliable automation stack.

Hostinger VPS KVM 2

Hostinger’s KVM 2 plan provides 2 vCPU, 8 GB RAM, 100 GB NVMe SSD, and full root SSH access. It runs Ubuntu 22.04 cleanly and supports Docker out of the box with no additional configuration. The annual billing option significantly reduces the per-month cost compared to month-to-month pricing. This is the most cost-effective entry point for n8n self hosting among Canadian VPS providers in 2026. Get started at Hostinger VPS KVM 2 (affiliate link).

Nginx Proxy Manager

Nginx Proxy Manager is a Docker-based GUI for managing reverse proxy configurations and SSL certificates without editing config files manually. It integrates with Let’s Encrypt and supports multiple domains on a single server, making it useful when you host n8n alongside other self-hosted applications like Mautic or Appsmith.

Uptime Kuma

Uptime Kuma is a self-hosted monitoring tool that watches your n8n instance and sends alerts via Telegram, Slack, or email when your server goes down or returns unexpected HTTP responses. It runs as a Docker container and takes under five minutes to configure. Having a monitoring layer separate from n8n itself ensures you know about outages before your workflow failures pile up silently.

Frequently Asked Questions

What are the minimum server requirements for n8n community edition self hosting?

n8n community edition self hosting requires at minimum 1 vCPU, 2 GB RAM, and 20 GB of disk storage for a basic installation. For production use with multiple active workflows, 2 vCPU and 4 to 8 GB RAM is a more realistic baseline. PostgreSQL as the database backend adds approximately 200 to 400 MB of memory overhead on top of the n8n process itself.

How does n8n community edition differ from n8n Cloud in 2026?

n8n community edition self hosting is free and runs on your own infrastructure, giving you full data control and no execution limits tied to a subscription tier. n8n Cloud manages the server, updates, and uptime for you but charges based on workflow executions and active workflows. The community edition lacks enterprise features like SSO, audit logging, and advanced role-based access controls, which are available only on paid plans.

Is n8n community edition self hosting suitable for production workloads?

n8n community edition self hosting is suitable for production workloads when deployed correctly on a reliable VPS with PostgreSQL, SSL termination, automated backups, and uptime monitoring. Thousands of businesses run production automation on self-hosted n8n instances. The main risks are server downtime and missed updates, both of which are manageable with basic DevOps practices like container restart policies and scheduled maintenance windows.

Can n8n community edition self hosting connect to external APIs and SaaS tools?

n8n community edition self hosting supports all 400-plus built-in integrations available in the platform, including connections to Slack, Google Workspace, HubSpot, Airtable, Stripe, and OpenAI. External services connect to your instance via webhooks or polling triggers over the public internet, which requires your server to have a publicly accessible domain with a valid SSL certificate configured through a reverse proxy like Nginx.

Should I use SQLite or PostgreSQL for my self-hosted n8n instance?

PostgreSQL is the correct choice for any self-hosted n8n instance that will run more than a handful of workflows. SQLite works for local development and testing but causes file-locking errors under concurrent execution loads and makes database migration more difficult over time. PostgreSQL also enables queue mode with Redis if you need to scale horizontally by adding worker processes to handle high execution volumes.

Final Thoughts

n8n community edition self hosting gives you a production-ready workflow automation platform at the cost of a VPS, not a SaaS subscription. Get your server provisioned, Docker configured, and your first workflow running within an afternoon. For more automation guides, tool comparisons, and self-hosting tutorials delivered weekly, subscribe to FlowWorks Weekly at blog.flowworks.tech.

Disclosure: This article contains affiliate links. We may earn a commission at no extra cost to you.

Comments

Leave a Reply

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