Cloud Active/Active High Availability
When Sonatype Nexus Repository is mission-critical, an active/active high availability deployment pattern can help you maximize uptime and minimize data loss in the event of node or availability zone failure.
Combines With
- Federated Repositories
- Star Pattern
- Ensure you have perfected the Backup/Same-Site Restore pattern before combining it with more advanced patterns like this one
Problems Addressed
- Scalability
- Provides high availability
Prerequisites
- Sonatype Nexus Repository Pro
- Cloud PostgreSQL cluster
- Shared blob storage (AWS S3/Azure blob store)
Factors to Consider
HA is an advanced feature that requires careful consideration. Consider the following points before deploying to an HA environment:
- Containerized and cloud HA deployments require using several advanced technologies (e.g., Kubernetes, cloud technologies) outside the Sonatype Suite's scope. You should ensure that you have in-house expertise in these technologies before attempting an HA deployment.
- HA requires additional infrastructure and maintenance overhead (See Sonatype Nexus Repository High Availability Performance Data). Deploying HA without a strong need or use case may not yield your desired return on investment.
Sonatype Nexus Repository High Availability deployments should be fully deployed and tested in a development environment before attempting to deploy in production. Improper deployment in a production environment can result in critical data loss.
Available Resources
We have the following comprehensive help topics and sample files to help implement this pattern: