New guide: Managing Machines with the Machines API

Want to manage Fly Machines from your own code instead of the CLI? We’ve published a new guide for that.

Whether you’re building a platform on top of Fly.io, automating deployments, or just want more control over how your Machines are created and configured, this guide walks through the patterns and gotchas we’ve seen come up most often in Solutions Architecture sessions and support chats.

This new guide includes practical patterns for creating, configuring, and updating Machines through the REST API, including service setup, autostop/autostart, background work, and what to watch out for.

Let us know if it’s useful, what’s unclear, and what else you’d like to see covered.

2 Likes