flyio-core-workflow-a

Featured

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

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 Core Workflow A: Deploy & Scale ## Overview The primary Fly.io workflow: configure `fly.toml`, deploy apps, manage secrets, scale across regions, and control machine lifecycle. ## Instructions ### Step 1: Configure fly.toml ```toml # fly.toml — app configuration app = "my-app" primary_region = "iad" [build] dockerfile = "Dockerfile" [env] NODE_ENV = "production" PORT = "3000" [http_service] internal_port = 3000 force_https = true auto_stop_machines = "stop" # Stop idle machines auto_start_machines = true # Start on request min_machines_running = 1 # Always keep 1 warm [http_service.concurrency] type = "requests" hard_limit = 250 soft_limit = 200 [[vm]] cpu_kind = "shared" cpus = 1 memory = "512mb" ``` ### Step 2: Deploy and Manage Secrets ```bash # Set secrets (encrypted, injected as env vars) fly secrets set DATABASE_URL="postgres://..." API_KEY="sk_..." # List secrets (values hidden) fly secrets list # Deploy fly deploy # Check deployment status fly status fly releases ``` ### Step 3: Scale Across Regions ```bash # Add machines in new regions fly scale count 2 --region iad # 2 machines in Virginia fly scale count 1 --region lhr # 1 machine in London fly scale count 1 --region nrt # 1 machine in Tokyo # Adjust VM size fly scale vm shared-cpu-2x --memory 1024 # Check current scale fly scale show ``` ### Step 4: Manage App Lifecycle ```bash # Restart all machines fly apps restart # Suspend an app ...

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