DEV Community

Alex Spinov
Alex Spinov

Posted on

Fly.io Has a Free Platform That Deploys Docker Containers Close to Your Users

Fly.io turns Docker containers into micro-VMs that run in 30+ regions worldwide. Deploy any app close to your users with a generous free tier.

Free Tier

  • 3 shared-cpu-1x VMs — 256MB each
  • 3GB persistent storage — volumes
  • 160GB outbound transfer — per month
  • Unlimited inbound — no charge
  • Free SSL — automatic TLS
  • Free Postgres — managed database

Deploy Any Dockerfile

fly launch  # auto-detects framework, generates fly.toml
fly deploy  # builds and deploys
Enter fullscreen mode Exit fullscreen mode

fly.toml

app = 'my-app'
primary_region = 'iad'

[http_service]
  internal_port = 3000
  force_https = true
  auto_stop_machines = true
  auto_start_machines = true
Enter fullscreen mode Exit fullscreen mode

Scale Globally

fly scale count 3 --region iad,lhr,nrt
Enter fullscreen mode Exit fullscreen mode

Fly.io vs Railway vs Render

Feature Fly.io Railway Render
Regions 30+ 1 4
Free VMs 3 $5 credit 1
Docker Native Native Supported
Edge Yes No No

Need deployment help? Check my work on GitHub or email spinov001@gmail.com for consulting.

Top comments (0)