Skip to content
VPScast
Menu

DigitalOcean v5 Shared s5-2vcpu-4gb-50gb vs Hetzner CX 23

We earn commissions when you shop through the links below. How we make money

Hetzner CX 23 costs 84% less a month. Our benchmarks of both plans side by side, once both are measured. Prices are full monthly prices with IPv4 where it is extra, excluding VAT.

Price, specs and benchmarks

Spec DigitalOcean v5 Shared s5-2vcpu-4gb-50gb Hetzner CX 23
Full price / mo $40.67
cheapest region
$6.55
cheapest region
vCPU 2 Shared 2 Shared
RAM 4 GB 4 GB
Disk 50 GB SSD 40 GB NVMe
Traffic / mo 4 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 4 of 4 regions
Order at DigitalOcean
In stock in 1 of 3 regions
Order at Hetzner
Measured Not benchmarked yet Nuremberg, Nov 23, 2026
1 run
CPU we got — AMD EPYC-Rome Processor
The provider offers there
  • Block storage — not offered
  • Object storage (S3)
  • Load balancer
  • Private network
  • Managed Kubernetes
  • Managed PostgreSQL
  • Block storage
  • Object storage (S3)
  • Load balancer
  • Private network
  • Managed Kubernetes — not offered
  • Managed PostgreSQL — not offered
CPU How fast one core and all cores compute.
One core, 7-Zip
MIPS, higher is better
— 4,988
1 run, preliminary
All cores, 7-Zip
MIPS, higher is better
— 11,571
1 run, preliminary
Disk Random reads, and writes flushed one by one as a database commits.
Random read 4K
IOPS, higher is better
— 48,997
1 run, preliminary
Sync write 4K
IOPS, higher is better
— 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
— 497
1 run, preliminary
pgbench read-write
TPS, higher is better
— 2,825
1 run, preliminary
Docker build
s, lower is better
— 29.0
1 run, preliminary
Network Download from the nearest neutral point outside the provider, upload to Cloudflare.
Download
Mbit/s, higher is better
— 8,305
1 run, preliminary
Upload
Mbit/s, higher is better
— 763
1 run, preliminary

Every number of the CX 23 run How we measure

Already on DigitalOcean v5 Shared s5-2vcpu-4gb-50gb? See how yours does against Hetzner CX 23.

Run the same test on your server: its page sets each test against our runs of v5 Shared s5-2vcpu-4gb-50gb 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/s5-2vcpu-4gb-50gb --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