Fly.ioAnnouncement
Logbook: October 21 to 28, 2022
Summary
This weekly Logbook changes format from tracking every monthly change to an over-generalized weekly tl;dr of Fly.io updates intended to help with deploying or managing apps. It reports new Postgres documentation for performing failovers, regional failovers, setting up and attaching a database, and migrating one from Heroku, while warning that Fly Postgres is not fully managed and requires customer monitoring. The post also points to an example of integrating the Elastic Stack (ELK) with a Laravel app for user analytics and reporting, plus instructions for shutting down an idle Phoenix app on Fly Machines after a configurable period without requests. It explains that newly launched Fly apps do not yet deploy to Machines in the same way, while fly pg create does use Fly Machines, and directs readers to comparisons of the app versions. Finally, it notes colorblind-friendly dashboard improvements and previews more Postgres documentation work.
Context
Tracking every single change monthly had become burdensome, so the Logbook is moving to an over-generalized weekly summary of Fly.io changes intended to help with deploying or managing apps.
Approach / What changed
The Logbook groups documentation updates, operational guidance, application examples, Fly Machines behavior, and dashboard changes into a weekly roundup. It adds Postgres failover, setup, and Heroku migration guidance; describes ELK integration in Laravel and idle shutdown for Phoenix; and points to explanations of Fly Apps v1 and v2.
Takeaways
New documentation covers performing Postgres failovers, regional failovers, setting up and attaching a database, and migrating a Postgres database from Heroku.
Fly Postgres is not a fully managed database: Fly provides tools to provision and upgrade instances, but an instance running out of disk space can go unnoticed without monitoring.
A Phoenix app can shut itself down on Fly Machines when it has received no requests for a configurable period of time.
Source and freshness
- Source
- fly.io
- Published
- Added to Yomu
- Last updated
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.