Current section: Project Setup and First Deployment 4 exercises

Signing Up for Fly.io

To get started with Fly, go to fly.io and click on Get Started.
The first step is to install flyctl, the Fly command line interface that you use on your local machine to configure Fly and do all sorts of things.

You'll notice in the documentation for Fly that sometimes it uses flyctl and some

Loading lesson


Instructor: 0:00 To get started with Fly, you go to fly.io and click on get started. The first step here is to install flyctl. This is the Fly command line interface that you use on your local machine to configure your Fly and do all sorts of things.

0:16 You'll notice in the documentation for Fly that sometimes it uses flyctl and sometimes it uses simply Fly. That's because they both work. I always just use Fly. I'm not sure why they have flyctl. Just use Fly. Regardless, whatever your machine is, whether it's Mac OS, Linux, or Windows, they have instructions here on how you get things installed.

0:38 I already have things installed myself and I installed things using Brew because I have Homebrew to manage all sorts of things, but you install it however you see fit. I do recommend Homebrew myself if you're on Mac OS. Then you can move on to the signup.

0:53 I want to add also that if you do run into problems in the installation process or anything else with Fly, Fly has a really great community.

1:02 If you click on this Discourse icon or logo up in the top right, you'll go to community.fly.io where you can create new questions and answer other people's questions, and participate in the community. It's a really awesome community and they're really helpful if you ever run into any issues.

1:21 Let's move on to the signup where you run fly auth signup, so we'll run that in our terminal. This will open up the signup page where you can type in your full name, email, and password. I'll say Kody the Koala. That's me+kody@kentcdodds.com.

1:41 I'll type in a password. Probably I recommend a password manager. Then here it's going to ask for a payment method because remember that Fly is a business and they need to pay the bills.

1:53 However, their free tier is actually really good and so even though you enter a credit card number in here, you're probably not going to be charged if you're just following this tutorial, so don't worry about that. But you do need to provide a credit card if you want to go through this tutorial with me and of course if you want to actually deploy and manage an app on their hosting platform.

2:15 With that entered in, I'm going to go Add Card. With that card added to our account, we're now able to use Fly. Let's go back to our terminal, and we see that we successfully logged in and we're ready to rock and roll with Fly.

2:33 Now let's go to the Fly dashboard. If we go to fly.io and we're signed in, now this link at the top says Dashboard, which will take us to fly.io/dashboard. Now it's giving us tips on how to deploy various frameworks and things. One thing here is it says your email is not confirmed, so we need to verify our email.

2:53 You'll just go to your email, click on the link to verify, and you'll be verified. If at any time you need to log out, then you say fly auth logout, and that will log you out of Fly. Then if you need to log back in again, you say fly auth login. That will open up your browser again.

3:11 If you're logged in in your browser, then you can simply click on Continue or you can sign in as a different user. If you're not logged in in your browser, then you just enter your credentials and continue. I'm going to continue as me+kody, and now we're signed in again. That's how you sign up for Fly.