Logbook - 2022-06-23

We’ve had a lot of changelogs about our Phoenix/LiveView-based web UI in recent weeks. It’s pretty rad; we’ve been vocal about being CLI-first, but we love a first-class dashboard. Our dashboard has sprouted a lot of new capabilities, and at this poi

The Fly.io Balloon
6 min readadvanced
--
View Original

Overview

The article discusses recent updates and features implemented at Fly.io, focusing on enhancements to their web UI, CLI tool flyctl, and various backend optimizations. It highlights new capabilities, performance improvements, and fixes that enhance user experience and operational efficiency.

What You'll Learn

1

How to utilize the new Laravel launcher for deploying Laravel apps with Fly.io

2

Why optimizing API queries in flyctl can improve deployment speed

3

How to debug Docker builds using plain output in fly deploy

4

When to use the new YUL region for deployments in Montreal, QC, Canada

Key Questions Answered

What new features have been added to Fly.io's web UI?
Fly.io's web UI has seen significant enhancements, including a Laravel launcher for easy deployment of Laravel apps, optimized API queries for faster performance, and a clearer Plans UI for better user navigation. These improvements aim to provide a more robust user experience.
How does the new flyctl feature improve deployment processes?
The new flyctl feature allows users to display plain Docker build output by setting NO_COLOR=1, which is particularly useful for debugging Docker builds in interactive terminals. This change enhances the user experience by providing clearer insights during deployment.
What fixes have been implemented in flyctl?
Recent fixes in flyctl include resolving a bug that wiped environment variables when using the --env flag, allowing organization deletion after custom domains are removed, and correcting password-reset links for logged-in OAuth users. These fixes aim to enhance the reliability of the CLI tool.

Technologies & Tools

Some links below are affiliate links. We may earn a commission if you make a purchase.

Key Actionable Insights

1
Utilize the new Laravel launcher feature in flyctl to streamline the deployment of Laravel applications. This feature automatically detects and configures Laravel apps from the source code, saving time and reducing setup complexity.
This is particularly beneficial for developers working with Laravel, as it simplifies the deployment process and ensures that best practices are followed.
2
Take advantage of the optimized API queries in flyctl to enhance the speed of your deployment processes. This improvement can significantly reduce the time taken for first deploys, which is crucial for maintaining an efficient workflow.
By using the latest version of flyctl, developers can expect faster response times and fewer timeouts during initial deployments.
3
Make use of the plain Docker output feature in fly deploy for debugging purposes. Setting NO_COLOR=1 provides a clearer view of the build process, which can help identify issues more effectively.
This is especially useful in environments where colorized output may obscure important information, allowing for quicker troubleshooting.

Common Pitfalls

1
One common pitfall is not utilizing the new features in flyctl, such as the Laravel launcher and optimized API queries, which can lead to slower deployment processes and more complex setups.
Developers may overlook these enhancements, sticking to outdated methods that do not leverage the latest optimizations, ultimately affecting productivity.