Hey everyone,
As of v0.2.102 of flyctl, you can now use Depot to build images for your apps! You can get started by running fly deploy --depot!
Why Use Depot?
Using Depot gives a few advantages over standard remote builders:
Depot’s build server software is optimized to build as fast as possible
Depot saves your build cache up to a certain size, then starts evicting the least used bits of that cache. That means builds will stay cached for much longer
Depot provides instant caching across builds, meaning that every build for your org will share cache layers when it can
In the future, Depot will have even more features supported:
Depot will support tiered caching, where parts of the cache are stored on the build machine’s SSD, and other parts are in Tigris object storage
Build machines will always launch in the region closest to the requesting user, so that transferring the build context stays fast
Do I need a Depot account?
Nope, you can get started right now! We create a Depot project and build for you, and then flyctl handles the rest!
Waiting for depot builder...
Error: failed to fetch an image or build from source: error building: input:3: ensureDepotRemoteBuilder {"code"=>"invalid_argument", "message"=>"Invalid region fly-gru"}
To clarify, is this running depot software on fly.io machines or is this using Depot’s infrastructure (similar to signing up for their cloud offering)?
Can you clarify what kind of data gets sent to Depot?
This is all running on Fly infrastructure. No customer-identifying data is sent to Depot.
Your Docker build context is sent through their proxy running on Fly, to builders in their Fly organization. Also, Depot instruments your builds, so Fly support can see details about your Dockerfile build steps, cache hits, etc.
In the current beta, there’s no limit, except that you’re limited to a single builder VM per Fly organization. Later on, we’ll charge for build minutes, but haven’t worked out the details there.
Given that builds are free today, it’s possible we’d introduce a build allowance. We’ll post more details here when we have them
Rather than a lot of waiting for the build to start, looks fast when it goes:
Waiting for depot builder...
Waiting for depot builder...
Waiting for depot builder...
Waiting for depot builder...
Waiting for depot builder...
Waiting for depot builder...
Waiting for depot builder...
Waiting for depot builder...
Waiting for depot builder...
Waiting for depot builder...
Waiting for depot builder...
Waiting for depot builder...
Waiting for depot builder...
Waiting for depot builder...
Waiting for depot builder...
Waiting for depot builder...
Waiting for depot builder...
Waiting for depot builder...
Waiting for depot builder...
Waiting for depot builder...
Waiting for depot builder...
Waiting for depot builder...
Waiting for depot builder...
Waiting for depot builder...
Waiting for depot builder...
Waiting for depot builder...
Waiting for depot builder...
Waiting for depot builder...
Waiting for depot builder...