Photo by Hal Gatewood on Unsplash

How to use Packer to build a Windows Server Image for Azure

Packer is an open-source tool used to create virtual machine templates from a .json file.

In this story, we will learn how to use Packer to define and build custom images in Azure, and then use this image to build a Windows virtual machine using Terraform.

1. Prerequisites