Tuesday, February 24, 2015

Using Packer with Hyper-V and Microsoft Azure [feedly]

Using Packer with Hyper-V and Microsoft Azure
// MS Open Tech

Packer LogoPacker is a tool for creating identical machine images, that is static units containing pre-configured operating systems and application software. With Microsoft open technologies latest contributions to the project you can now use Packer to create machine images for Azure and Hyper-V using any computer with Hyper-V enabled.

Pre-baked machine images configured by tools such as Chef and Puppet, have many advantages, but they can be difficult to build. Packer closes this gap by providing a single tool to build across multiple environments. Packer is easy to use and automates the creation of any type of machine image. It is an excellent partner for modern configuration management systems, allowing you to use them to install and configure the software within your Packer-made images.

Our contribution provides:

  1. Azure Builder
  2. Hyper-V Builder
  3. azure-custom-script-extension Provisioner
  4. PowerShell Provisioner
  5. azureVmCustomScriptExtension Communicator
  6. PowerShell Communicator

Our code has been complete and usable for a while; in fact we issued a pull request back in November last year. Unfortunately, because our code targets Go 1.3 while Packer currently targets Go 1.2 it has not yet been merged upstream. The good news is that the Packer team have confirmed that the next version of Packer will target either Go 1.3 or 1.4. It is therefore hoped that our code will be included upstream soon.

In the meantime, users can still use Packer to create machine images for Azure or Hyper-V by either checking out our Packer fork or by merging our pull request locally.





Shared via my feedly reader

Sent from my iPhone

No comments:

Post a Comment