# Standby machine: what happens to the original machine when its host recovers after failover?

**URL:** <https://community.fly.io/t/standby-machine-what-happens-to-the-original-machine-when-its-host-recovers-after-failover/27995>\
**Category:** Questions / Help\
**Tags:** machines\
**Created:** [June 2, 2026, 9:01am UTC](https://community.fly.io/t/standby-machine-what-happens-to-the-original-machine-when-its-host-recovers-after-failover/27995 "2026-06-02T09:01:05Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![flyio-support](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/flyio-support/32/46245_2.png) [@flyio-support](https://community.fly.io/u/flyio-support)\
**Post date:** [June 2, 2026, 9:28pm UTC](https://community.fly.io/t/standby-machine-what-happens-to-the-original-machine-when-its-host-recovers-after-failover/27995/4 "2026-06-02T21:28:52Z")

</div>

Hi Hauk,

Given your “exactly one” requirements, your best bet would be to not use the standby machine (here’s how to remove it: [https://fly.io/docs/apps/app-availability/#standby-machines-for-process-groups-without-services](https://fly.io/docs/apps/app-availability/#standby-machines-for-process-groups-without-services)). Instead, for resiliency (which I bet is also important), start two Fly machines, both live and running Redis, and set Redis up in a replica configuration. I don’t know if replica support is still behind Enterprise on Redis proper, but if it is, you can use Valkey where replicas are available out of the box.

The standby Fly machine will start if the primary’s host becomes unreachable due to hardware or network failure. Crucially it will _not_ start if your _machine_ itself becomes unavailable e.g. because it got stopped or destroyed.

If the host then returns from the dead, the standby machine will stop by itself after a relatively long period (I think it’s one hour).

> If two can run at once, what’s the recommended way to enforce single-instance

You can always e.g. wrap Redis startup in some kind of shell script that ensures there’s no other instance running, but in general, this is handled at the application layer, not as a Fly platform feature.

---

_[View the full topic](https://community.fly.io/t/standby-machine-what-happens-to-the-original-machine-when-its-host-recovers-after-failover/27995)._
