Down

When a node dies: designing for instance failure

Instances die: hardware fails, a deploy goes wrong, a cloud provider retires a host. Good designs assume it will happen and keep serving when it does.

What causes it

A single instance is a single point of failure. When it stops, every request in flight on it fails, and every new request sent to it is refused. Whether users notice depends entirely on what sits in front: a health-checked load balancer routes around the dead node within one decision; a direct connection just fails.

How to recognise it

How to fix it

Reproduce it in the simulator

These templates trigger this failure on purpose:

Open the simulator

Learn more

Part of the guide Load balancing and capacity planning.

Related failure modes