Deployment
Setup Fly
Get started with Fly.io for deployment
This guide will walk you through the process of creating and setting up a Fly.io account.
1. Sign Up
- Visit fly.io
- Click on the “Sign Up” button in the top right corner
- Choose your preferred sign-up method:
- Email and password
- GitHub
2. Verify Your Email
If you signed up with email, check your inbox for a verification email and click the link to verify your account.
3. Install Flyctl
Flyctl is the command-line tool for managing Fly.io apps.
On macOS:
brew install flyctl
On Linux:
curl -L https://fly.io/install.sh | sh
On Windows:
iwr https://fly.io/install.ps1 -useb | iex
4. Log In to Flyctl
In your terminal, run:
fly auth login
Follow the prompts to complete the login process.
5. Add a Payment Method
- Go to the Billing section of your Fly.io dashboard
- Click “Add Payment Method”
- Enter your credit card details
Note: Fly.io offers a free tier, but a payment method is required for account verification.
6. Create Your First App
To create and deploy your first app, run:
fly launch
Follow the interactive prompts to set up your app.
7. Next Steps
- Explore the Fly.io documentation for more detailed information
- Join the Fly.io community for support and discussions
Congratulations! You’re now ready to use Fly.io for deploying your applications.