A High Level Look at Puppet's Cloud Provisioning Tools
Puppet Enterprise includes a suite of command-line tools you can use for provisioning new virtual nodes when building or maintaining cloud computing infrastructures based on VMware VSphere and Amazon EC2. You can use these tools to:
- Create and destroy virtual machine instances
- Classify new nodes (virtual or physical) in the PE console
- Automatically install and configure PE on new nodes (virtual or physical)
When used together, these tools provide quick and efficient workflows for adding and maintaining fully configured, ready-to-run virtual nodes in your Puppet Enterprise-managed cloud environment.
See the sections on VMware, and AWS provisioning for details about creating and destroying virtual machines in these environments. Beyond that, the section on classifying nodes and installing PE covers actions that work on any new machine, virtual or physical, in a cloud environment. To get an idea of a typical workflow in a cloud provisioning environment, see the workflow section.
The cloud provisioning tools can be added during installation of Puppet Enterprise. If you have already installed PE, and you want to install the cloud provisioning tools, simply run the upgrader again.
PE’s provisioning tools are built on the
node_aws subcommands. Each of these subcommands has a selection of available actions (such as
start) that are used to complete specific provisioning tasks. You can get detailed information about a subcommand and its actions by running
puppet help and
The VMware and AWS subcommands are only used for cloud provisioning tasks.
Node, on the other hand, is a general purpose Puppet subcommand that includes several provisioning-specific actions. These are:
clean action may also be useful when decommissioning nodes.
All of the cloud provisioning tools are powered by Fog, the Ruby cloud services library. Fog is automatically installed on any machine receiving the cloud provisioner role.