Need advice about which tool to choose?Ask the StackShare community!

AWS CodeBuild

332
378
+ 1
39
AWS CodeDeploy

346
499
+ 1
38
Add tool

AWS CodeBuild vs AWS CodeDeploy: What are the differences?

AWS CodeBuild: Build and test code with continuous scaling. AWS CodeBuild is a fully managed build service that compiles source code, runs tests, and produces software packages that are ready to deploy. With CodeBuild, you don’t need to provision, manage, and scale your own build servers; AWS CodeDeploy: Coordinate application deployments to Amazon EC2 instances. AWS CodeDeploy is a service that automates code deployments to Amazon EC2 instances. AWS CodeDeploy makes it easier for you to rapidly release new features, helps you avoid downtime during deployment, and handles the complexity of updating your applications.

AWS CodeBuild belongs to "Continuous Integration" category of the tech stack, while AWS CodeDeploy can be primarily classified under "Deployment as a Service".

Some of the features offered by AWS CodeBuild are:

  • Fully Managed Build Service
  • Continuous Scaling
  • Enables Continuous Integration

On the other hand, AWS CodeDeploy provides the following key features:

  • AWS CodeDeploy fully automates your code deployments, allowing you to deploy reliably and rapidly
  • AWS CodeDeploy helps maximize your application availability by performing rolling updates across your Amazon EC2 instances and tracking application health according to configurable rules
  • AWS CodeDeploy allows you to easily launch and track the status of your deployments through the AWS Management Console or the AWS CLI

"Pay per minute" is the primary reason why developers consider AWS CodeBuild over the competitors, whereas "Automates code deployments" was stated as the key factor in picking AWS CodeDeploy.

According to the StackShare community, AWS CodeDeploy has a broader approval, being mentioned in 58 company stacks & 15 developers stacks; compared to AWS CodeBuild, which is listed in 21 company stacks and 14 developer stacks.

Decisions about AWS CodeBuild and AWS CodeDeploy
Arthur Boghossian
DevOps Engineer at PlayAsYouGo · | 2 upvotes · 25.4K views

We will use AWS CloudFormation, as it is ideal for deploying and replicating infrastructure as code. Amazon CloudWatch Events will be used to send info based on the trigger that initiated the event to developers using Amazon SNS. Amazon SNS will also be used in the AWS CodePipeline after the application has been tested and deployed successfully to the development environment, notifying users to approve the application before it can be deployed to a production environment. AWS CodeBuild will be used for running tests on the application and AWS CodeDeploy will be used to deploy the application to Lambda and Alexa Skills Kit. AWS CodePipeline is a service that will organize the steps taken (building/testing and deployment) when code is pushed to the master branch in our source repository in Github.

See more
Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of AWS CodeBuild
Pros of AWS CodeDeploy
  • 7
    Pay per minute
  • 4
    Parameter Store integration for passing secrets
  • 4
    Integrated with AWS
  • 3
    Bit bucket integration
  • 2
    Streaming logs to Amazon CloudWatch
  • 2
    GitHub Webhooks support
  • 1
    Jenkins plugin integration
  • 1
    Ondemand scaling of build jobs
  • 1
    Scheduled builds with CloudWatch Events integration
  • 1
    Local build debug support
  • 1
    AWS Config and Config rule integration for compliance
  • 1
    VPC PrivateLinks to invoke service without internet
  • 1
    Docker based build environment
  • 1
    Support for bringing custom Docker images
  • 1
    Fully managed (no installation/updates, servers to mai
  • 1
    PCI, SOC, ISO, HIPAA compliant
  • 1
    Full API/SDKs/CLI support
  • 1
    YAML based configuration
  • 1
    Great support (forums, premium support, SO, GitHub)
  • 1
    Perpetual free tier option (100 mins/month)
  • 1
    Native support for accessing Amazon VPC resources
  • 1
    GitHub Enterprise support
  • 1
    Windows/.NET support
  • 0
    G
  • 17
    Automates code deployments
  • 9
    Backed by Amazon
  • 7
    Adds autoscaling lifecycle hooks
  • 5
    Git integration

Sign up to add or upvote prosMake informed product decisions

Cons of AWS CodeBuild
Cons of AWS CodeDeploy
  • 1
    Poor branch support
    Be the first to leave a con

    Sign up to add or upvote consMake informed product decisions

    What is AWS CodeBuild?

    AWS CodeBuild is a fully managed build service that compiles source code, runs tests, and produces software packages that are ready to deploy. With CodeBuild, you don’t need to provision, manage, and scale your own build servers.

    What is AWS CodeDeploy?

    AWS CodeDeploy is a service that automates code deployments to Amazon EC2 instances. AWS CodeDeploy makes it easier for you to rapidly release new features, helps you avoid downtime during deployment, and handles the complexity of updating your applications.

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use AWS CodeBuild?
    What companies use AWS CodeDeploy?
    See which teams inside your own company are using AWS CodeBuild or AWS CodeDeploy.
    Sign up for Private StackShareLearn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with AWS CodeBuild?
    What tools integrate with AWS CodeDeploy?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    Blog Posts

    What are some alternatives to AWS CodeBuild and AWS CodeDeploy?
    Jenkins
    In a nutshell Jenkins CI is the leading open-source continuous integration server. Built with Java, it provides over 300 plugins to support building and testing virtually any project.
    AWS CodePipeline
    CodePipeline builds, tests, and deploys your code every time there is a code change, based on the release process models you define.
    Apache Maven
    Maven allows a project to build using its project object model (POM) and a set of plugins that are shared by all projects using Maven, providing a uniform build system. Once you familiarize yourself with how one Maven project builds you automatically know how all Maven projects build saving you immense amounts of time when trying to navigate many projects.
    GitLab CI
    GitLab offers a continuous integration service. If you add a .gitlab-ci.yml file to the root directory of your repository, and configure your GitLab project to use a Runner, then each merge request or push triggers your CI pipeline.
    AWS CodeStar
    Start new software projects on AWS in minutes using templates for web applications, web services and more.
    See all alternatives