How to Self-Host n8n on a VPS
What n8n needs, what's preinstalled on DreamHost's image, and what remains your job.
On this page
n8n is a workflow automation tool that connects apps and services. Self-hosting it on a VPS gives you control over your data and workflows, along with responsibility for keeping it running. Here's what's involved.
What n8n does and who needs it
Our explanation n8n lets you build automations visually, such as sending form submissions to a spreadsheet and a chat channel. Self-hosting tends to suit technical users who run many workflows or want their data on their own server.
Officially documented n8n's documentation warns that self-hosting needs skills in server and container setup, resource management, security and n8n configuration, and that mistakes can cause data loss, security problems and downtime. It recommends n8n Cloud for people without server experience.
Technical requirements
Officially documented n8n's install guide centres on Docker with a persistent volume. By default it stores credentials, workflows and past executions in SQLite, and it can use PostgreSQL through DB_TYPE=postgresdb and related settings.
Officially documented The .n8n directory holds encryption keys, so n8n recommends keeping it on a persistent volume even when you use PostgreSQL. Setting GENERIC_TIMEZONE controls the timezone for scheduled workflows.
What DreamHost's n8n VPS provides
Officially documented According to DreamHost's n8n page, n8n, PostgreSQL and automatic SSL are set up before first login. Stack 4 (2 vCPU, 4 GB RAM) is the minimum. Executions are limited by your hardware, not by a plan count. Helper commands include n8n-update and n8n-backup.
Officially documented You choose when to update, and you trigger backups. Support covers hardware, network and connectivity, and the page doesn't say it covers n8n itself.
DreamHost's n8n VPS starts at Stack 4.
View n8n VPS Plans (opens DreamHost: n8n Hosting in a new tab)Deployment considerations
Our explanation Use your own domain, because webhooks from other services need a stable HTTPS address. Keep a safe copy of your encryption key: without it, stored credentials may be unusable after a restore. Plan for growth, since long execution histories can use a lot of database space.
Security and maintenance
Our explanation n8n stores credentials for your other services, which makes it a sensitive system. Use a strong login, keep it updated, read release notes before upgrading, and copy backups off the server.
The everyday work is the same for any self-managed server, so we cover patching, firewalls, logins and backups in what managing a VPS involves.
Is DreamHost's offering suitable?
Our explanation It looks suitable if you're comfortable with server basics and want n8n preinstalled instead of setting up Docker and a database yourself. It's less suitable if you want someone else to fix n8n problems, since application support isn't described.
Alternatives
- n8n Cloud: n8n's own hosted service, which it recommends for people without server experience.
- Docker with Portainer: run n8n as one of several containers on a server you manage.
Frequently asked questions
Can I run n8n on shared hosting?
n8n's documented installation centres on Docker, which needs a server you control. DreamHost says Docker requires its self-managed VPS, not Managed VPS.
Do I need PostgreSQL for n8n?
n8n uses SQLite by default and also supports PostgreSQL. DreamHost's image includes PostgreSQL.