liveBook · Manning

Virtual machine provisioning

As explained in Practical Automation with PowerShell: Effective scripting from the console to the cloud

The process of creating and preparing a virtual machine and its associated resources.

Virtual machine provisioning becomes manageable when treated as phased automation rather than one large operation. Each phase delivers value and reuses smaller building blocks. section 1.3.3

A practical provisioning workflow separates these phases:

  • Create the virtual machine by selecting a host, allocating CPU and memory, attaching a network interface to the correct subnet, and adding virtual hard disks. section 1.3.3
  • Install the operating system with configuration management tools instead of maintaining a preinstalled template disk. section 1.3.3
  • Move the machine onto the deployment subnet, start it, wait for installation, and attach it to the production subnet. section 1.3.3

Keep subnet assignment as a separate reusable block when the same network transition occurs in multiple phases. This reduces duplication and supports maintenance. section 1.3.3

Figure 1.4 A virtual provisioning phased approach (phase 2) with shared components

Shows phased operating-system installation with shared provisioning components. section 1.3.3

How Practical Automation with PowerShell: Effective scripting from the console to the cloud covers it

How deep it goes
Breaks provisioning into phases and reusable blocks, but does not detail implementation commands.
Examples
Uses host selection, resource allocation, subnet transitions, virtual disks, and configuration-managed operating-system installation.
What it assumes
Uses configuration management for operating-system installation and teaches provisioning decomposition through concrete infrastructure tasks.
What you can do after
Build it from scratch incrementally by composing provisioning phases and reusing infrastructure blocks.
How it connects
Connects virtual machines with configuration management, operating-system installation, subnets, hosts, and virtual hard disks.

This explainer was generated by Manning's knowledge graph from the text of Practical Automation with PowerShell: Effective scripting from the console to the cloud. The section links point to the parts of the book it draws on.