# Cloud Active/Passive Resiliency

Active/Passive resiliency patterns with automatic recovery mechanisms like Kubernetes allow you to accomplish automatic failover without manual intervention in the event of node or availability zone failure.

|     |
| --- |
|  |

## Combines With

- [Federated Repositories](https://help.sonatype.com/en/federated-repositories.html "Federated Repositories")
- [Star Pattern](https://help.sonatype.com/en/star-pattern.html "Star Pattern")
- Ensure you have perfected the [Backup/Same-Site Restore](https://help.sonatype.com/en/backup-same-site-restore.html "Backup/Same-Site Restore") pattern before combining it with more advanced patterns like this one

## Problems Addressed

- Automatic recovery from application node failure
- Availability zone outages

## Prerequisites

- Requires external PostgreSQL database
- Shared storage (AWS S3/Azure blob stores)

## Factors to Consider

- Failover can take up to 10 minutes

## Available Resources

We have the following comprehensive help topics and sample files to help implement this pattern:

- [Resiliency and High Availability](https://help.sonatype.com/en/resiliency-and-high-availability.html "Resiliency")
