Skip to content
freetier.wiki

Type at least 2 letters.

Enter to open · Esc to close

CodeBuild

CodeBuild includes 100 small EC2 build minutes and 6,000 eligible Lambda build seconds each month, and extra usage consumes Free account credits or incurs usage charges on Paid accounts.

AWS CodeBuild runs your build and test commands on managed build machines and produces deployable artifacts. It is for teams on AWS who do not want to run their own build servers.

By AWSDevOps & CIChecked ✓ 23 Nov 2026

Changed in Oct 2026: Scoped billing to account plans and optional project controls; corrected Free expiry to suspension with 90-day recovery.

Is it a fit?

Good fit

Use it when your code or deploys already live on AWS and you want builds without managing servers, with a small monthly amount of free build time.

  • AWS-based projects
  • teams that use CodePipeline
  • light CI with short builds

Not a fit

Skip it if you want builds that never cost money, or if you do not want an AWS account. Only 100 EC2 build minutes a month are free.

  • you need unlimited free builds
  • you do not want an AWS account with billing
  • you need Reserved Capacity or Sandbox for free

You create a build project in the AWS console and describe the build commands in a buildspec.yml file. You can also start builds from the AWS CLI, the AWS SDKs, or a CodePipeline stage.

What the free plan gives you

The CodeBuild free tier includes 100 total build minutes per month on the general1.small or arm1.small instance types, using on-demand Amazon EC2. With on-demand Lambda, it includes 6,000 total build seconds per month on the lambda.arm.1GB or lambda.x86-64.1GB compute types.

The free tier does not automatically expire at the end of the 12-month AWS Free Tier term. Reserved Capacity EC2, Sandbox, and the Docker image server do not have a free tier. The two free amounts are separate, one for EC2 builds and one for Lambda builds. The docs describe CodeBuild as a fully managed build service that compiles source code, runs unit tests, and produces artifacts ready to deploy.

When you hit a limit

CodeBuild uses pay-as-you-go pricing with no upfront costs or minimum fees. You pay for build duration at a rate that depends on the compute type. After service-free minutes, Free accounts consume credits; Paid accounts incur usage charges, subject to optional project controls.

The pricing page gives an example. If you run 100 builds of 5 minutes each on build.general1.small, that is 500 build minutes. Minus the 100 free minutes, 400 minutes are billable, which comes to $2.

Gotchas

  • A larger runner is not free. Only the small instance types and the 1GB Lambda types count toward the free tier.
  • The getting-started tutorial can create other resources, such as an S3 bucket and CloudWatch Logs, and the docs warn they may add charges.
  • AWS says most new customers can sign up without a payment method. A new account on the Free plan is suspended after 6 months or when its credits run out, unless you upgrade to a Paid plan; AWS retains the data for 90 days so you can upgrade and recover it.

Alternatives in this atlas

  • Cloud Build: when you build on Google Cloud instead of AWS.
  • GitLab CI/CD: when your code is on GitLab and you want CI in the same place.
  • CodePipeline: when you want to chain CodeBuild into a release pipeline on AWS.

Questions people ask

Is AWS CodeBuild free?

Partly. The free tier includes 100 build minutes per month on general1.small or arm1.small, plus 6,000 build seconds per month on the 1GB Lambda compute types. Extra usage consumes Free account credits or is billed on Paid accounts.

Does the CodeBuild free tier expire?

No. The pricing page says it does not automatically expire at the end of your 12-month AWS Free Tier term.

What happens when I use more than 100 CodeBuild minutes?

Extra minutes consume Free account credits or are billed on Paid accounts at the rate for your compute type. For example, 500 build minutes in a month leaves 400 billable minutes after the free 100.

How to get started

  1. Create an AWS account and sign in; use an IAM user rather than the root account.
  2. Put your source code and a `buildspec.yml` file in a repository, or in an Amazon S3 bucket.
  3. Open CodeBuild in the AWS console and create a build project that points to the source and the build environment.
  4. Choose the compute type; general1.small, arm1.small, or a 1GB Lambda type counts toward the free tier.
  5. Start a build and read the logs and output artifacts.
  6. Optional - run builds from the AWS CLI, an SDK, or as a stage in CodePipeline.

Other free devops & ci options

Same category, safest first.

CircleCI · DevOps & CI
30,000 credits per month (about 3,000 minutes on Linux Medium at 10 credits per minute) · Up to 5 active users · 30 concurrent job runs on Docker, Linux VM, Arm, and Windows; 1 on macOS
Billing risk: None
No card
Ethereal Email · DevOps & CI
Nothing is delivered to real inboxes; every message is caught · Public accounts can send up to 200 messages per hour · 100 MB of message storage per address
Billing risk: None
No card
Mailinator · DevOps & CI
Public inboxes, no signup required, temporary storage; inbox names up to 50 characters · Verified Pro ($0, with verification): 1 private domain, unlimited private inboxes, API access · Verified Pro: 10MB permanent storage; monthly email limit is 2K on the pricing page and 1K on the Verified Pro page; plan cards say 60 emails/day, detailed limits say 120 received messages/day
Billing risk: None
No card
StackBlitz · DevOps & CI
Unlimited public projects · Public GitHub repositories only · Up to 1MB of file uploads per project
Billing risk: None
No card