Cloud VPS from $1.98/mo · pay with Bitcoin, Ethereum, Monero, USDT or Solana · paid in crypto
AutomationEditor's pick

n8n on a VPS

n8n is a fair-code workflow automation tool: connect apps and APIs in a visual editor, add JavaScript or Python steps, and build AI agents on your own server.

1 GBMinimum memory
Ubuntu 24.04 LTSBase image
5678/tcp, 443/tcpPorts
Sustainable Use License (fair-code)License

About n8n

n8n links services through workflows drawn as nodes in a browser editor: hundreds of integrations, Code nodes for JavaScript or Python, and AI agent nodes. Its Sustainable Use License permits free self-hosting for internal and personal use.

Self-hosted, n8n has no per-execution billing and your account credentials stay on your server. Webhooks get a fixed public IP, and a High Frequency plan speeds up heavy workflows.

n8n answers on port 5678, and the first visit asks you to create the owner account. SQLite is the default store; PostgreSQL suits larger volumes.

What you get with n8n

  • Visual editor with branches, loops and error workflows
  • Hundreds of nodes plus a generic HTTP Request node
  • Code nodes in JavaScript or Python
  • Webhook, schedule and app-event triggers
  • AI agent, LLM and vector store nodes

n8n use cases

  • Sync CRM, billing and support tools
  • Receive webhooks and fan them out to several services
  • Build an internal AI assistant over your own data

After you deploy n8n

  1. Point a domain at the server and put HTTPS in front of port 5678; n8n's secure cookie blocks logins over plain HTTP except on localhost.
  2. Open the editor once the server is Running and create the owner account.
  3. Set WEBHOOK_URL to your public HTTPS address so webhook nodes show the right URLs.
  4. Enable two-factor authentication for every user, and back up the .n8n folder, which holds the key that encrypts stored credentials.

n8n ports

Open these in your firewall if you use one: 5678/tcp editor, API and webhooks, 443/tcp HTTPS (through your reverse proxy).

n8n FAQ

Why can't I log in at http://<server IP>:5678?

n8n marks its cookies secure by default, and browsers drop them over plain HTTP. Serve it on a domain with HTTPS; N8N_SECURE_COOKIE=false is for quick tests only.

Is self-hosted n8n free?

The Community edition is, under the Sustainable Use License, for internal and personal use. Features such as SSO and environments need a Business or Enterprise license key.

Disclaimer. The n8n project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.

n8n on your own server.
Ready in under 5 minutes.

Pick a region and a size; the console shows the address as soon as it is up.

Every server delivered in under 5 minutesPay with crypto14-day money-back