github.com/hashicorp/packer@v1.14.3/website/content/docs/intro/why.mdx (about) 1 --- 2 page_title: Why use Packer 3 description: |- 4 Learn about the advantages of using Packer to automate the creation of machine images and artifacts. 5 --- 6 7 # Why use Packer 8 9 This topic describes why you should use Packer to automate the creation of machine images over traditional _pre-baked_ images, which are pre-configured digital images that include the necessary software, settings, and data. 10 11 ## Pre-baked images 12 13 Pre-baked machine images have a lot of advantages, but most people have been unable to 14 benefit from them because images have been too tedious to create and manage. 15 There are either no existing tools to automate the creation of machine images 16 or they had too high of a learning curve. The result is that, prior to Packer, 17 creating machine images threatened the agility of operations teams, and 18 therefore aren't used, despite the massive benefits. 19 20 Packer changes all of this. Packer automates the creation of 21 any type of machine image. It embraces modern configuration management by 22 encouraging you to use a framework such as Chef or Puppet to install and 23 configure the software within your Packer-made images. 24 25 ## Advantages of using Packer 26 27 **_Super fast infrastructure deployment_**. Packer images allow you to launch 28 completely provisioned and configured machines in seconds, rather than several 29 minutes or hours. This benefits not only production, but development as well, 30 since development virtual machines can also be launched in seconds, without 31 waiting for a typically much longer provisioning time. 32 33 **_Multi-provider portability_**. Because Packer creates identical images for 34 multiple platforms, you can run production in AWS, staging/QA in a private cloud 35 like OpenStack, and development in desktop virtualization solutions such as 36 VMware or VirtualBox. Each environment is running an identical machine image, 37 giving ultimate portability. 38 39 **_Improved stability_**. Packer installs and configures all the software for a 40 machine at the time the image is built. If there are bugs in these scripts, 41 they'll be caught early, rather than several minutes after a machine is 42 launched. 43 44 **_Greater testability_**. After a machine image is built, that machine image 45 can be quickly launched and smoke tested to verify that things appear to be 46 working. If they are, you can be confident that any other machines launched from 47 that image will function properly.