GCP Sizing


GCP Sizing

When deploying a self-managed deployment of the JFrog Platform on GCP, it is important to consider the hardware and sizing requirements to ensure optimal performance and scalability.

The following guidelines are recommended for sizing your GCP infrastructure.

Artifactory

NOTES:

  • Each Artifactory replica should run in its own instance (prefer a dedicated node pool)
  • The Nginx here refers to the instance bundled with Artifactory
    • Each Nginx replica should run in its own instance (prefer a dedicated node pool)
  • If using an ingress controller, you can omit the bundled Nginx, but should determine the appropriate number of ingress controller replicas for your deployment
    • If using an ingress controller
      • Set artifactory.ingress.enabled (or artifactory.artifactory.ingress.enabled when using the jfrog-platform chart) to true
      • Set artifactory.nginx.enabled (or artifactory.artifactory.nginx.enabled when using the jfrog-platform chart) to false
  • Distribution can run on the Artifactory nodes
Size TemplateSmallMediumLargeXLarge2XLarge
Number of Artifactory Replicas12346
Number of Nginx Replicas12223
Artifactory node pool instancen4-standard-8n4-standard-8n4-standard-16n4-standard-16n4-standard-8
CPU88161616
Memory3232646464
Nginx node pool instancec4d-highcpu-4c4d-highcpu-4c4d-highcpu-4c4d-highcpu-8c4d-highcpu-8
CPU44488
Memory8881616
Cloud SQL PostgreSQL instanceCustomCustomCustomCustomCustom
CPU816324864
Memory3264128192256
Max connections10020060020005000

Xray

NOTES:

  • Each Xray replica should run in its own instance (prefer a dedicated node pool)
  • Xray has HPA enabled, so more instances should be available if needed
  • If running JAS, it’s recommended to use a dedicated node pool for it to protect Xray and Artifactory pods
Size TemplateSmallMediumLargeXLarge2XLarge
Number of Xray Replicas12223
Number of RabbitMQ Replicas13333
Xray node pool instancec4d-highcpu-8n4-standard-8n4-standard-8n4-standard-8n4-standard-8
CPU88888
Memory1532323232
RabbitMQ node pool instancec4d-highcpu-4c4d-highcpu-4c4d-highcpu-4c4d-highcpu-4c4d-highcpu-4
CPU44444
Memory77777
JAS node pool instancen4-standard-8n4-standard-8n4-standard-8n4-standard-8n4-standard-8
CPU88888
Memory3232323232
PostgreSQL RDS instanceCustomCustomCustomCustomCustom
CPU48163248
Memory163264128192
Max connections20050060012002000

Storage

See Storage Specifications for details on storage requirements and recommendations.