← All AWS pricing calculators

CodeBuild Pricing Calculator - EC2, Lambda, Docker & Sandbox

CodeBuild pricing calculator supporting On-Demand EC2, Lambda, Docker Image Server, and Sandbox builds. Compare compute types, estimate usage costs, and find the most cost-effective build configuration across all AWS regions.

Reference prices

Example monthly cost in US East (N. Virginia)

500 builds a month of 10 minutes each on Linux general1.medium CodeBuild on-demand EC2 compute, priced by this calculator at AWS list prices.

Estimated total: $50.00 per month

BreakdownMonthly cost
Cost per 500 builds @ 10 min (5,000 min)$50.00
↳ general1.medium @ $0.01/min$50.00

Priced on 15 Oct 2026 from CloudBurn's AWS price data. Prices in USD, excluding tax.

Free price alerts · Platform launching early 2027

Get an email when CodeBuild prices change

CloudBurn re-checks AWS prices every week and emails you when a price behind this calculator changes.

Waitlist form loading.

30% founding-member discount

Only waitlist members get it. Join now and keep 30% off for as long as you keep your plan.

Alert emails only arrive when a price changes; the waitlist sends two a month at most. Unsubscribe anytime. Privacy policy

Tick the box to also save your spot on CloudBurn Platform:

  • Price your whole stack in minutesThe AWS Simple Pricing Calculator puts CodeBuild and the rest of your AWS services in one estimate, ready to export.
  • Know the cost before you deployThe GitHub App estimates what your Terraform, CDK or CloudFormation changes will cost before they ship.
  • Find the waste, then fix itScans of your live AWS accounts show what is costing money for nothing, with clear steps to fix each finding.

Frequently Asked Questions

What's the difference between EC2 and Lambda builds?

EC2 builds are charged per minute (rounded up to the nearest minute) and offer more compute options including Windows and GPU. Lambda builds are charged per second with sub-second billing, making them ideal for short, infrequent builds. Lambda also offers lower minimum costs for quick builds.

What is Docker Image Server and when should I use it?

Docker Image Server provides a persistent Docker daemon that maintains a shared layer cache across builds. AWS benchmarks show it can reduce Docker image build times by up to 98%. Use it when you have frequent Docker builds that share common base images or layers.

What is CodeBuild Sandbox?

Sandbox provides an interactive development environment for debugging and testing buildspecs. It's billed per second from when you start the sandbox until you terminate it. Ideal for troubleshooting build issues without repeatedly triggering full builds.

How much can I save with ARM/Graviton builds?

ARM (Graviton) builds are ~32% cheaper than x86 for EC2 builds and 50% cheaper for Lambda builds. If your build tools and dependencies support ARM, switching architectures is one of the easiest ways to reduce CI/CD costs with no code changes required.

Are there additional charges for CodeBuild?

Yes, you may incur additional charges for S3 build artifact storage, CloudWatch Logs, and data transfer. Use our S3 Cost Calculator to estimate artifact storage costs. VPC-connected builds may also incur NAT Gateway or VPC endpoint charges.