flyio-cost-tuning

Featured

Optimize Fly.io costs with auto-stop/suspend, right-sizing VMs, volume management, and monitoring spend across apps and regions. Trigger: "fly.io costs", "fly.io pricing", "fly.io billing", "reduce fly.io spend".

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 Cost Tuning ## Overview Fly.io charges per-second for running machines plus storage. Key levers: auto-stop idle machines, suspend instead of stop, right-size VMs, and clean up unused volumes. ## Pricing Quick Reference | Resource | Free Tier | Cost | |----------|-----------|------| | shared-cpu-1x (256mb) | 3 VMs free | ~$1.94/month each | | shared-cpu-1x (512mb) | included | ~$3.88/month | | shared-cpu-2x (1gb) | - | ~$11.62/month | | Volumes | 3GB free | $0.15/GB/month | | Bandwidth | 100GB free | $0.02/GB after | | IPv4 | 1 free per org | $2/month each | ## Instructions ### Strategy 1: Auto-Stop Idle Machines ```toml # fly.toml — stop machines when no traffic [http_service] auto_stop_machines = "stop" # Full stop (cheapest, ~5s cold start) auto_start_machines = true min_machines_running = 0 # Allow all machines to stop # Use min_machines_running = 1 only for production apps ``` ### Strategy 2: Suspend for Faster Resume ```toml # Suspend keeps memory state — resumes in ~100ms but costs ~$0.50/month [http_service] auto_stop_machines = "suspend" ``` ### Strategy 3: Audit and Clean Up ```bash # List all apps and their machine counts fly apps list # Find idle/stopped machines fly machine list -a my-app --json | jq '.[] | select(.state != "started") | {id, state, region}' # Destroy unused apps fly apps destroy old-app --yes # List and delete orphaned volumes fly volumes list -a my-app fly volumes destroy vol_xxx ``` ### Strategy 4: Ri...

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-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 Featured

fireflies-cost-tuning

Optimize Fireflies.ai subscription costs through seat auditing, selective recording, and plan sizing. Use when analyzing Fireflies.ai billing, reducing per-seat costs, or implementing usage monitoring and right-sizing. Trigger with phrases like "fireflies cost", "fireflies billing", "reduce fireflies costs", "fireflies pricing", "fireflies expensive", "fireflies budget".

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-rate-limits

Handle Fly.io Machines API rate limits with backoff, concurrency control, and request batching for machine management operations. Trigger: "fly.io rate limit", "fly.io 429", "fly.io throttling", "machines API limit".

2,266 Updated today
jeremylongshore
AI & Automation Featured

apify-cost-tuning

Optimize Apify platform costs through memory tuning, compute unit management, and proxy budgeting. Use when analyzing Apify billing, reducing Actor run costs, or implementing usage monitoring and budget alerts. Trigger: "apify cost", "apify billing", "reduce apify costs", "apify pricing", "apify expensive", "apify budget", "compute units".

2,266 Updated today
jeremylongshore