Fly.io vs Hetzner Cloud
Pricing
Fly.io: No free tier (short trial only), usage-based from $2.19/mo per VM
| Plan | Price | Includes |
|---|---|---|
| Pay as you go | Usage-based | Billed per second; shared-cpu-1x 256 MB from $2.19/mo; no free tier, short free trial |
Prices checked on the vendor's page
Hetzner Cloud: Servers from EUR 5.99/mo excl. VAT, IPv4 included, billed hourly; cheapest available EUR 6.49/mo
| Plan | Price | Includes |
|---|---|---|
| Cost-Optimized CX23 | €5.99/mo excl. VAT | 2 vCPU, 4 GB RAM, 40 GB NVMe, 20 TB traffic; marked currently not available |
| Cost-Optimized CAX11 (Arm) | €6.49/mo excl. VAT | 2 Ampere vCPU, 4 GB RAM, 40 GB NVMe; marked currently not available |
| Regular Performance CPX02 | €6.49/mo excl. VAT | 1 AMD vCPU, 1 GB RAM, 20 GB NVMe, 20 TB traffic in Germany and Finland |
| General Purpose CCX13 | €43.49/mo excl. VAT | 2 dedicated AMD vCPU, 8 GB RAM, 80 GB NVMe |
Prices checked on the vendor's page
Description
Fly.io: Deploy Docker containers to servers around the world with a single command
Hetzner Cloud: German cloud provider renting virtual servers by the hour from data centres in Germany, Finland, the US and Singapore
Best for
Fly.io: Developers who deploy Docker apps close to users in several regions and pay only for running machines.
Hetzner Cloud: Developers who run their own Linux servers and want low monthly prices with EU data centres
Pros
- Run your app in 30+ regions close to users: real global distribution, not just CDN caching
- Billed per second: a small app on one shared-cpu machine costs a few dollars a month
- Built-in Postgres, Redis, and object storage so you can run a full stack
- Servers in the EU include 20 TB of traffic a month
- Hourly billing with a monthly cap: delete a server mid-month and you pay only for the hours used
- Firewalls at no extra cost, private networks, a REST API, a CLI and Terraform support
Cons
- Steeper learning curve than Railway or Render: you need to understand Dockerfiles and fly.toml config
- Billing can be unpredictable: outbound bandwidth costs and machine scaling add up
- Email support costs from $29/mo on top of usage; without it there is only the community forum
- The cheapest Cost-Optimized servers (from EUR 5.99/mo) are marked as not available on Hetzner's site; the cheapest available is the 1 GB CPX02 at EUR 6.49/mo
- Prices rose on 15 June 2026: the 2 vCPU, 4 GB CPX22 went from EUR 7.99 to EUR 19.49 a month in Germany and Finland
- Servers come unmanaged: you install, update and secure them yourself
Details
Fly.io takes your Docker container and runs it on servers around the world. Your app in Tokyo, Sao Paulo, and Amsterdam simultaneously, not behind a CDN, but actually running there. For apps where latency matters (real-time features, APIs, databases), this is the real deal.
There is no free tier any more: a new organization gets a trial of two machine hours or seven days, whichever ends first. After that, pricing is usage-based and billed per second, starting at $2.19 a month for a shared-cpu VM with 256 MB of RAM. The tradeoff versus Railway or Render is complexity: Fly gives you more control over where your code runs, but you need to understand containers, config files, and networking basics. If you just want to push code and forget about it, Railway is easier. If you want your API to respond in under 50ms for users worldwide, Fly.io is worth the setup.
Hetzner rents virtual servers by the hour from data centres in Falkenstein and Nuremberg (Germany), Helsinki, two US locations and Singapore. You pick a size and an operating system such as Ubuntu or Debian, and the server is ready in seconds. You can run a self-hosting tool such as Coolify on top of it.
It suits founders who are comfortable running a Linux server. There are three lines: Cost-Optimized (shared CPUs, the cheapest), Regular Performance (shared AMD CPUs on newer hardware) and General Purpose (dedicated vCPUs).
Read the prices carefully. Hetzner’s October 2026 price list puts the CX23 (2 vCPU, 4 GB RAM, 40 GB disk) at EUR 5.99 a month excluding VAT with the IPv4 address included, but the whole Cost-Optimized line is shown as not available; the cheapest server you can order is the CPX02 (1 vCPU, 1 GB RAM) at EUR 6.49, and the CPX22 costs EUR 19.49. Singapore servers cost more and include only 0.5 TB of traffic.
Fly.io verified
Hetzner Cloud verified