flyio-reference-architecture

Featured

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

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

Install

View on GitHub

Quality Score: 99/100

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

Skill Content

# Fly.io Reference Architecture ## Overview Production architecture for Fly.io: multi-region web tier, Postgres with read replicas, Redis for caching, background workers, and private networking. ## Architecture ``` ┌─────────── Fly.io Anycast DNS ──────────┐ │ │ ┌──────▼──────┐ ┌──────────────┐ ┌─────────────▼───┐ │ Web (iad) │ │ Web (lhr) │ │ Web (nrt) │ │ shared-1x │ │ shared-1x │ │ shared-1x │ └──────┬──────┘ └──────┬───────┘ └────────┬────────┘ │ │ │ ───────┴────────────────┴────────────────────┴─── .internal DNS │ │ │ ┌──────▼──────┐ ┌──────▼───────┐ ┌────────▼────────┐ │ Postgres │ │ Postgres │ │ Redis │ │ Primary │ │ Replica │ │ (upstash.io) │ │ (iad) │ │ (lhr) │ │ │ └─────────────┘ └──────────────┘ └──────────────────┘ │ ┌──────▼──────┐ │ Worker │ │ (iad) │ │ shared-1x │ └─────────────┘ ``` ## Setup Commands ```bash # 1. Web app — multi-region fly launch --name my-web --region iad fly scale count 1 --region lhr fly scale count 1 --region nrt # 2. Postgres with replica fly postgres create --name my-db --region iad fly postgres attach my-db -a my-web # Add read replica in Europe fly machine clone <primary-machine-id> --region lhr -...

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-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-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-performance-tuning

Optimize Fly.io application performance with auto-stop/start tuning, VM sizing, multi-region latency optimization, and connection pooling. Trigger: "fly.io performance", "fly.io cold start", "fly.io latency", "fly.io VM sizing".

2,266 Updated today
jeremylongshore
AI & Automation Solid

flyio-upgrade-migration

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

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