A structured learning repository for Fly.io — the platform for deploying app servers close to users, running any code fearlessly with hardware-virtualized containers (Fly Machines).
Fly.io is a developer platform built on Fly Machines — hardware-virtualized containers (using KVM) that launch in milliseconds and run only when needed. It lets you:
- Deploy any app (Docker container, Rails, Phoenix, Django, Laravel, Node, .NET, and more)
- Scale globally across 18+ regions
- Run isolated sandboxes for AI-generated code (Sprites)
- Use managed Postgres, private networking, and autoscaling — all without Kubernetes complexity
Key principles:
- Machines as primitives — VMs that start fast enough to handle HTTP requests
- Run close to users — sub-100ms response times globally
- Pay for what you use — billed per second for CPU + memory
Each numbered directory maps to a learning theme, following the flows → stories → tasks methodology.
| Directory | Topic |
|---|---|
100 |
Introduction & Core Concepts |
200 |
Installation & CLI (flyctl) |
300 |
Your First Fly App |
400 |
Fly Machines Deep Dive |
500 |
Configuration (fly.toml) |
600 |
Networking, Routing & Certificates |
700 |
Managed Postgres & Storage |
800 |
Secrets & Environment Variables |
900 |
Autoscaling & Regions |
1000 |
Zero-Downtime Deploys |
1100 |
Volumes & Persistent Storage |
1200 |
Private Networking (WireGuard / 6PN) |
1300 |
Monitoring, Metrics & Logs |
1400 |
Fly Sprites (AI Sandboxes) |
1500 |
CI/CD Integration |
1600 |
Multi-Region & Distributed Apps |
1700 |
Security & Enterprise Features |
1800 |
Pricing & Cost Optimization |
1900 |
Reference & Cheat Sheets |
- Start with
100— Introduction & Core Concepts. - Follow directories in order or jump to a topic of interest.
- Each directory contains:
README.md— the learning narrative (story)tasks/— hands-on exercisesflows/— workflow diagrams or step sequences (where applicable)
- Code examples are self-contained and deployable.
- A Fly.io account (free tier available)
- Docker installed locally (optional but recommended)
- Basic CLI familiarity