Hetzner vs DigitalOcean for Self-Hosting n8n
Hetzner vs DigitalOcean compared on server specs, pricing and documented setup effort for teams self-hosting n8n, plus what official docs leave out.

Checked against the cited sources on .
Server specs at a glance: Hetzner Cloud vs DigitalOcean Droplets

When a team compares Hetzner vs DigitalOcean for self-hosting n8n, the first question is usually simple: what does a comparable server actually include. Hetzner's Cloud Regular Performance line lists a CPX22 tier with 2 AMD vCPUs, 4 GB of RAM and 80 GB of NVMe storage, according to Hetzner's own pricing page. On DigitalOcean's side, a Basic Droplet with a matching 4 GiB of RAM and 2 vCPUs sits on the Regular CPU tier, per DigitalOcean's documentation.
Bandwidth is bundled differently. Hetzner's documentation states that EU-region cloud servers, including its Falkenstein, Nuremberg and Helsinki locations, include at least 20 TB of outbound traffic before extra charges apply. DigitalOcean positions its shared-CPU Basic Droplets as the lower-cost option for workloads that do not need guaranteed dedicated compute, according to DigitalOcean's own sizing guidance dated 2026 — a description that fits a typical single-instance n8n setup.
| Criterion | Hetzner CPX22 | DigitalOcean Basic (4 GiB / 2 vCPU) |
|---|---|---|
| vCPUs | 2 AMD vCPUs | 2 vCPUs |
| RAM | 4 GB | 4 GiB |
| Storage | 80 GB NVMe | 80 GiB |
| Included outbound transfer | At least 20 TB in EU locations | Not documented in the sources used for this comparison |
| Source | Hetzner's own pricing documentation | DigitalOcean's own pricing documentation |
Sources: Hetzner Virtual Private Server: Best Price-Performance Ratio, Choosing the Right CPU Droplet Plan | DigitalOcean Documentation, Droplet Pricing | DigitalOcean
Pricing structure: Hetzner vs DigitalOcean billing, caps and bandwidth
Hetzner vs DigitalOcean pricing structures diverge more in billing mechanics than in headline numbers. Hetzner's own published rates do not include a monthly price for the CPX22 tier used in the specs comparison above. The closest documented figure is Hetzner's CX23 instance, a different Hetzner cloud tier with its own, separately priced specs, not the CPX22 line described above.
A mid-2026 price adjustment set the CX23 rate at $6.49 per month in US dollars, up from $4.99, effective for new orders from 15 June 2026, according to Hetzner's own published rates. That figure only illustrates how Hetzner's cloud pricing is structured and adjusted; it is not a like-for-like price against DigitalOcean's CPX22-equivalent tier, and it excludes VAT and any IPv4 add-on.
DigitalOcean's bundled Droplet plans start as low as $4 per month for its entry-level tier, per DigitalOcean's pricing page. The 4 GiB / 2 vCPU tier that matches Hetzner's CPX22 specs from the table above costs $24 per month on DigitalOcean's Regular CPU tier.
| Criterion | Hetzner | DigitalOcean |
|---|---|---|
| Billing granularity | Hourly rate with a monthly price cap | Per-second billing, minimum 60 seconds or $0.01 |
| Entry-level monthly price | Not available for the CPX22 tier in these sources | $4 per month for the smallest Basic Droplet |
| Nearest documented comparable price | CX23 (a different tier): $6.49 per month as of a mid-2026 adjustment | $24 per month for the 4 GiB / 2 vCPU Basic Droplet |
| Bandwidth beyond the included allowance | Folded into a larger allowance bundled with the base EU price | $0.01 per GiB beyond the included allowance |
Billing granularity also differs. DigitalOcean bills bundled-plan Droplets per second, with a minimum charge of 60 seconds or $0.01, whichever is higher, according to DigitalOcean's documentation dated 25 August 2026. Beyond each Droplet's included transfer allowance, DigitalOcean charges $0.01 per GiB for outbound data, while inbound transfer stays free. Hetzner folds a larger transfer allowance into its base EU price instead, so the two providers push bandwidth costs into different parts of the bill. These figures reflect the dates stated above and may have changed since then, so a team should check each provider's current pricing page before deciding.
Sources: Hetzner Virtual Private Server: Best Price-Performance Ratio, Hetzner Price Adjustment 15 June 2026 - Hetzner Docs, Droplet Pricing | DigitalOcean Documentation, Droplet Pricing | DigitalOcean
Setup effort: firewall and network provisioning on each platform

Both providers document a rule-based, default-deny firewall model, so the setup effort looks similar on paper. Hetzner Cloud Firewalls, created manually in the Console per documentation from 2021, support up to 500 effective inbound and outbound rules per firewall. DigitalOcean's Cloud Firewalls are a network-based, stateful service provided to Droplets at no additional cost, according to DigitalOcean's documentation dated 13 July 2026, and they default to blocking all traffic unless a rule explicitly allows it.
For a team exposing n8n's webhook endpoints, that default-deny posture matters more than the interface used to configure it. Neither provider's firewall documentation supplied here walks through combining these rules with n8n's own webhook or reverse-proxy setup, so a team should treat the general firewall docs as a starting point rather than an n8n-specific guide.
A typical firewall provisioning sequence
- Create the firewall: Define a named firewall resource in the provider's console or CLI.
- Set default-deny: Leave all inbound traffic blocked except rules that are explicitly added.
- Add explicit rules: Open only the ports n8n and its reverse proxy actually need.
- Attach to the server: Link the firewall to the running instance before exposing it publicly.
Sources: Creating a Firewall - Hetzner Docs, How to Create Firewalls | DigitalOcean Documentation
What official docs leave out: installing n8n itself
Neither Hetzner's nor DigitalOcean's official documentation, as supplied for this comparison, covers installing n8n itself: no provider-specific steps for Docker, database setup or reverse-proxy TLS appear in either provider's docs. That gap is worth planning for, because a bare VPS from either provider is just compute, storage and networking, not a running n8n instance.
Whichever provider a team picks, it still needs to follow n8n's own self-hosting installation guide separately from the VPS provider's docs. For readers who want to practice the workflow-building side of n8n before committing to server choices, n8n Balloon Challenges' hands-on exercises can be completed using either n8n Cloud or a self-hosted n8n instance, so the same challenge works regardless of which hosting path a team eventually chooses.
Sizing the server: what n8n's own scaling guidance says

Rather than buying an ever-larger single box, n8n's own documentation recommends queue mode as the way to scale n8n across multiple worker processes, calling it the setup that provides the best scalability. The same documentation states that running n8n at scale, with many users, workflows or executions, requires changing the default configuration for good performance.
n8n's documentation, as supplied here, does not give concrete CPU or RAM thresholds for a small-team production instance beyond that general statement. That makes a Hetzner CPX22 or a comparably sized DigitalOcean Basic Droplet a reasonable starting point for a handful of workflows, with queue mode as the documented next step once execution volume grows rather than a bigger single server.
Sources: Scaling | Deploy | n8n Docs
Choosing between Hetzner and DigitalOcean for a team's n8n instance

After weighing Hetzner vs DigitalOcean on specs, pricing and setup effort, the two providers land close enough that the decision often comes down to how a team prefers to manage infrastructure rather than a clear price winner. Jonas, co-founder at Sliplane, put it plainly in his own comparison of cloud providers for self-hosting n8n:
That framing matches what the documentation shows: both providers require a team to configure its own firewall, size its own server and install n8n separately from the VPS itself.
Sources: Hetzner Price Adjustment 15 June 2026 - Hetzner Docs, Droplet Pricing | DigitalOcean Documentation, Scaling | Deploy | n8n Docs


