innozverse-flyio-deploy
Deploy the innozverse API to Fly.io, manage deployments, check status, view logs, and troubleshoot deployment issues. Use when deploying the API or debugging Fly.io deployment problems.
When & Why to Use This Skill
This Claude skill streamlines the deployment and management of the innozverse API on Fly.io. It automates essential DevOps workflows, including initial application launching, environment variable configuration, and continuous deployment. By providing integrated commands for status monitoring, log viewing, and resource scaling, it simplifies cloud infrastructure management and accelerates the troubleshooting process for developers.
Use Cases
- Initial API Deployment: Quickly launch the innozverse API on Fly.io with guided setup, including secret configuration and port mapping.
- Continuous Deployment Management: Efficiently push code updates to the production environment using standardized deployment commands to ensure high availability.
- Real-time Monitoring and Debugging: Access live application logs and status reports directly through the agent to identify and resolve deployment bottlenecks or runtime errors.
- Infrastructure Scaling and Configuration: Dynamically adjust machine memory, manage environment secrets, and configure health checks to maintain optimal performance.
| name | innozverse-flyio-deploy |
|---|---|
| description | Deploy the innozverse API to Fly.io, manage deployments, check status, view logs, and troubleshoot deployment issues. Use when deploying the API or debugging Fly.io deployment problems. |
innozverse Fly.io Deployment Skill
Quick reference for deploying the innozverse API to Fly.io.
Prerequisites
brew install flyctl # macOS
fly auth login
First Deployment
cd apps/api
fly launch # Follow prompts
fly secrets set API_VERSION=1.0.0
fly deploy
Subsequent Deployments
cd apps/api
fly deploy
Common Commands
fly status # Check app status
fly logs # View logs
fly ssh console # SSH into machine
fly secrets set KEY=val # Set environment variable
fly scale memory 512 # Scale memory
fly open # Open app in browser
Configuration (fly.toml)
Located at apps/api/fly.toml:
app: App name on Fly.iointernal_port: 8080 (must match PORT in code)auto_stop_machines: Scale to zero when idle- Health check:
/healthendpoint
Troubleshooting
Build fails: Check Dockerfile, verify dependencies
Health check fails: Test /health endpoint locally
Connection issues: Check fly status, verify region
Resources
See docs/deployment-flyio.md for full guide.