Guides (Blueprints)
A growing library of guides for running, designing, and deploying all kinds of apps on Fly.io. Whether you’re just getting started or looking for new ideas, these are real-world patterns you can learn from and build on.
Architecture Patterns
Guides for the structure your app on Fly.io. Layouts, tradeoffs, moving parts.
- Resilient apps use multiple Machines
- Getting Started with N-Tier Architecture
- Shared Nothing Architecture
- Session Affinity (a.k.a. Sticky Sessions)
- Multi-region databases and fly-replay
- Deploying Remote MCP Servers
Deployment & Developer Workflow
Stuff you set up once and adjust when you ship code. Includes previews, base images, staging, and Docker wrangling.
- Seamless Deployments on Fly.io
- Rollback Guide
- Git Branch Preview Environments on Github
- Staging and production isolation
- Per-User Dev Environments with Fly Machines
- Using base images for faster deployments
- Managing Docker Images with Fly.io’s Private Registry
Networking & Connectivity
Connecting things. Public apps, private services, bridging deployments, SSH, and WireGuard.
- Run private apps with Flycast
- Jack into your private network with WireGuard
- Bridge your other deployments to Fly.io
- Connecting to User Machines
- Run an SSH server
Scaling, Performance & Observability
Make it fast. Make it reliable. Monitor what’s happening.
- Observability for User Apps
- Autoscale Machines
- Autostart and autostop private apps
- Setting Hard and Soft Concurrency Limits
- Using Fly Volume forks for faster startup times
- Going to Production with Healthcare Apps
Background Jobs & Automation
How to run periodic tasks, long-running jobs, infrastructure automation, and the things that run when you’re asleep.