HashiCorp Packer Logo

Build Automated Machine Images

$ packer build template.pkr.hcl==> virtualbox: virtualbox output will be in this color.==> vmware: vmware output will be in this color.==> vmware: Copying or downloading ISO. Progress will be reported periodically.==> vmware: Creating virtual machine disk==> vmware: Building and writing VMX file==> vmware: Starting HTTP server on port 8964==> vmware: Starting virtual machine...==> virtualbox: Downloading VirtualBox guest additions. Progress will be shown periodically==> virtualbox: Copying or downloading ISO. Progress will be reported periodically.==> virtualbox: Starting HTTP server on port 8081==> virtualbox: Creating virtual machine...==> virtualbox: Creating hard drive...==> virtualbox: Creating forwarded port mapping for SSH (host port 3213)==> virtualbox: Executing custom VBoxManage commands... virtualbox: Executing: modifyvm packer --memory 480 virtualbox: Executing: modifyvm packer --cpus==> virtualbox: Starting the virtual machine...==> vmware: Waiting 10s for boot...==> virtualbox: Waiting 10s for boot...
Infrastructure as Code

Modern, Automated

HashiCorp 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. Packer brings machine images into the modern age, unlocking untapped potential and opening new opportunities.

Microsoft Azure LogoAmazon Web Services LogoVMware LogoGoogle Cloud Platform LogoDocker LogoDigitalOcean Logo

Works Out of The Box

Out of the box Packer comes with support to build images for Amazon EC2, CloudStack, DigitalOcean, Docker, Google Compute Engine, Microsoft Azure, QEMU, VirtualBox, VMware, and more. Support for more platforms is on the way, and anyone can add new platforms via plugins.