From c7d0822285a5f3dfdfafcfb460a67a5c8e862ccb Mon Sep 17 00:00:00 2001 From: Kaelyn Date: Thu, 16 Jan 2025 11:10:33 -0800 Subject: [PATCH] Add a warning message to min_machines_running --- launch/autostop-autostart.html.markerb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/launch/autostop-autostart.html.markerb b/launch/autostop-autostart.html.markerb index 009e3f8c5d..a6d75eb0de 100644 --- a/launch/autostop-autostart.html.markerb +++ b/launch/autostop-autostart.html.markerb @@ -6,7 +6,6 @@ redirect_from: - /docs/apps/autostart-stop/ - /docs/launch/autostart-stop/ --- - Your app can meet peak demand without keeping extra Machines running. Use autostop/autostart to automatically start and stop or suspend existing Machines based on incoming requests. Fly Machines are fast to start and stop, and you [don't pay for their CPU and RAM](/docs/about/pricing/#stopped-fly-machines) when they're in a `stopped` or `suspended` state. Get all the details of [how Fly Proxy autostop/autostart works](/docs/reference/fly-proxy-autostop-autostart/). @@ -52,6 +51,10 @@ In general, unless your app shuts itself down when idle, we recommend setting `a To keep one or more Machines running all the time in your primary region, set `min_machines_running` to `1` or higher. If `min_machines_running = 1` and there's no traffic to your app, then Fly Proxy will stop Machines until eventually there is only one Machine running in your primary region. `min_machines_running` has no effect unless you set `auto_stop_machines` to `"stop"` or `"suspend"`. +
+**`min_machines_running`:** This setting only maintains the specified minimum number of running Machines in your app's primary region. It has no effect on other regions where your app is deployed. If you need to maintain minimum running Machines in multiple regions, you'll need to manage those separately through other means like [`fly scale count`](https://fly.io/docs/flyctl/scale-count/#main-content-start). +
+ ### Maximum number of Machines running There's no "maximum machines running" setting, because the maximum number of Machines is the total number of Machines in your app.