Hosting Spring Boot on Fly.io
Pricing data as of 2026-10-12 · refreshed weekly
Fly.io is a paas platform. Spring Boot needs roughly 2048MB RAM for a production server process, so the cheapest plan that actually fits depends on your traffic. Below is the cheapest Fly.io plan that fits each traffic level, computed from current list prices.
Note: the 2048MB figure is for serving the built app. Production builds (next build and friends) are heavier and belong in CI or on your laptop — run them on the same small instance and you'll hit out-of-memory errors that say nothing about its serving capacity.
Cheapest fitting plan by traffic
| Traffic | Plan | $/month | Notes |
|---|---|---|---|
| Hobby / side project (~5,000/mo) | shared-cpu-1x 2GB | $12.86 | iad/ewr list price after the 2026-10-01 memory price rise (was $10.70; $1.94 CPU+256MB + 1.75GB x $6/GB). Corrected 2026-10-08 from $13.39, which is the shared-cpu-2x 2GB preset. Egress $0.02/GB included in our totals; no free allowance for new orgs. Verified 2026-10-08 (docs.fly.io/about/pricing, fly.io/pricing-update) |
| Startup / small business (~50,000/mo) | shared-cpu-1x 2GB | $14.18 | iad/ewr list price after the 2026-10-01 memory price rise (was $10.70; $1.94 CPU+256MB + 1.75GB x $6/GB). Corrected 2026-10-08 from $13.39, which is the shared-cpu-2x 2GB preset. Egress $0.02/GB included in our totals; no free allowance for new orgs. Verified 2026-10-08 (docs.fly.io/about/pricing, fly.io/pricing-update) |
| E-commerce (~200,000/mo) | shared-cpu-1x 2GB | $28.34 | iad/ewr list price after the 2026-10-01 memory price rise (was $10.70; $1.94 CPU+256MB + 1.75GB x $6/GB). Corrected 2026-10-08 from $13.39, which is the shared-cpu-2x 2GB preset. Egress $0.02/GB included in our totals; no free allowance for new orgs. Verified 2026-10-08 (docs.fly.io/about/pricing, fly.io/pricing-update) |
| High traffic (~1,000,000/mo) | shared-cpu-1x 2GB | $42 | iad/ewr list price after the 2026-10-01 memory price rise (was $10.70; $1.94 CPU+256MB + 1.75GB x $6/GB). Corrected 2026-10-08 from $13.39, which is the shared-cpu-2x 2GB preset. Egress $0.02/GB included in our totals; no free allowance for new orgs. Verified 2026-10-08 (docs.fly.io/about/pricing, fly.io/pricing-update) |
FAQ
How much does it cost to host Spring Boot on Fly.io?
Hobby / side project: $12.86/month (shared-cpu-1x 2GB); Startup / small business: $14.18/month (shared-cpu-1x 2GB); E-commerce: $28.34/month (shared-cpu-1x 2GB); High traffic: $42/month (shared-cpu-1x 2GB).
Is Fly.io a cheap place to host Spring Boot?
At startup traffic Fly.io ranks 10 of 15 providers that fit; the cheapest is OVHcloud VPS ($4.54/month, VPS-1). Cheaper usually means more setup and maintenance on your side.
How current are these prices?
They are official list prices as of 2026-10-12, re-checked against each provider's pricing page on a weekly cycle. Intro promos and coupons are not used in totals; taxes are not included unless a plan note says so.