n8n connects services and automates workflows. A self-hosted installation runs executions and stores their data, with concurrency and the work done by each workflow determining the resource budget.
Requirements last checked against the project's documentation.
A sensible first server for n8n is 2 vCPU, 4 GB RAM and 20 GB of storage.
The cheapest listed plan that fits is OVHcloud VPS-1 (US) at $4.54/month.
For the Compose installation, configure the public hostname and persistent application data.
Keep the instance encryption key and database recoverable; external PostgreSQL does not remove the need to preserve configuration.
Recommended
Planning guidance
Pin a stable n8n version; use persistent storage for its configuration and execution data.
PostgreSQL is recommended by the current Compose guide for production instances running more than a handful of workflows around the clock.This is workload guidance, not a universal database minimum.
Choosing a server for n8n
Size around simultaneous workflow executions and the data they retain. The optional Assistant sandbox has its own requirements; its server figures do not describe the core n8n service.
Where to start
A sensible first server for n8n
vCPU
2
RAM
4 GB
Disk
20 GB
n8n's documented Compose setup for its worker uses 2 vCPU and 4 GB RAM. Disk is our estimate; heavy workflows need more.
One cheapest plan per provider, based on each provider's standard list price. Check the plan page for introductory and renewal pricing before you buy.
Deploy with
Supported paths
Docker
Docker Compose
npm on a supported Node.js runtime
Cloud provider deployment
The host must provide
Runtime
Docker Engine and Compose v2
Required by the reviewed Compose path
Node.js
Release-specific when using npm; container image bundles the runtime
Database
Built-in SQLite for small/trial setup; PostgreSQL recommended for sustained production workloads
Storage
Persistent data
Persist the n8n user/configuration directory, database, encryption key, and any binary execution data. Large workflow payloads and retention policies can dominate disk use; external binary storage is available for applicable deployments.
Step by step
Docker Compose deployment outline
Pin a stable n8n image and create protected configuration
Use the current stable release tag, store database credentials and a fixed encryption key in a protected environment file, and restrict file permissions.
Keep the editor authenticated, expose only the reverse proxy, configure execution-data retention, and test restore before production workflows depend on the instance.