Skip to content

Deploy to Fly.io

Prerequisites

  • flyctl installed and authenticated
  • FLY_API_TOKEN set (or flyctl auth login)

Deploy

bash
cooper deploy --env prod --cloud fly

What gets created

ResourceSpec
Fly Postgresshared-cpu-1x, 1 GB
Upstash RedisNo replicas
Fly Volume1 GB for storage
Fly Machineshared-cpu-1x, 256 MB

Cooper generates a fly.toml automatically.

Cost estimate

Estimated monthly delta: ~$0/mo (free tier covers most)

Fly.io's free tier includes 3 shared VMs and 1 Postgres cluster.

Apache-2.0 Licensed