flyio-upgrade-migration

Solid

Migrate between Fly.io platform versions including Apps v1 to v2 (Machines), flyctl upgrades, and Postgres major version upgrades. Trigger: "fly.io upgrade", "fly.io migration", "fly apps v2", "fly postgres upgrade".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 97/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
98
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Fly.io Upgrade & Migration ## Overview Guide for Fly.io platform migrations: Apps v1 (Nomad) to v2 (Machines), flyctl CLI upgrades, Postgres major version upgrades, and region migrations. ## Instructions ### Apps v1 to v2 Migration ```bash # Check current platform version fly status -a my-app # Look for "Platform: machines" vs "nomad" # Migrate to Apps v2 (Machines) fly migrate-to-v2 -a my-app # Verify fly status -a my-app fly machine list -a my-app ``` ### flyctl CLI Upgrade ```bash # Check current version fly version # Upgrade fly version update # Or reinstall curl -L https://fly.io/install.sh | sh ``` ### Postgres Major Version Upgrade ```bash # Check current version fly postgres connect -a my-db -c "SELECT version();" # Create new cluster with target version fly postgres create --name my-db-v16 --region iad --image-ref flyio/postgres-flex:16 # Migrate data fly postgres import pg_dump_url -a my-db-v16 # Update app to point to new cluster fly postgres detach my-db -a my-app fly postgres attach my-db-v16 -a my-app fly deploy -a my-app # Picks up new DATABASE_URL ``` ### Region Migration ```bash # Add machines in new region fly scale count 1 --region fra -a my-app # Verify new region is healthy fly status -a my-app # Remove machines from old region fly scale count 0 --region iad -a my-app # For volumes: create new volume, migrate data, destroy old fly volumes create data --size 10 --region fra -a my-app ``` ## Migration Checklist - [ ] Current state...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

flyio-reference-architecture

Implement Fly.io reference architecture with multi-region apps, Postgres, Redis, background workers, and private networking. Trigger: "fly.io architecture", "fly.io system design", "fly.io multi-region".

2,266 Updated today
jeremylongshore
AI & Automation Featured

flyio-core-workflow-a

Execute Fly.io primary workflow: deploy, scale, and manage apps with flyctl and fly.toml. Use when deploying applications, configuring regions, setting secrets, or managing the app lifecycle on Fly.io. Trigger: "fly deploy", "fly.io app management", "fly scale", "fly.io regions".

2,266 Updated today
jeremylongshore
AI & Automation Featured

flyio-deploy-integration

Advanced Fly.io deployment strategies including blue-green deployments, canary releases, multi-region rollouts, and Machines API orchestration. Trigger: "fly.io blue-green", "fly.io canary deploy", "fly.io rolling update".

2,266 Updated today
jeremylongshore
AI & Automation Featured

flyio-core-workflow-b

Execute Fly.io secondary workflow: Postgres clusters, persistent volumes, and private networking. Use when adding databases, persistent storage, or internal service communication. Trigger: "fly postgres", "fly volumes", "fly.io database", "fly.io persistent storage".

2,266 Updated today
jeremylongshore
AI & Automation Featured

flyio-hello-world

Deploy your first app to Fly.io with flyctl launch and the Machines API. Use when starting a new Fly.io project, deploying a container globally, or testing edge compute deployment. Trigger: "fly.io hello world", "fly launch", "deploy to fly.io", "first fly app".

2,266 Updated today
jeremylongshore