Fly.io Deployment
Deploy applications globally on Fly.io. Generates fly.toml configs, Dockerfile setups, multi-region machine placement, Tigris object storage, Fly Postgres clusters, and auto-scaling policies.
This skill helps you deploy and manage applications on Fly.io's edge infrastructure. It generates fly.toml configurations, Dockerfiles optimized for Fly builders, multi-region machine placement strategies, Fly Postgres with read replicas, Tigris S3-compatible storage, LiteFS distributed SQLite, volume management, and auto-scaling rules. Covers Fly Machines API for programmatic deployments.
When to use
Use when deploying apps to Fly.io, setting up multi-region infrastructure, configuring Fly Postgres, implementing LiteFS for distributed SQLite, or scaling with Fly Machines API.
Examples
Multi-region deploy
Deploy a Node.js app across 3 regions
Create a fly.toml for a Next.js app deployed to iad, cdg, and nrt regions with Fly Postgres primary in iad and read replicas in each region
LiteFS SQLite
Set up distributed SQLite with LiteFS
Configure LiteFS for my Remix app on Fly.io with a primary node in iad and read replicas, including the litefs.yml and Dockerfile setup