Automate Windows VM Creation and Configuration in vSphere Using Packer, Terraform and Ansible (Part 1 of 3)

In this series of posts I’d like to show how to automate the process of setting up virtual infrastructure consisting of several Windows Server 2016 machines. Most articles I’ve come across cover the use of cloud providers (e.g. AWS) as a virtualization platform, so I decided to make a write up about my experience with VMware vSphere. The whole process can be devided in three stages:

  1. Prepare VM template
  2. Deploy the desired number of VMs using template from the previous step
  3. Configure those VMs with Ansible


© 2019. All rights reserved.

Powered by Hydejack v8.3.0