Softwr
AWS CodeBuild logo

AWS CodeBuild

Pay-per-minute managed build service for compiling, testing and packaging code

AWS CodeBuild starts at $0.005/minute. AWS CodeBuild runs builds and tests on managed compute you pay for by the minute. Softwr lists it under Developer Tools. AWS CodeBuild is made by Amazon Web Services, available on Web, Linux, Windows.

Overview

What is AWS CodeBuild?

AWS CodeBuild is a managed build service. It runs build jobs defined in a buildspec file in container environments, on EC2 or Lambda compute, and scales to run many builds in parallel. It reads from CodeCommit, GitHub, Bitbucket and S3 sources, pushes artefacts to S3 or container images to ECR, and is normally invoked from AWS CodePipeline or directly from a repository webhook. It also supports running GitHub Actions workflows on CodeBuild-managed runners. Billing is per build minute and depends on instance size. From the AWS page, Linux general1.small is $0.005 per minute, general1.medium $0.01, general1.large $0.02, and general1.2xlarge $0.20; Arm instances are cheaper (arm1.small $0.0034) and GPU instances are priced higher (gpu1.large $0.30). Lambda compute is billed per second, from $0.00001 to $0.0002 depending on memory and architecture. The free tier is 100 build minutes a month on general1.small or arm1.small. Reserved capacity fleets are available for faster starts. It suits AWS teams that want ephemeral builds with IAM-scoped access to their cloud resources. The trade-off is that each build starts a fresh environment, so caching must be configured explicitly, and tools that bundle repository, pipeline and runners together are simpler for small teams.

What people use it for

  • Building and pushing container images to Amazon ECR from a CodePipeline stage
  • Running unit tests in parallel across many ephemeral containers
  • Self-hosted GitHub Actions runners that need IAM access to AWS resources
  • Compiling for Arm using cheaper Graviton-based build instances

The honest half

Where does AWS CodeBuild fall short?

The limits buyers hit most with AWS CodeBuild: billing is rounded per minute on EC2 compute, so many short jobs cost more than their actual run time suggests; and there is no built-in repository, pipeline UI or code review, so you need CodePipeline or a third-party system to trigger and track releases. Each is concrete and checkable: the half of a review a vendor will not write.

  • Each build starts from a clean environment, so dependency installs and image pulls repeat unless caching is configured, which inflates build minutes.
  • Billing is rounded per minute on EC2 compute, so many short jobs cost more than their actual run time suggests.
  • There is no built-in repository, pipeline UI or code review, so you need CodePipeline or a third-party system to trigger and track releases.
  • Windows and larger instance types cost several times the Linux small rate, and the pricing table has dozens of instance rows to compare.
  • Debugging a failed build is slower than on a local runner because you rely on logs or session manager rather than a persistent machine.

Cross-shopped

What are the alternatives to AWS CodeBuild?

The closest alternatives to AWS CodeBuild are GitHub Actions, CircleCI and Buildkite. Each is a tool buyers genuinely weigh against it, with the reason why.

Pricing

How much does AWS CodeBuild cost?

AWS CodeBuild starts at $0.005/mo, across 3 plans. Taken from the vendor's own pricing page; prices move, so check before you buy.

Linux general1.small

$0.005 /minute

  • 3 GB memory, 2 vCPUs
  • 100 free build minutes per month on general1.small or arm1.small

Linux general1.large

$0.02 /minute

  • 15 GB memory, 8 vCPUs
  • general1.2xlarge is $0.20 per minute

Lambda compute

$0 /second

  • Billed per second from $0.00001 (1 GB Arm) to $0.0002 (10 GB x86-64)
  • Suited to short builds

Capabilities

What can AWS CodeBuild do?

AWS CodeBuild lists 6 features, including managed build environments; lambda and EC2 compute; and reserved capacity.

  • Managed build environments

    Prebuilt Docker images for common languages or your own custom image

  • Lambda and EC2 compute

    Choose Lambda for fast short builds or EC2 for larger and GPU workloads

  • Reserved capacity

    Fleets of pre-provisioned instances to cut start-up time

  • Buildspec files

    Define build phases, environment variables and artefacts in YAML

  • Caching

    Local and S3 caching for dependencies and Docker layers

  • GitHub Actions runners

    Run GitHub Actions jobs on CodeBuild compute

Answered, with sources

Questions people ask

Each answer names the page it came from, so you can check it rather than take our word for it.

How much does CodeBuild cost?

Linux general1.small is $0.005 per build minute, general1.medium $0.01 and general1.large $0.02, per the AWS pricing page. 100 build minutes per month on small instances are free.

Does CodeBuild replace Jenkins?

It replaces the build agents, not the orchestration. You still need CodePipeline, webhooks or another trigger for pipeline logic.

Can CodeBuild run GitHub Actions?

Yes. CodeBuild can act as managed runners for GitHub Actions workflows, billed at CodeBuild compute rates.

Share

Keep looking

Where to go from AWS CodeBuild

Best Developer Tools software for

Compare AWS CodeBuild with

Other Developer Tools software

  • CI/CD pipelines that run on your own compute

    Free, then $30/mo12 researched notes
  • Kubernetes development and testing automation with shared caching, now owned by Incredibuild

    Open source14 researched notes
  • Local cloud emulator that runs AWS and Snowflake services in a container

    Free, then $39/mo11 researched notes
  • Hosted and self-hosted CI/CD driven by a .travis.yml file, with credit-based or unlimited plans

    From $15/mo12 researched notes
  • Metalinter that runs and manages linters, formatters and security scanners

    Free plan13 researched notes
  • Automatically build, test, deploy, and monitor your applications with GitLab CI/CD

    Free plan12 researched notes
  • Multi-language build system with fast, correct incremental builds

    Free plan11 researched notes
  • Cloud-based builds and CI runs 55x faster with less cost

    Free, then $20/mo13 researched notes
  • Distributed CI and remote caching for monorepo teams

    Free, then $29/mo12 researched notes
  • Local Kubernetes development loop that rebuilds and live-updates containers on save

    Open source15 researched notes
  • Open source build and dependency management tool for Java projects

    Free plan12 researched notes
  • Serverless compute on Cloudflare's network, free to start and $5 a month minimum on the paid plan

    Free plan11 researched notes
  • AI-powered memory layer that captures and organizes developer work

    Free, then $18.99/mo13 researched notes
  • RStudio IDE and Posit commercial products for R and Python data science teams

    Pricing on request12 researched notes
  • Native HTTP debugging proxy for macOS, Windows and Linux with iOS and Android apps

    From $89/one-time12 researched notes
  • Code quality and coverage platform for pull requests, spun out of Code Climate

    Free, then $20/mo12 researched notes
  • JetBrains IDE for Ruby and Ruby on Rails development

    From $24/mo10 researched notes
  • Artifact repository manager for packages, containers and build outputs

    Free, then $7,500/yr10 researched notes

Softwr does not host reviews and shows no star rating for AWS CodeBuild, because a rating we did not collect is not ours to publish. What is here is the pricing and platform detail from the vendor’s own pages, limitations we could state concretely, and alternatives a reviewer confirmed people weigh against it. Tell us if any of it is wrong.

More on AWS CodeBuild

Amazon Web Services (AWS) logo
More from Amazon Web Services (AWS)

All 67 Amazon Web Services (AWS) products
  • AWS CDK logo

    AWS CDK

    Open source framework for defining AWS infrastructure in programming languages

  • AWS CodePipeline logo

    AWS CodePipeline

    Managed release pipelines on AWS billed per active pipeline or per action minute

  • Kiro logo

    Kiro

    AWS agentic IDE and CLI built around spec-driven development

  • Amazon Athena logo

    Amazon Athena

    Serverless SQL over data in S3, charged per terabyte scanned

  • Amazon Aurora logo

    Amazon Aurora

    MySQL and PostgreSQL-compatible relational database built for the cloud

  • Amazon Bedrock logo

    Amazon Bedrock

    AWS managed service for building generative AI applications and agents

  • Amazon CloudFront logo

    Amazon CloudFront

    AWS content delivery network with flat-rate and pay-as-you-go pricing

  • Amazon Cognito logo

    Amazon Cognito

    AWS customer identity service for sign-in, federation and access tokens, priced per active user

  • Amazon Comprehend logo

    Amazon Comprehend

    Text analysis API for entities, sentiment, key phrases, PII and custom classifiers