Over a million developers have joined DZone.

Packer - Machine Images from the Maker of Vagrant

DZone's Guide to

Packer - Machine Images from the Maker of Vagrant

· DevOps Zone ·
Free Resource

How to Set Up Continuous Integration Pipelines with Drone on Ubuntu 16.04. Get the DigitalOcean detailed tutorial.

Packer is a new, open source configuration management tool from Mitchell Hashimoto, creator of Vagrant. Packer aims to automate the creation of any type of machine image for multiple platforms, from a single source configuration. If Ops own the environment, they're probably going to want to set aside some time to see how Packer can work for them -- but even apart from the utility, it's just plain cool. With a Packer image, you can get new machines up and running with pre-configured operating systems and ready-for-action software already installed.

Packer runs on every major operating system, and out of the box it can build images for EC2, DigitalOcean, VirtualBox, and VMware, and plugin support for new platforms opens the door for some pretty impressive versatility.

Packer also plays nice with Puppet and Chef -- this post from James Carr walks you through building an immutable server with Puppet and Packer. It's built to slot neatly into a continuous delivery process -- CLI-centric, lightweight, and capable of building multiple images at once and installing software onto an image as it builds with Puppet or Chef. All of which makes it a pretty appealing prospect for keeping environments uniform from development to production. 

If you're interested, you can check out the Packer source on GitHub. Or you can just go ahead and download it here.

We did the research and have the tutorials on how to install the top CI/CD tools. See how Jenkins, Gitlab CI, Buildbot, Drone and Concourse compare.


Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}