# Replicas & failover

A step of the [Cloud application](https://gradus.kazet.blog/tree/cloud-application) tree on Gradus, in the Data & storage area: DB, cache, queues.

Page: https://gradus.kazet.blog/tree/cloud-application/step/replicas-and-failover

Add a read replica for heavy reads and automatic failover so the loss of one database node is not an outage.

Usually comes after: [Backups & recovery](https://gradus.kazet.blog/tree/cloud-application/step/backups-and-recovery).

## Prompt for your AI assistant

```
Add a read replica for the primary database, route read-heavy queries to it and configure automatic failover with a documented recovery time.
```

Every step of the tree: https://gradus.kazet.blog/tree/cloud-application/llms.txt
