a service manager to watch and restart Rails if it crashes or takes up too much memory?
You could if you want to, but Fly will restart your app once its entrypoint process crashes (the process started by Fly’s init
). You would have to use a ‘service manager’ / supervisor when running multiple processes per Fly app however.
Will the VM simply crash if OOM happens?
Yes.
Do I need to manually set up log rotation?
Fly doesn’t yet have a fully-managed log sink, so you’d have to use an external service like logdna (with fly-log-shipper
) for instance, and set up its agents such that they would periodically clean-up logs, for you.
I’m migrating everything over from Heroku to Fly (Rails app, Sidekiq, Postgres, Redis…)
Fly should consider writing Heroku to Fly app guides.
Essentially, I’m unclear how much “magic” Fly is doing for me regarding basic server admin stuff?
If you’re aiming for zero devops, I’d say railway.app is more closer to Heroku than Fly is, at this point in time.