DigitalOcean Basic s-2vcpu-2gb vs Hetzner CX 23
We earn commissions when you shop through the links below. How we make money
Hetzner CX 23 costs 64% less a month. Of 10 benchmarks both plans have, DigitalOcean Basic s-2vcpu-2gb is ahead on 3 and Hetzner CX 23 on 7. For the money, Hetzner CX 23 gets 388% more CPU. Prices are full monthly prices with IPv4 where it is extra, excluding VAT.
Measured in different cities, Amsterdam and Nuremberg, 540 km apart: the network figures are not directly comparable, and the hardware may differ between data centers. These are the nearest two places both plans were measured.
Price, specs and benchmarks
| Spec | DigitalOcean Basic s-2vcpu-2gb | Hetzner CX 23 |
|---|---|---|
| Full price / mo |
$18.00
cheapest region
|
$6.55
cheapest region
|
| vCPU | 2 Shared | 2 Shared |
| RAM | 2 GB | 4 GB |
| Disk | 60 GB SSD | 40 GB NVMe |
| Traffic / mo | 3 TB | 20 TB |
| Public IPv4 | Included | +$0.55 (in the price above) |
| Billing | Hourly | Hourly |
| Backups | +20% of the server | +20% of the server |
| Where to order |
In stock in 12 of 12 regions
Order at DigitalOcean
|
In stock in 1 of 3 regions
Order at Hetzner
|
| Measured |
Amsterdam, Nov 9, 2026
2 runs
|
Nuremberg, Nov 23, 2026
1 run
|
| CPU we got | Not disclosed by the provider (reports “DO-Regular”) | AMD EPYC-Rome Processor |
| The provider offers there |
|
|
| CPU How fast one core and all cores compute. | ||
|
One core, 7-Zip
MIPS, higher is better
|
3,159
3,159–3,170 over 2 runs
|
4,988
1 run, preliminary
58% faster
|
|
All cores, 7-Zip
MIPS, higher is better
|
6,517
6,517–6,620 over 2 runs
|
11,571
1 run, preliminary
78% faster
|
|
All cores per dollar
MIPS per $/mo, higher is better
|
362 | 1,766 4.9× more for the money |
| Disk Random reads, and writes flushed one by one as a database commits. | ||
|
Random read 4K
IOPS, higher is better
|
79,046
78,323–79,046 over 2 runs
61% faster
|
48,997
1 run, preliminary
|
|
Sync write 4K
IOPS, higher is better
|
4,264
4,264–4,330 over 2 runs
2.4× faster
|
1,743
1 run, preliminary
|
| Applications A Laravel page, PostgreSQL and a Docker build on the server itself. | ||
|
PHP page
req/s, higher is better
|
249
247–249 over 2 runs
|
497
1 run, preliminary
100% faster
|
|
pgbench read-write
TPS, higher is better
|
1,439
1,439–1,968 over 2 runs
|
2,825
1 run, preliminary
96% faster
|
|
Docker build
s, lower is better
|
66.8
60.5–66.8 over 2 runs
|
29.0
1 run, preliminary
2.3× faster
|
| Network Download from the nearest neutral point outside the provider, upload to Cloudflare. | ||
|
Download
Mbit/s, higher is better
|
1,884
1,884–1,887 over 2 runs
|
8,305
1 run, preliminary
4.4× faster
|
|
Upload
Mbit/s, higher is better
|
777
777–991 over 2 runs
2% faster
|
763
1 run, preliminary
|
Every number of the Basic s-2vcpu-2gb run Every number of the CX 23 run How we measure
Already on DigitalOcean Basic s-2vcpu-2gb? See how yours does against Hetzner CX 23.
Run the same test on your server: its page sets each test against our runs of Basic s-2vcpu-2gb and among the plans of its size, CX 23 included.
curl -fsSL https://github.com/vpscast/bench/releases/latest/download/run.sh | bash -s -- --share --plan digitalocean/s-2vcpu-2gb --src compare
About 15 minutes; root or sudo, it uses Docker. Sends only the measurements and the hardware, no IP address. What it does, and how to run it without sending anything