How to only have one machine running at once?

fly m destroy <machine-id> -a <app-name> one of the two provisioned machines. Exercise caution as a machine once removed isn’t going to come back.

Understand that two machines are better than one. Rather than removing a machine, I’d wager one is better of using an orchestrator like Temporal and/or using SQS or Cloudflare Queues as event sources, assuming async processing is okay in this scenario.

Don’t think so. Something might be up with Fly but I can’t say for sure. I see a similar behaviour in my app, too.

3 Likes