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

AWS CodeBuild

368
478
+ 1
43
Packer

582
561
+ 1
42
Add tool

AWS CodeBuild vs Packer: What are the differences?

# Introduction

1. **Deployment Automation Tools**: AWS CodeBuild is a fully managed build service that compiles source code, runs tests, and produces software packages that are ready to deploy, while Packer is a tool for creating identical machine images for multiple platforms from a single source configuration.

2. **Integration with AWS Services**: AWS CodeBuild seamlessly integrates with other AWS services such as AWS CodePipeline and AWS CodeCommit for a complete CI/CD pipeline, whereas Packer offers integration with various virtual machine formats like VMware, VirtualBox, and AWS AMIs.

3. **Configuration Management**: AWS CodeBuild focuses on automating the build process and packaging software, while Packer emphasizes on creating machine images with pre-configured software and settings.

4. **Build Environments**: AWS CodeBuild provides customizable build environments with pre-configured build tools, runtime versions, and Docker support, while Packer allows users to specify the necessary configurations and provisioning steps to create machine images.

5. **Pricing Model**: AWS CodeBuild charges based on build minutes and the compute type used, offering a pay-as-you-go model, whereas Packer is an open-source tool that is free to use and does not incur any direct costs.

6. **Community Support**: AWS CodeBuild is a managed service provided by AWS with comprehensive documentation and support, while Packer is supported by a vibrant community of users and contributors who continuously enhance its capabilities through plugins and templates.

# Summary

In Summary, AWS CodeBuild focuses on automating the build process and packaging software, seamlessly integrates with AWS services, and provides customizable build environments, while Packer specializes in creating identical machine images for various platforms, offering integration with virtual machine formats, and emphasizing configuration management. Both tools serve different purposes in the software development lifecycle. 
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of AWS CodeBuild
Pros of Packer
  • 7
    Pay per minute
  • 5
    Parameter Store integration for passing secrets
  • 4
    Integrated with AWS
  • 3
    Streaming logs to Amazon CloudWatch
  • 3
    Bit bucket integration
  • 2
    GitHub Webhooks support
  • 2
    AWS Config and Config rule integration for compliance
  • 2
    VPC PrivateLinks to invoke service without internet
  • 1
    Windows/.NET support
  • 1
    Jenkins plugin integration
  • 1
    Ondemand scaling of build jobs
  • 1
    Scheduled builds with CloudWatch Events integration
  • 1
    Local build debug support
  • 1
    Native support for accessing Amazon VPC resources
  • 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
    GitHub Enterprise support
  • 27
    Cross platform builds
  • 9
    Vm creation automation
  • 4
    Bake in security
  • 1
    Good documentation
  • 1
    Easy to use

Sign up to add or upvote prosMake informed product decisions

Cons of AWS CodeBuild
Cons of Packer
  • 2
    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 Packer?

    Packer automates the creation of any type of machine image. It embraces modern configuration management by encouraging you to use automated scripts to install and configure the software within your Packer-made images.

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

    What companies use AWS CodeBuild?
    What companies use Packer?
    See which teams inside your own company are using AWS CodeBuild or Packer.
    Sign up for StackShare EnterpriseLearn More

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

    What tools integrate with AWS CodeBuild?
    What tools integrate with Packer?

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

    Blog Posts

    What are some alternatives to AWS CodeBuild and Packer?
    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 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.
    See all alternatives