AWS CodeBuild
Managed build service that compiles code, runs tests and produces artefacts in containers.
100 build minutes per month
Build minutes (EC2 small)
Resets monthly
6,000 build seconds per month
Build seconds (Lambda 1 GB)
Resets monthly
- Card required
- Yes
- Commercial use
- Yes
- Custom domain
- Not applicable
- Over the limit
- Bills you
Free limits
| Resource | Free amount | Resets | Type | Source |
|---|---|---|---|---|
| Build minutes (EC2 small) | 100 build minutes per month | Monthly | Always free | aws.amazon.com · Verified 17 Nov 2026 |
| Build seconds (Lambda 1 GB) | 6,000 build seconds per month | Monthly | Always free | aws.amazon.com · Verified 17 Nov 2026 |
If you go over
Bills you. See the gotchas below for the details.
How it works
CodeBuild runs the commands in a buildspec.yml file inside a fresh container for each build, then stores artefacts or reports. It can be triggered from GitHub, GitLab, Bitbucket or CodePipeline.
What you can build
- Running tests on every pull request
- Building Docker images
- Packaging and deploying a site to S3
Gotchas
- Only the general1.small, arm1.small and 1 GB Lambda compute types are covered.
- Reserved capacity, sandboxes and the Docker image server have no free tier.
- On the Free plan, usage beyond the allowance comes out of your credits; on the Paid plan it is billed at normal rates.
- AWS asks for a payment method at sign-up and holds USD $1 for a few days to verify the account.