Pcornel
Virtualization · Automation

VM Provisioning

Cheat sheet · https://pcornel.dk/topic.php?topic=3684

Back to the Topic

Answer

VM provisioning is creating a ready-to-use VM: choose host or cluster, clone or build from an image, size CPU, memory and disks, attach networks, apply guest customization, and hand it over with monitoring and backup enabled.

Remember

  • Created VM ≠ delivered service.
  • Right-size from requirements, not habit.
  • Register in backup and monitoring at creation.

First checks

  • qm clone <tpl> <id> && qm set <id> --ipconfig0 ip=dhcp && qm start <id> — Proxmox clone + cloud-init
  • New-VM ... ; Start-VM — Hyper-V PowerShell
  • terraform apply — IaC

Commands

qm config <vmid>
Display VM configuration.

Verify in this order

request → automated build → registered → handed over

Where it usually breaks

First mismatch in management intent → host/cluster capability → hypervisor runtime/task → virtual resource/device → guest state → workload-visible read-back; preserve identity/native error/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3684

Confirmation

Confirm action

Continue?