n8n Self-Hosting on a VPS: Sizing and Setup
Run n8n on your own VPS for unlimited workflows without per-execution SaaS pricing.
n8n is a fair-code workflow automation tool: think Zapier, but you control it. Self-hosting on a VPS keeps webhook URLs stable, credentials on your disk, and execution history private.
Choose a plan
Light automation (a few cron jobs, Slack notifications) runs fine on LayerOne Nano ($3/mo). Webhook-heavy stacks with database nodes and PDF generation should start on LayerOne Starter ($5/mo) or LayerOne Pro ($15/mo) for extra RAM.
Docker Compose baseline
Run n8n with a persistent volume for ~/.n8n and set N8N_HOST, WEBHOOK_URL, and encryption keys in environment variables. Terminate TLS at Caddy or Nginx so external services can POST to HTTPS webhooks.
Database options
SQLite is fine for personal use. Production workflows benefit from PostgreSQL on the same VPS or a separate instance. LayerOne Pro gives headroom for both n8n and Postgres without swap thrash.
Outbound connectivity
n8n calls third-party APIs over HTTPS. LayerOne does not block legitimate outbound traffic. Every account includes 2 TB of transfer plus up to 500 GB for each server each UTC calendar month, prorated by time provisioned; extra TB is an add-on.
Backups
Export workflows regularly. Optional cluster backups are not off-site, so an export you control is the restore path. Hourly billing lets you run a larger temporary VPS for migration testing and destroy it when you finish.
Get started
Deploy Ubuntu from the client portal, install Docker, and follow the official n8n self-hosting docs. Open a ticket if you need help sizing for a specific integration load.
Recommended plan: LayerOne Starter for webhook-heavy stacks. Compare plans on the pricing page.