Skip to content

vanHeemstraSystems/learning-fly-io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

learning-fly-io

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).


What is Fly.io?

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

Repository Structure

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

How to Use This Repository

  1. Start with 100 — Introduction & Core Concepts.
  2. Follow directories in order or jump to a topic of interest.
  3. Each directory contains:
    • README.md — the learning narrative (story)
    • tasks/ — hands-on exercises
    • flows/ — workflow diagrams or step sequences (where applicable)
  4. Code examples are self-contained and deployable.

Prerequisites

  • A Fly.io account (free tier available)
  • Docker installed locally (optional but recommended)
  • Basic CLI familiarity

References

About

Learning Fly.io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors