Hi Fly Team,
I need clarification on how Machine configuration interacts with fly.toml during deployments.
Here is my scenario:
-
I initially deployed my app it has cpus = 1 and auto_stop_machines = “stop” in fly.toml.
-
Later, I manually updated my running machine using the Fly dashboard (UI) to:
CPU = 2
Autostop = off (with command)
-
I did not update the fly.toml in my repo.
-
The next day, I deployed a code change using fly deploy, and I noticed that the machine reverted back to:
-
CPU = 1
-
autostop = “stop”
-
My questions:
-
Does fly deploy always override manual machine changes (CPU/RAM/autostop) with the values defined in fly.toml?
-
Are machine-specific overrides (e.g., changing CPU in UI or via fly machine update) intended to be temporary unless updated in fly.toml?
-
If I add additional machines in different regions, do I need to update fly.toml? Is yes how can I get that config?
-
Is fly.toml considered the single source of truth for machine configuration during deployments?
Just want to confirm the expected and correct behavior so I can set up my deployment workflow properly.
Thanks!
, but a person needs to do their own orchestration if they want that (which is conveniently covered at the end of the official