Cloud Build
Cloud Build includes 2,500 e2-standard-2 build minutes per month in the default pool with a Cloud Billing account, and additional minutes on that machine type cost $0.006 each.
Google Cloud Build runs your builds, tests, and deploys on Google-managed machines, so you do not run build servers yourself.
By Google CloudDevOps & CIChecked ✓ 23 Nov 2026
Is it a fit?
Good fit
Use Cloud Build for CI/CD when your code, images, or deploys already live on Google Cloud and you want builds without running servers.
- Google Cloud users
- container image builds
- deploys to Cloud Run or GKE
Not a fit
Avoid it if you need more than the free build-minutes on a tight budget, need to avoid billing setup, or must build on your own hardware.
- you cannot enable billing on a project
- you need unlimited free builds
- builds must run on-premises only
You drive Cloud Build from the Google Cloud console or the gcloud command line. Each build is a list of steps, such as building a Docker image, and it fits teams that already use Google Cloud.
What the free plan gives you
Each billing account gets 2,500 free build-minutes per month. The pricing page says this promotional free tier covers the e2-standard-2 machine type in the default pool, and that the limit can change. The product page adds that up to 10 concurrent builds are included. Time spent waiting in the queue does not count as build time.
You can also ask for extra SSD storage for the build machine. The first 100GB is free. Every other machine type, and every private pool, has a per-minute price with no free minutes.
When you hit a limit
On a Paid Cloud Billing account, Cloud Build does not stop your builds when the free minutes run out. It keeps building and bills the account for the extra minutes. A Free Trial account instead uses its trial credit and closes when that credit or the trial period ends unless you upgrade. On e2-standard-2 the price is $0.006 per minute. Partial minutes are billed by the second.
Network egress is charged at standard rates. Overage is billed to the billing account, so watch your Google Cloud billing for runaway builds.
Gotchas
- The free tier is called promotional and the pricing page says the limit is subject to change, so check the page before you rely on the number.
- The free minutes only apply to
e2-standard-2in the default pool. Bigger or other machine types are billed from the first minute. - The quickstart requires billing and appropriate IAM roles for the build service account. Artifact Registry image storage, logs, and other resources have their own billing rules; the build-minute allowance does not cover all deployment costs.
Alternatives in this atlas
- GitHub Actions: when your code is on GitHub and you want CI without a cloud billing account.
- Buildkite: when you want to run builds on your own agents.
- Appveyor: when you build open-source projects and want a simple hosted CI.
Questions people ask
Is Google Cloud Build free?
Partly. Each billing account gets 2,500 free build-minutes per month on e2-standard-2 machines. Minutes beyond that are billed.
What happens when I go over the Cloud Build free minutes?
On a Paid Cloud Billing account, builds keep running and Google charges for excess usage. The pricing page lists $0.006 per minute for e2-standard-2.
Does Cloud Build need a credit card?
The quickstart requires a project with billing enabled. Google Cloud trial signup accepts a credit card or other valid payment method.
How to get started
- Sign in to Google Cloud and create or pick a project.
- Check that billing is enabled for the project.
- Enable the Cloud Build, Compute Engine, and Artifact Registry APIs.
- Install the Google Cloud CLI.
- Create a Docker repository in Artifact Registry and add a Dockerfile or a cloudbuild.yaml to your source folder.
- Run `gcloud builds submit` with your region and either an image tag for the Dockerfile workflow or the config path for the YAML workflow, then read the result in the console.
Other free devops & ci options
Same category, safest first.