Fly.io: Run an app on fly.io

Join the AI Workshop to learn more about AI and how it can be applied to web development. Next cohort February 1st, 2026

The AI-first Web Development BOOTCAMP cohort starts February 24th, 2026. 10 weeks of intensive training and hands-on projects.


First create a fly account on fly.io and install flyctl on your system fly.io/docs/hands-on/install-flyctl/ (on macOS, use brew install flyctl)

Then run fly auth login to login

Go in your project folder and add a Dockerfile if you don’t have already one.

Then run fly launch (select a region that’s free) and fly deploy --ha=false to create a single-instance free service.

Lessons in this unit:

0: Introduction
1: ▶︎ Run an app on fly.io
2: Deployment strategy on fly.io
3: Run PocketBase on fly.io
4: Deploy to Fly via GitHub action
5: Fly.io, list all regions available