Demo, all content is generated
Question

Fly.io machine stops anyway even with min_machines_running = 1

Open · 71 views · asked by kaito · edited

My fly.toml:

[http_service]
  internal_port = 8080
  auto_stop_machines = "stop"
  auto_start_machines = true
  min_machines_running = 1

I have 2 machines (one in ams, one in fra). Both go to "stopped" at night and the first request takes 3 seconds. I thought min 1 means one always stays up?

What I’ve tried

Redeployed with fly deploy, checked fly status, both machines show stopped after about 10 minutes idle.

Comment
What is primary_region in your fly.toml? I remember min_machines_running only counts machines in the primary region, but I haven't verified that recently. henrik_l · edited

Activity

20 helpers notified