Menu
AWS CodeBuild
User Guide (API Version 2016-10-06)

What Is AWS CodeBuild?

AWS CodeBuild is a fully managed build service in the cloud. AWS CodeBuild compiles your source code, runs unit tests, and produces artifacts that are ready to deploy. AWS CodeBuild eliminates the need to provision, manage, and scale your own build servers. It provides prepackaged build environments for the most popular programming languages and build tools such as Apache Maven, Gradle, and more. You can also customize build environments in AWS CodeBuild to use your own build tools. AWS CodeBuild scales automatically to meet peak build requests.

AWS CodeBuild provides these benefits:

  • Fully managed – AWS CodeBuild eliminates the need to set up, patch, update, and manage your own build servers.

  • On demand – AWS CodeBuild scales on demand to meet your build needs. You pay only for the number of build minutes you consume.

  • Out of the box – AWS CodeBuild provides preconfigured build environments for the most popular programming languages. All you need to do is point to your build script to start your first build.

For more information, see AWS CodeBuild.

How to Run AWS CodeBuild

You can run AWS CodeBuild by using the AWS CodeBuild or AWS CodePipeline console. You can also automate the running of AWS CodeBuild by using the AWS Command Line Interface (AWS CLI) or the AWS SDKs.

To run AWS CodeBuild by using the AWS CodeBuild console, AWS CLI, AWS SDKs, see Run AWS CodeBuild Directly.

As the following diagram shows, you can add AWS CodeBuild as a build or test action to the build or test stage of a pipeline in AWS CodePipeline. AWS CodePipeline is a continuous delivery service that enables you to model, visualize, and automate the steps required to release your code. This includes building your code. A pipeline is a workflow construct that describes how code changes go through a release process.

To use AWS CodePipeline to create a pipeline and then add an AWS CodeBuild build or test action, see Use AWS CodePipeline with AWS CodeBuild. For more information about AWS CodePipeline, see the AWS CodePipeline User Guide.

Pricing for AWS CodeBuild

For information, see AWS CodeBuild Pricing.

How Do I Get Started with AWS CodeBuild?

We recommend that you complete the following steps:

  1. Learn more about AWS CodeBuild by reading the information in Concepts.

  2. Experiment with AWS CodeBuild in an example scenario by following the instructions in Getting Started.

  3. Use AWS CodeBuild in your own scenarios by following the instructions in Plan a Build.