Get Advice Icon

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

AWS CodeBuild
AWS CodeBuild

102
56
+ 1
35
Packer
Packer

338
205
+ 1
40
Add tool

AWS CodeBuild vs Packer: 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鈥檛 need to provision, manage, and scale your own build servers; Packer: Create identical machine images for multiple platforms from a single source configuration. 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.

AWS CodeBuild can be classified as a tool in the "Continuous Integration" category, while Packer is grouped under "Infrastructure Build Tools".

Some of the features offered by AWS CodeBuild are:

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

On the other hand, Packer provides the following key features:

  • Super fast infrastructure deployment. Packer images allow you to launch completely provisioned and configured machines in seconds, rather than several minutes or hours.
  • Multi-provider portability. Because Packer creates identical images for multiple platforms, you can run production in AWS, staging/QA in a private cloud like OpenStack, and development in desktop virtualization solutions such as VMware or VirtualBox.
  • Improved stability. Packer installs and configures all the software for a machine at the time the image is built. If there are bugs in these scripts, they'll be caught early, rather than several minutes after a machine is launched.

"Pay per minute" is the top reason why over 4 developers like AWS CodeBuild, while over 24 developers mention "Cross platform builds" as the leading cause for choosing Packer.

Packer is an open source tool with 9.1K GitHub stars and 2.47K GitHub forks. Here's a link to Packer's open source repository on GitHub.

Instacart, Oscar Health, and MAK IT are some of the popular companies that use Packer, whereas AWS CodeBuild is used by Convox, Volta Industries, and ChromaDex. Packer has a broader approval, being mentioned in 115 company stacks & 21 developers stacks; compared to AWS CodeBuild, which is listed in 21 company stacks and 14 developer stacks.

- No public GitHub repository available -

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鈥檛 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.
Get Advice Icon

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

Why do developers choose AWS CodeBuild?
Why do developers choose Packer?

Sign up to add, upvote and see more prosMake informed product decisions

    Be the first to leave a con
      Be the first to leave a con
      What companies use AWS CodeBuild?
      What companies use Packer?

      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

      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
      Decisions about AWS CodeBuild and Packer
      John Kodumal
      John Kodumal
      CTO at LaunchDarkly | 3 upvotes 37.4K views
      atLaunchDarklyLaunchDarkly
      Armory
      Armory
      Packer
      Packer
      Terraform
      Terraform
      Spinnaker
      Spinnaker
      Ansible
      Ansible

      LaunchDarkly is almost a five year old company, and our methodology for deploying was state of the art... for 2014. We recently undertook a project to modernize the way we #deploy our software, moving from Ansible-based deploy scripts that executed on our local machines, to using Spinnaker (along with Terraform and Packer) as the basis of our deployment system. We've been using Armory's enterprise Spinnaker offering to make this project a reality.

      See more
      Pedro Arnal Puente
      Pedro Arnal Puente
      CTO at La Cupula Music SL | 7 upvotes 52.2K views
      atLa Cupula Music SLLa Cupula Music SL
      Ansible
      Ansible
      Packer
      Packer
      Terraform
      Terraform
      Amazon ElastiCache
      Amazon ElastiCache
      Redis
      Redis
      Amazon RDS for Aurora
      Amazon RDS for Aurora
      Amazon S3
      Amazon S3
      Amazon EC2
      Amazon EC2
      Debian
      Debian

      Our base infrastructure is composed of Debian based servers running in Amazon EC2 , asset storage with Amazon S3 , and Amazon RDS for Aurora and Redis under Amazon ElastiCache for data storage.

      We are starting to work in automated provisioning and management with Terraform , Packer , and Ansible .

      See more
      Interest over time
      Reviews of AWS CodeBuild and Packer
      Avatar of nzoschke
      Engineering Manager at Segment
      Review ofAWS CodeBuildAWS CodeBuild

      The open-source Convox Platform-as-a-Service is built entirely on AWS cloud services.

      Through this lens, it's been obvious that AWS has been missing a managed build service. For the past year we've had to work around this by building our own build service on ECS and ECR. You can read more on my AWS Missing Parts: Build Service blog post.

      So I'm excited to finally have this service. After a quick weekend prototype, the service works as expected and will unlock Cheaper, Faster and Safer Builds for our systems.

      This is a classic AWS service. It's tricky to figure out all the options. I recommend jumping straight to the Docker example docs:

      You'll need to figure IAM, Build Project JSON, and Build Spec YAML to get it all working.

      But once you do, you've unlocked managed builds on small, medium or large compute types. No instances required!

      How developers use AWS CodeBuild and Packer
      Avatar of Bob P
      Bob P uses PackerPacker

      Packer makes it easy to setup custom images to import into vagrant.

      Avatar of Zinc
      Zinc uses PackerPacker

      We use Packer to build our Base AMIs.

      Avatar of Endource
      Endource uses PackerPacker

      Application deployment packages

      Avatar of Go Furuya
      Go Furuya uses PackerPacker

      To make the "Golden Image"

      Avatar of Patty R
      Patty R uses AWS CodeBuildAWS CodeBuild

      build, test, deploys code

      Avatar of Scott Miller
      Scott Miller uses PackerPacker

      Used for packing AMIs

      How much does AWS CodeBuild cost?
      How much does Packer cost?
      Pricing unavailable
      News about AWS CodeBuild
      More news
      News about Packer
      More news