Fly.io
🌱 This post is in the growth phase. It may still be useful as it grows up.
Setup
brew install flyctl
fly help
fly auth login
fly docs
Concepts
- Fly Machines
- Ephemeral
- Dockerfile for undetectable build/frameworks
- Remote Builders: machines that build apps when deploying without a local Docker daemon or when using
--remote-only
. Free - [fly.toml]: configuration center and primary at build time.
- Fly Volumes
- Slice of reserved NVMe disk storage
- Attached to Fly Machine
- LiteFS
First
git clone https://github.com/fly-apps/hello-fly.gitcd hello-flyfly launch --now
Name must be globally unique.
fly apps open
(in repo).
Urls are supported with open
: fly apps open /chan
LiteFS
- Create LiteFS Cloud cluster