Need advice about which tool to choose?Ask the StackShare community!
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.





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
.
Pros of AWS CodeBuild
- Pay per minute7
- Parameter Store integration for passing secrets5
- Integrated with AWS4
- Bit bucket integration3
- Streaming logs to Amazon CloudWatch3
- AWS Config and Config rule integration for compliance2
- GitHub Webhooks support2
- VPC PrivateLinks to invoke service without internet2
- Windows/.NET support1
- Jenkins plugin integration1
- Ondemand scaling of build jobs1
- Scheduled builds with CloudWatch Events integration1
- Local build debug support1
- Native support for accessing Amazon VPC resources1
- Docker based build environment1
- Support for bringing custom Docker images1
- Fully managed (no installation/updates, servers to mai1
- PCI, SOC, ISO, HIPAA compliant1
- Full API/SDKs/CLI support1
- YAML based configuration1
- Great support (forums, premium support, SO, GitHub)1
- Perpetual free tier option (100 mins/month)1
- GitHub Enterprise support1
Pros of AWS CodeDeploy
- Automates code deployments17
- Backed by Amazon9
- Adds autoscaling lifecycle hooks7
- Git integration5
Sign up to add or upvote prosMake informed product decisions
Cons of AWS CodeBuild
- Poor branch support1