Performing remote builds without wireguard

Context

Remote builds for deploymemts are conducted by your free-builder over a wireguard tunnel, by default.

But sometimes, connectivity between flyctl and your builder breaks down due to communication issues over wireguard and this prevents you from deploying your apps. The most common way this manifests itself is through an uptick in remote builder heartbeart errors.

To remedy this situation, we’ve added a flag that allows you to perform deployments without wireguard.

Usage

fly deploy --wg=false

When to use

Anytime, really. However an uptick in remote builder heartbeat errors is a good indicator to use this flag.

4 Likes