$ -weight: 500;">brew -weight: 500;">install flyctl
fly auth login
fly launch # detects Dockerfile, creates app
fly deploy # deploys to nearest region
-weight: 500;">brew -weight: 500;">install flyctl
fly auth login
fly launch # detects Dockerfile, creates app
fly deploy # deploys to nearest region
-weight: 500;">brew -weight: 500;">install flyctl
fly auth login
fly launch # detects Dockerfile, creates app
fly deploy # deploys to nearest region
fly regions add ams lhr nrt syd # add regions
fly scale count 3 # 3 instances
fly scale vm shared-cpu-2x # bigger VMs
fly regions add ams lhr nrt syd # add regions
fly scale count 3 # 3 instances
fly scale vm shared-cpu-2x # bigger VMs
fly regions add ams lhr nrt syd # add regions
fly scale count 3 # 3 instances
fly scale vm shared-cpu-2x # bigger VMs
fly postgres create --name my-db
fly postgres attach my-db
# DATABASE_URL automatically set
fly postgres create --name my-db
fly postgres attach my-db
# DATABASE_URL automatically set
fly postgres create --name my-db
fly postgres attach my-db
# DATABASE_URL automatically set
# Create a machine (lightweight VM)
fly machine run myimage:latest --region iad --size shared-cpu-1x
# Create a machine (lightweight VM)
fly machine run myimage:latest --region iad --size shared-cpu-1x
# Create a machine (lightweight VM)
fly machine run myimage:latest --region iad --size shared-cpu-1x - 3 shared-cpu-1x VMs (256MB each)
- 3GB persistent volumes
- 160GB outbound transfer