High Availability
High Availability
For the highest availability and durability, the JFrog Platform services need to be deployed in a cluster mode, where each cluster member configured in a clustered environment will provide High Availability.
When running in a K8s environment, configure three instances of the Artifactory, Xray and Distribution services.
When adding additional cluster members, this provides horizontal scalability to this platform.
Ideally, the cluster members are deployed in three Availability zones as defined by the underlying Kubernetes cluster deployment.
The storage and database deployment is shared across all cluster members. Note that there should be separate deployment of a database instance for Artifactory and Xray.
Terraform Example
See an example in the JFrog Charts repository, for a Terraform configuration that creates the necessary AWS infrastructure and services required to run the JFrog Platform and follow the guidelines above.
In this example, if you choose the large sizing, it will create three instances of the Artifactory pod with anti-affinity between them, so they run on separate Kubernetes nodes.