Skip to content

WIP: Fly commands

Keith Schacht edited this page May 6, 2024 · 3 revisions

https://fly.io/ruby-dispatch/run-ordinary-rails-apps-globally https://github.com/superfly/fly-ruby https://fly.io/blog/last-mile-redis https://edgeguides.rubyonrails.org/active_record_multiple_databases.html#setting-up-your-application https://fly.io/docs/reference/regions/

DATABASES

fly machines list -a the-bot-db

Adding DB regions:

Get the ID of a replica machine: https://fly.io/apps/the-bot-db/monitoring

fly machine clone --region atl ##### -a the-bot-db

Removing DB regions:

fly machine stop -a the-bot-db ##### fly machine destroy -a the-bot-db #####

Find volume: https://fly.io/apps/the-bot-db/volumes fly volumes destroy -a the-bot-db #####

APP

Clone this wiki locally