Hosting Spring Boot on Fly.io
Pricing data as of 2026-08-28 · refreshed weekly
EdgeSSLDIY: cdn, image opt, previews, auto-deploy
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 buildand 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 | $11.27 | Egress $0.02/GB included in our totals; no free allowance for new orgs |
| Startup / small business (~50,000/mo) | shared-cpu-1x 2GB | $12.59 | Egress $0.02/GB included in our totals; no free allowance for new orgs |
| E-commerce (~200,000/mo) | shared-cpu-1x 2GB | $26.75 | Egress $0.02/GB included in our totals; no free allowance for new orgs |
| High traffic (~1,000,000/mo) | shared-cpu-1x 2GB | $40.41 | Egress $0.02/GB included in our totals; no free allowance for new orgs |