Packer Concepts: Difference between revisions
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
=Builder= | =Builder= | ||
A builder is | A builder is a Packer component that is able to create a machine image for a single platform. The builder reads in configuration and uses that to run and generate a machine image. A builder is invoked as part of a [[#Build|build]] to create the actual resulting images. Builders can be created and added to Packer in the form of plugins. VirtualBox, VMware, and Amazon EC2 are builders. An example of AWS builder is [[#amazon-ebs|amazon-ebs]]. | ||
==docker== | ==docker== | ||
==AMI Builders== | ==AMI Builders== |
Revision as of 00:59, 15 November 2019
External
Internal
Variable
Builder
A builder is a Packer component that is able to create a machine image for a single platform. The builder reads in configuration and uses that to run and generate a machine image. A builder is invoked as part of a build to create the actual resulting images. Builders can be created and added to Packer in the form of plugins. VirtualBox, VMware, and Amazon EC2 are builders. An example of AWS builder is amazon-ebs.
docker
AMI Builders
amazon-ebs
Provisioner
A provisioner is a builtin method or an executor of some third party software (shell script, ansible-local, file) that installs and configures the machine image after the image has booted. A provisioner prepares the system for use by:
- patching the kernel
- installing patches
- creating users