Beginner's Guide to Fly.io: Getting Started in 2026

Beginner's Guide to Fly.io: Getting Started in 2026

Web Hosting🛠 Fly.io

Fly.io getting started guide for 2026. Learn what replaced the free tier, how to evaluate the trial, deploy cheaply, and when Render or Koyeb are better picks.

free-tierweb-hostingdevopscontainerscloud

Beginner’s Guide to Fly.io: Getting Started in 2026

Here’s the verdict up front: if you’re researching how to get started with Fly.io for beginners in 2026, know that there is no free tier anymore. You get a short free trial — 2 VM-hours or 7 days, whichever comes first — and the cheapest always-on app costs about $2 per month. Everything past that is configuration and cost control.

How This Guide Was Built

  • Sources used: Fly.io’s official documentation (free trial, pricing, and cost management pages) and long-running community threads about the trial’s limits.
  • Verified: current trial limits, published pricing figures, and the deploy commands shown below against official documentation.
  • NOT tested: we did not create an account, deploy an app, or measure real invoices.

This review is based on official documentation, pricing pages, and community reports — we did not run the tool hands-on.

Last verified: September 2026.

What Happened to the Fly.io Free Tier?

Fly.io retired its old free tier for new organizations in 2024, removing the three shared-CPU VMs, 160 GB of egress, and 3 GB of volumes that earlier users enjoyed. In its place sits a short Free Trial with hard caps, after which the cheapest always-on app costs roughly $2 per month. Nothing is permanently free anymore.

What replaced them, according to the Fly.io Free Trial page, is a time-boxed trial: 2 VM-hours or 7 days, whichever comes first, with machines that auto-stop after 5 minutes. Caps include 10 machines, 20 GB of volumes, up to 2 vCPUs and 4 GB of RAM per machine, and no dedicated IPv4.

How to Get Started with Fly.io for Beginners

Getting started is a short CLI flow: install flyctl, run fly auth signup, generate config with fly launch, then ship with fly deploy. You can sign up and deploy without a credit card, but adding one during the trial ends it and starts billing right away. A generated fly.toml file controls region, port, and machine size.

  1. Install the CLI. On Linux or macOS: curl -L https://fly.io/install.sh | sh. With Homebrew: brew install flyctl.
  2. Sign up. Run fly auth signup. No card is required, but adding one during the trial ends the trial and starts billing (Fly.io Free Trial).
  3. Launch. From your project folder, run fly launch. Fly detects your framework, generates a fly.toml, and asks for a region. Decline add-ons you don’t need — the managed Postgres option starts at $38/month.
  4. Deploy. fly deploy builds your image and starts a machine.
  5. Verify. fly status shows machine state; fly apps open opens the live app.
app = "my-app"
primary_region = "ord"

[http_service]
  internal_port = 8080
  auto_stop_machines = "stop"
  auto_start_machines = true
  min_machines_running = 0

[[vm]]
  cpus = 1
  memory = "256mb"

The keys that matter: app names the deployment, primary_region sets the region, internal_port is where your app listens, [[vm]] sets cpus and memory, and the autostop keys decide whether idle machines shut down.

Is Fly.io Really Free in 2026?

No — in 2026 Fly.io has no free tier. New accounts get a Free Trial of 2 VM-hours or 7 days, whichever comes first, then machines stop. The cheapest always-on configuration, a shared-cpu-1x VM with 256 MB of RAM, costs $1.94–$2.53 per month depending on region, billed per second (Fly.io Free Trial; Fly.io Pricing).

The trial is genuinely free, but it’s a demo, not a home. Add a card at any point and the trial ends with billing beginning immediately, including a small pre-authorization (under $10). Prepaid credits start at a $25 minimum, volumes cost $0.15 per GB per month even when stopped, and snapshot backups run $0.08 per GB after the first 10 GB free — enabled by default (Fly.io Pricing). There are no billing alerts; overages simply appear on your invoice (Fly.io Cost Management).

Keeping Your Fly.io Costs at the Floor

You can hold Fly.io to roughly $2 per month by running one shared-cpu-1x machine with 256 MB of RAM, setting auto_stop_machines to stop and min_machines_running to zero, skipping volumes and dedicated IPv4, and keeping egress low. Stopped machines bill only for rootfs storage, so an idle app costs almost nothing.

[http_service]
  auto_stop_machines = "stop"  # "stop", "suspend", or "off"
  auto_start_machines = true
  min_machines_running = 0
  • Right-size to the floor. One shared-cpu-1x machine with 256 MB of RAM is the cheapest configuration, at $1.94–$2.53/mo, billed per second (Fly.io Pricing).
  • Let machines sleep. With auto_stop_machines = "stop" and min_machines_running = 0, stopped machines bill only rootfs storage between requests; "suspend" resumes faster, "off" disables autostopping.
  • Avoid volumes unless necessary. They are region-locked, bill at $0.15/GB/mo even when stopped, and their snapshot backups (on by default) add $0.08/GB after the first 10 GB free.
  • Skip paid networking extras. Dedicated IPv4 costs $2/month, and managed SSL beyond the first 10 free hostnames runs $0.10/month each.
  • Watch egress yourself. Outbound transfer varies by region, and with no billing alerts (Fly.io Cost Management), nobody will warn you.

Common Mistakes Beginners Make on Fly.io

The most expensive beginner mistakes on Fly.io are structural, not technical: attaching a volume you don’t need, leaving snapshot backups enabled, adding a credit card mid-trial, deploying managed Postgres when you don’t need it, and assuming Fly.io will warn you about overruns. None of these trigger alerts, so review your setup after deploying.

  1. Adding a card mid-trial. It ends the trial instantly and starts billing (Fly.io Free Trial).
  2. Attaching a volume “just in case.” That’s $0.15/GB/mo billed even when the machine is stopped (Fly.io Pricing).
  3. Leaving snapshots on by default. They bill $0.08/GB once you pass the first free 10 GB.
  4. Picking managed Postgres by reflex. It starts at $38/month; a self-managed dev cluster on the cheapest shared VM runs about $2/month.
  5. Never setting autostop. With min_machines_running = 1, a machine bills around the clock even at zero traffic.

When to Pick a Real Free Tier Instead

If you need $0 forever, choose a platform with an always-free tier. Render gives you a free 512 MB web service that spins down after 15 minutes idle plus a small free Postgres that expires after 30 days (Render Free). Koyeb offers a free instance with 0.25 vCPU, 1 GB RAM, and 1 GB storage, capped near five hours daily (Koyeb Pricing).

Platform Always-free compute Catch
Render 512 MB web service Spins down after 15 minutes idle; free Postgres (256 MB) expires after 30 days
Koyeb 0.25 vCPU, 1 GB RAM, 1 GB storage Roughly 5 hours per day
Fly.io None — 2 VM-hours/7-day trial ~$2/month floor for always-on

Pick Fly.io when you want real, always-on VMs at coffee-money prices. Pick Render when free-forever beats instant cold starts. Pick Koyeb when you need container hosting and can live with a daily cap. We cover both in our Render free tier guide and Koyeb free tier guide.

FAQ

Quick answers to the questions beginners ask most about Fly.io in 2026: what happens when the trial ends, whether static sites can be hosted for free, and how Fly.io compares to Render’s free tier. Each answer stands on its own with sources.

Does Fly.io charge you after the free trial ends?

Nothing charges automatically until you add a payment method, but the trial itself ends after 2 VM-hours or 7 days, whichever comes first, and machines auto-stop. To keep an app running you must add a card and pay the shared-cpu-1x 256 MB rate of $1.94–$2.53 per month depending on region.

Can I deploy a static site on Fly.io for free?

Not beyond the trial. Fly.io runs your static site on a full VM, so the same 2 VM-hours or 7-day trial and the ~$2 per month floor apply. If a static site is all you need, a host with a real free tier will serve it for $0 indefinitely — start with our best free web hosting roundup.

How does Fly.io compare to Render’s free tier?

Render’s free tier is genuinely $0: a 512 MB web service that spins down after 15 minutes idle, plus a free Postgres (256 MB) that expires after 30 days. Fly.io has no free tier — just a short trial and a ~$2 per month floor — but it keeps your app always on instead of sleeping.

Where to Go Next

Your next step depends on budget and patience. If roughly $2 per month is acceptable, stay on Fly.io and apply the cost controls above. If it isn’t, read our Render and Koyeb free tier guides, pair hosting with the Supabase free tier for your database, and browse the best free web hosting roundup.