GCP
Connect your GCP project to WarpBuild to run Github Actions runners. Enable Github Actions workflows to run on your own infrastructure and save 90% on your build costs.
Quotas
The runner resources are created in the BYOC GCP project. To function correctly,
here are some guidelines on the additional
quotas required, per stack.
We assume that the number of concurrently running jobs is $CON
, say 1000.
Resource | Quota | Notes | URL |
---|---|---|---|
CPU | $CON * vCPU per Job | Adjust for machine type, preemptible, and on-demand instances | Adjust Quota |
Persistent Disks | $CON * DISK_TB | Adjust provisioned IOPS if needed. | Adjust Quota |
In-use regional external IPv4 addresses | 3 + $CON | 1 static IP is required for cloud NAT in a stack. One static IP is attached to each concurrently running job. | Adjust Quota |
Cloud Storage | 1 | The same bucket is used for artifact cache, container layer caches, and telemetry data. | Adjust Quota |
Cloud NAT | 3 | One per stack | Adjust Quota |
Networks | 1 | One Network (VPC) is needed | Adjust Quota |
Subnetworks | 2 | One public and private subnetwork is needed per stack. | Adjust Quota |
The quotas need to be applied to the region where the stack is created. Change the region in the GCP console while editing the quotas.
This is not an exhaustive list. Please reach out to [email protected] for any questions or reach out on chat.