keepcalculator

06 Numbers and Powers

Best VPS for n8n Self-Hosted: Top Picks & Guide

Card No. 06·21336 · Updated · Standard formula, shown below

The best VPS for self-hosting n8n depends on your workflow size, but for most users, Hetzner Cloud’s CX22 or CX32 offers the best balance of price, performance, and reliability. It handles typical automation workloads smoothly, has a clean interface, and costs a fraction of what larger providers charge. If you need managed databases or prefer a more hands-off experience, DigitalOcean’s managed droplets with n8n’s one-click image are a close second.

What to Look For

Before comparing providers, understand what actually matters for n8n. The criteria below will guide every choice you make.

  • RAM (Most Important): n8n itself is lightweight, but each workflow execution, especially those using Puppeteer, Playwright, or heavy data transformations, can consume 200-500 MB. For a handful of workflows, 2 GB is the minimum; for serious use, 4 GB or more is comfortable.
  • CPU: n8n is single-threaded for most operations, so a fast single-core performance matters more than many cores. Look for modern AMD EPYC or Intel Xeon CPUs. 2-4 vCPUs is usually plenty.
  • Storage (NVMe SSD): n8n stores workflow definitions, execution history, and any local files. NVMe SSDs are non-negotiable for snappy UI and fast workflow starts. Avoid providers that still offer SATA SSDs.
  • Network Speed: If you’re calling external APIs or webhooks, a 1 Gbps connection is standard. For high-throughput workflows, check the provider’s bandwidth limits (e.g., 20 TB/month on Hetzner vs. 1 TB on some budget hosts).
  • Ease of Setup: Do you want a one-click n8n image, or are you comfortable with Docker and SSH? Some providers offer pre-configured images that save time.
  • Managed vs. Unmanaged: Managed services (like DigitalOcean’s managed databases) reduce your maintenance burden but cost more. Unmanaged VPS gives you full control at a lower price.
  • Backup & Snapshots: Regular snapshots are essential. Look for providers that offer automatic backups or easy manual snapshotting.
  • Support & Community: For self-hosted setups, you’ll rely on community forums and documentation. Providers with active communities (like DigitalOcean) are easier to troubleshoot.

Hetzner Cloud (CX22 / CX32)

Strengths: Unbeatable price-to-performance. The CX22 (2 vCPU, 4 GB RAM, 40 GB NVMe) starts around €4.50/month, while the CX32 (4 vCPU, 8 GB RAM, 80 GB NVMe) is under €9. Both have 20 TB traffic. Hetzner’s infrastructure is rock-solid, and their UI is minimal but functional.

Trade-offs: No one-click n8n image; you’ll need to install Docker and run n8n yourself (takes ~15 minutes). Support is ticket-based and not as hand-holding as larger providers. IPv4 addresses are an extra €0.50/month (IPv6 is free).

Who it suits: Budget-conscious users, hobbyists, and small businesses that don’t mind basic Linux admin. It’s the best value for most n8n deployments.

DigitalOcean (Basic Droplet with One-Click n8n)

Strengths: DigitalOcean offers a one-click n8n image that gets you up and running in minutes. Their droplets are reliable, and the control panel is beginner-friendly. They also offer managed PostgreSQL and Redis, which pair well with n8n for production use. The $6/month droplet (1 GB RAM) is fine for testing, but the $12/month (2 GB) or $24/month (4 GB) are better for real work.

Trade-offs: More expensive than Hetzner for equivalent specs. Bandwidth is limited (1-4 TB depending on plan). The one-click image may not be the latest n8n version, so you’ll want to update it.

Who it suits: Beginners who want a quick start, and users who appreciate a polished UI and extensive tutorials. Also good if you plan to use DigitalOcean’s managed databases.

Vultr (High Frequency Compute)

Strengths: Vultr’s High Frequency instances use fast NVMe storage and offer excellent single-core performance. Their pricing is competitive with Hetzner, and they have a global network of data centers. They also offer a one-click n8n app.

Trade-offs: The one-click image is less maintained than DigitalOcean’s. Bandwidth is generous (2-4 TB), but not as high as Hetzner. Support is decent but not 24/7 live chat.

Who it suits: Users who need low latency from multiple regions, or those who want a balance between price and ease of use.

Contabo (Budget VPS)

Strengths: Contabo offers extremely cheap plans with huge specs (e.g., 4 vCPU, 8 GB RAM, 200 GB SSD for ~€5/month). If you have heavy memory needs on a tight budget, Contabo is tempting.

Trade-offs: Performance is often inconsistent due to oversubscription. Network speed is capped at 1 Gbps but sustained throughput can be lower. Support is notoriously slow. Uptime is generally good but not guaranteed.

Who it suits: Hobbyists who need lots of RAM for testing or running many workflows simultaneously, and who can tolerate occasional slowness.

AWS Lightsail

Strengths: Lightsail is Amazon’s simplified VPS. It offers predictable pricing, a clean UI, and integrates with AWS services if you need them. You get a free static IP, and snapshots are easy.

Trade-offs: More expensive than Hetzner or Vultr for similar specs. No one-click n8n image (you’ll use a generic Ubuntu instance). Data transfer is limited (1-2 TB).

Who it suits: Users already in the AWS ecosystem, or those who want a reliable, well-known provider with a simple interface.

Railway or Render (PaaS Options)

Strengths: These are Platform-as-a-Service options, not traditional VPS. They handle scaling, SSL, and deployments automatically. You can deploy n8n from a GitHub repo in minutes. They offer free tiers for small usage.

Trade-offs: Can get expensive quickly as you scale. You have less control over the environment. Persistent storage (for n8n’s database) may require paid add-ons.

Who it suits: Developers who want zero server management and are comfortable with Git-based deployments. Good for prototyping or small-scale production.

How to Choose

Start with your budget. If you want to spend under $10/month, Hetzner CX22 or Vultr High Frequency are your best bets. If you’re willing to pay a bit more for convenience, DigitalOcean’s one-click image is worth it.

Next, consider your use case. Are you just testing n8n? A $6/month DigitalOcean droplet is fine. Running a business-critical automation? Invest in at least 4 GB RAM and a provider with good uptime, like Hetzner or DigitalOcean. If you need to run heavy workflows (browser automation, large data processing), prioritize RAM and CPU over price.

Common trade-offs to weigh:

  • Price vs. Reliability: Budget hosts like Contabo can save money but may have performance spikes. For production, pay a little more for stability.
  • Managed vs. Unmanaged: You can save money by self-managing, but you’ll spend time on updates and security. Managed services (like DigitalOcean’s managed DB) reduce that burden.
  • Location: Choose a data center close to your users or the APIs you call to reduce latency. Most providers have multiple regions.

Frequently Asked Questions

What is the minimum VPS specs for n8n?

For light use, 1 vCPU, 1 GB RAM, and 20 GB NVMe is enough. For production, aim for 2 vCPU, 4 GB RAM, and 40 GB NVMe.

Should I use Docker to install n8n?

Yes, Docker is the recommended way. It simplifies updates and keeps the environment clean. Most providers’ one-click images use Docker.

Do I need a managed database for n8n?

Not initially. n8n uses SQLite by default, which is fine for small setups. For larger deployments, switching to PostgreSQL is recommended for better performance and concurrency.

How do I secure my n8n instance?

Enable basic authentication (set N8N_BASIC_AUTH_USER and N8N_BASIC_AUTH_PASSWORD). Use HTTPS via a reverse proxy like Caddy or Nginx. Keep your VPS updated.

Can I run n8n on a Raspberry Pi?

Yes, but it’s not recommended for production. A Pi 4 with 4 GB RAM can handle light workflows, but the ARM architecture may cause compatibility issues with some nodes.

What’s the best way to back up n8n?

Take VPS snapshots regularly. Also export your workflows (n8n has an export feature) and back up the database file if using SQLite.

Bottom Line

For most self-hosters, Hetzner Cloud (CX22 or CX32) is the best VPS for n8n due to its unbeatable price-to-performance ratio and reliable infrastructure. If you prefer a one-click setup and don’t mind paying a bit more, DigitalOcean is an excellent choice. Avoid budget hosts like Contabo for production workloads, and consider PaaS options only if you want to avoid server management entirely. Start small, monitor your usage, and scale up as needed.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →