Sizing On-Prem VMs from Concurrent Builds and Retention Days

User count alone does not size an on-prem CI/CD server. Peak concurrent builds set runner resources and artifact retention sets disk. Two teams with the same 100 users and 60 builds a day end up at 4 vs 16 vCPU and 560 vs 3,600 GiB.

John Baek
John Baek
Founder, CollabOps
2 min read

"We have 100 users. How big should the VMs be?" To fill in a server request, the infrastructure lead needs two more numbers. How many builds have to start at the same time during the busiest hour? And how many days later must you still be able to pull out a deployment file you built today?

On-prem CI/CD sizing is driven by peak concurrent builds and artifact retention days, not by user count. The first number sets runner CPU and memory; the second sets artifact disk.

Why would two teams with the same user count differ fourfold?

When concurrency and retention differ, runner resources can differ by four times and artifact disk by more than six times, even with identical headcount. The numbers below are an illustrative example.

Take two teams, each with 100 users and 60 builds a day. Team A runs two builds at once and keeps artifacts for 14 days. Team B has several maintenance projects whose scheduled releases all land on Friday, so it runs eight builds at once and keeps artifacts for 90 days. Each build gets 2 vCPU and 4 GiB of memory, and each build adds an average of 0.5 GiB of new artifacts.

Line itemTeam ATeam B
Control plane budget (web, API, DB), example12 vCPU / 24 GiB12 vCPU / 24 GiB
Concurrent jobs on build runners28
Total runner resources4 vCPU / 8 GiB16 vCPU / 32 GiB
One full set of retained artifacts60 × 0.5 × 14 = 420 GiB60 × 0.5 × 90 = 2,700 GiB
Capacity at a 75% target utilization560 GiB3,600 GiB

The 12 vCPU and 24 GiB for the control plane are held equal here on purpose. In a real quote, size them from the load when logins, Git fetches and deployment approvals pile up. If runners share nodes with the control plane, check that the approval screen still opens on time while the eighth build is starting. Kubernetes picks a node based on the CPU and memory a pod requests. Free capacity across the cluster doesn't help if no single node has room for one build.

What else belongs in the disk number?

The 2,700 GiB is one set of retained artifacts. On top of it, add the Git repositories and database, runner scratch space, backups and storage replicas, each according to its own retention and replication policy. Conversely, if artifacts live in external object storage, there's no reason to count those 2,700 GiB again on the VMs' local disks. How replicas and snapshots inflate real usage is worked out separately in sizing replicated block storage.

What should the quote actually say?

The sentence the quote should carry is more specific than "a server for 100 users": "Sized for 60 builds a day, 8 concurrent at peak, 0.5 GiB net per build, 90-day retention." Next quarter, that sentence lets you recompute whether you need only more disk or more runners too.

The reasoning behind our minimum install spec is in minimum requirements to deploy anywhere. Put these two numbers on top of that baseline and each organization gets its own quote.

  • #on-prem
  • #infrastructure
  • #capacity-planning
  • #cicd
  • #cost