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,926 stars 433 forks Updated yesterday 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
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category