Independent testing Checked regularly Curated self-hosting guides 5 VPS providers tested

comparison

Best VPS for n8n in 2026: Sizing, Database and Queue Mode

Choose a VPS for n8n by workload, database, execution storage and scaling needs. Compare Hetzner, Contabo and DigitalOcean using current official documentation.

Decision guide for choosing an n8n VPS

Last verified:

There is no single best VPS for every n8n installation. A webhook relay with ten short workflows has little in common with a team instance that moves files, runs code and processes concurrent jobs.

n8n’s own documentation also makes an important distinction: self-hosting requires server, container, security and scaling knowledge. The project recommends n8n Cloud when nobody on the team can operate that infrastructure safely.

For experienced self-hosters, the short answer is:

This comparison does not claim that one provider is universally faster. No reproducible cross-provider benchmark was run for this page. It compares documented infrastructure choices and the requirements that actually change an n8n deployment.

Quick n8n VPS decision table

ProviderPractical fitImportant limitation to checkCurrent offer
Hetzner CloudA compact regular-mode deployment, especially near its European, US or Singapore locationsShared and dedicated plans differ, prices vary by network zone, and public IPv4 is a separate itemCheck Hetzner plans
Contabo VPSWorkflows that need a larger local disk or RAM allocation on one VMVPS vCPUs are shared; Core, Performance and Storage families have different storage and CPU profilesCheck Contabo plans
DigitalOcean DropletsTeams that value region choice, documented resizing and surrounding cloud servicesShared CPU is not guaranteed under sustained load; billing and availability depend on the configuration typeCheck DigitalOcean plans

Plan names, prices, taxes and regional availability change. The links above lead to the current offers rather than freezing an outdated price into this comparison.

Start with the n8n workload, not the provider

n8n does not publish one universal VPS minimum. Memory and CPU use depend on what a workflow does, how many executions overlap and how much data each node holds in memory. A server that idles comfortably can still run out of memory when one execution downloads a large response or transforms a large item list.

The following sizes are conservative editorial starting points, not official n8n requirements and not benchmark results:

WorkloadStarting pointDatabase and execution modeVerify after deployment
Personal or low-volume automation2 shared vCPU, 4 GB RAM, 40 GB storageRegular mode, SQLite can keep the first setup simplePeak memory, disk growth and restore procedure
Small production team4 vCPU, 8 GB RAM, 80 GB or more storageRegular mode with PostgreSQLConcurrent execution latency, database growth and backup time
File-heavy or long-running workflows4 or more vCPU, 8 to 16 GB RAM, storage sized from real payload volumePostgreSQL, with a deliberate binary-data and retention policyPeak memory, I/O latency, temporary files and failed executions
Queue-mode deploymentSize the main process, PostgreSQL, Redis and workers as separate rolesQueue mode with PostgreSQL and RedisQueue delay, worker concurrency, database I/O and recovery of every component

Do not buy a larger plan solely because the workflow count is high. Ten waiting webhook workflows can be cheaper than one workflow that processes a large file in memory. Measure the largest real execution and the busiest overlap period.

SQLite, PostgreSQL and queue mode change the server choice

Self-hosted n8n uses SQLite by default and also supports PostgreSQL. SQLite is useful for a small, single-instance deployment because it removes a service from the initial setup. It is not the right default for every production workload.

n8n specifically says that SQLite is not recommended in queue mode. Queue mode separates the main n8n process from workers, uses Redis to distribute execution IDs and stores workflow data and results in the database. This architecture can scale workers, but it adds components that must be secured, monitored and backed up together.

Queue mode also does not support filesystem binary-data storage. If workflows need persistent binary data in queue mode, check n8n’s current external-storage requirements and plan restrictions before designing the deployment.

This leads to a useful purchasing rule:

Hetzner for a compact cloud deployment

Hetzner documents shared-resource and dedicated-resource cloud servers. Shared instances reduce cost, while dedicated-resource instances reserve CPU resources for workloads that need more consistent compute access.

Its current cloud locations are Falkenstein, Nuremberg, Helsinki, Ashburn, Hillsboro and Singapore. Product availability and pricing differ by network zone. Hetzner also documents that a public IP address is not included in the base cloud server and that a server continues to be billed while powered off until it is deleted.

Hetzner is a practical fit when:

It is not automatically the best choice for a user far from those regions or for a team that needs a managed n8n service.

Contabo for larger bundled local capacity

Contabo currently divides its VPS products into Core, Performance and Storage families. Its documentation says all three use shared vCPU cores with fixed RAM allocations. The families differ in CPU generation, storage type and capacity, port speed, snapshots and backup options.

That makes the choice more specific than simply buying “a Contabo VPS”:

Contabo can fit an n8n deployment that retains substantial execution data or local files, provided its shared CPU behavior matches the workload. Large storage does not replace a tested off-server backup, and it does not guarantee faster workflow execution.

DigitalOcean for region choice and flexible configurations

DigitalOcean offers shared and dedicated CPU Droplets. Its Basic plans use shared CPU, while General Purpose, CPU-Optimized, Memory-Optimized and Storage-Optimized plans use dedicated CPU. In supported data centers, v5 configurations also allow compute, memory, storage and networking to be sized separately.

The shared CPU documentation matters for n8n. A shared vCPU can receive substantial CPU time, but DigitalOcean does not guarantee full hyper-thread access when neighboring workloads are busy. For bursty webhooks and light automation, that tradeoff may be reasonable. Sustained code execution or busy workers may justify dedicated CPU.

DigitalOcean also documents two billing models. Bundled CPU plans are billed per second with a monthly cap at 672 hours, while v5 configurations have no monthly usage cap. Powered-off bundled Droplets continue to be billed because their resources remain reserved. Destroying the Droplet ends billing.

Reliability work to budget before launch

The VPS is only one part of a reliable n8n installation. Before exposing it to production webhooks:

  1. Put n8n behind HTTPS and restrict direct access to its application port.
  2. Store the n8n encryption key outside an ephemeral container and include it in the recovery plan.
  3. Back up the database and every persistent file location, then restore them into a disposable server.
  4. Set an execution-retention policy. n8n can disable saved data for successful executions when full history is not required.
  5. Monitor memory, disk, database size, execution failures and queue delay where applicable.
  6. Run n8n audit. The official audit checks credentials, database expressions, filesystem access, risky or custom nodes, unprotected webhooks, missing security settings and whether the instance is outdated.
  7. Track n8n releases. The project currently publishes new minor versions most weeks and labels the stable channel for production use.

A snapshot is useful, but it is not a complete backup strategy unless you have verified the consistency and restoration of the database, encryption key and persistent files.

Verdict

For a first serious n8n deployment, start with the smallest configuration that has safe memory headroom and a tested upgrade path. Our editorial default is 2 shared vCPU and 4 GB RAM for a low-volume instance, followed by measurement with the largest real workflow.

Choose Hetzner when its locations and shared or dedicated cloud options fit. Choose Contabo when bundled RAM and local storage capacity matter and shared CPU is acceptable. Choose DigitalOcean when region breadth, resizing and a wider cloud platform justify its pricing model.

The provider decision is secondary to database, retention and recovery design. A correctly sized VPS with an untested backup is still an unreliable n8n host.

These are affiliate links. SelfHostVPS may receive a commission without increasing your price. Providers do not control this comparison.

For a wider infrastructure view, see the full VPS comparison.

Primary sources checked on 21 October 2026

Frequently asked questions

How much RAM does an n8n VPS need?

n8n does not publish one universal RAM requirement because workflows vary. As an editorial starting point, use 4 GB for a small regular-mode installation and monitor memory during the largest real workflow. Use more memory when workflows process large payloads, run code, overlap frequently or share the server with PostgreSQL.

Should self-hosted n8n use SQLite or PostgreSQL?

Self-hosted n8n uses SQLite by default and also supports PostgreSQL. SQLite can keep a small single-instance setup simple. PostgreSQL is the safer operational choice when concurrency and scaling matter, and n8n specifically does not recommend SQLite for queue mode.

Which VPS provider is best for n8n?

There is no universal winner. Hetzner offers shared and dedicated cloud server options across six locations. Contabo offers large RAM and local storage allocations but uses shared vCPUs across its VPS families. DigitalOcean offers shared and dedicated CPU choices, many regions and flexible resizing. Choose by workload, region, recovery plan and current total price.