Application hosting

Hosting n8n

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.

Understand the setup

Find the software and services needed to run the application.

See requirements

Budget your resources

Plan memory, storage and CPU for the way you will use it.

Open resource planner

Build your shortlist

Compare plans for the starting size, then review the provider and billing terms.

See plans

Must have

Installation requirements

  • 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.

n8n Docker Compose · Size it for your workload

Our shortlist

Cheapest plans that meet this size

  1. OVHcloud Lowest price

    OVHcloud VPS-1 (US)

    • 2 vCPU
    • 4 GB RAM
    • 40 GB NVMe SSD
    $4.54/mo list price
  2. VPSDime

    Linux4GB

    • 2 vCPU
    • 4 GB RAM
    • 20 GB SSD
    $5.00/mo list price
  3. Hivelocity

    Hivelocity pro.sm.amd

    • 2 vCPU
    • 4 GB RAM
    • 40 GB NVMe SSD
    $10.00/mo list price
  4. Hostinger

    Hostinger KVM 2 VPS

    • 2 vCPU
    • 8 GB RAM
    • 100 GB NVMe SSD
    $14.99/mo list price
  5. DreamHost

    Stack 4

    • 2 vCPU
    • 4 GB RAM
    • 75 GB NVMe SSD
    $15.99/mo list price
  6. Liquid Web

    Self-managed VPS — 4 GB

    • 2 vCPU
    • 4 GB RAM
    • 80 GB SSD
    $17.00/mo list price
  7. Namecheap

    Quasar

    • 4 vCPU
    • 6 GB RAM
    • 120 GB SSD RAID 10
    $18.88/mo list price
  8. Hostwinds

    Unmanaged Linux VPS 4 GB

    • 2 vCPU
    • 4 GB RAM
    • 75 GB SSD
    $18.99/mo list price

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

  1. 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.

    Official instructions
  2. Persist state and select a production database

    Mount n8n state on persistent storage. For sustained production workloads, configure PostgreSQL and back up both the database and encryption key.

    Official instructions
  3. Configure public URLs behind HTTPS

    Set the public editor and webhook URL values to the HTTPS hostname and configure the reverse proxy to forward webhook requests correctly.

    Official instructions
  4. Verify health, access controls, and recovery

    Keep the editor authenticated, expose only the reverse proxy, configure execution-data retention, and test restore before production workflows depend on the instance.

    Official instructions

Security

Before you go public

  • Protect the encryption key and database credentials; losing the key can prevent credential decryption.
  • Use HTTPS, user management, access controls, and the n8n security audit.
  • Do not expose privileged task runners, Docker sockets, or database ports publicly.

Cost

Beyond the server price

  • Budget for persistent database and execution/binary storage, backups, and any queue-mode workers.
  • Optional AI sandbox services have their own resource needs and are not represented as requirements for core n8n.
  • Workflow count, payload size, execution retention, and concurrency determine capacity.

Want the full monthly bill? Use the hosting cost calculator. Add storage, backups and other costs to your estimate.