--- description: |- Packer is a free and open source tool for creating golden images for multiple platforms from a single source configuration. ---
<%= inline_svg "logo-hashicorp.svg", height: 120, class: "logo" %>

Build Automated Machine Images

Get Started Download <%= latest_version %>
$ packer build template.json ==> 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 1 ==> virtualbox: Starting the virtual machine... ==> vmware: Waiting 10s for boot... ==> virtualbox: Waiting 10s for boot...
Infrastructure as code

Modern, Automated

HashiCorp Packer is easy to use and 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.

Integrations

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.

<%= image_tag("integrations/azure.svg", alt: "Microsoft Azure") %>
<%= image_tag("integrations/aws.svg", alt: "Amazon AWS") %>
<%= image_tag("integrations/vmware.svg", alt: "VMware") %>
<%= image_tag("integrations/google-cloud.svg", alt: "Google Cloud") %>
<%= image_tag("integrations/docker.svg", alt: "Docker") %>
<%= image_tag("integrations/digitalocean.svg", alt: "Digital Ocean") %>