Hey everyone 👋
This Template will automate the deployment of an Azure IaaS VM running Windows Server 2022 OS, having Hyper-V Role enabled. By this, you will be able to experiment with Hyper-V, learn, build Proof-Of-Concept or non-production environments or even use it as staging environment for creating custom images that will be used on public Azure.
The Template consists of the following resources:
- A Virtual Network(VNet) with 1 Subnet
- A Standard SKU Static Public IP
- A Network Security Group (NSG)
- A Virtual Machine that is capable of Nested Virtualization - Markou.me
- Two Premium SSD Disks - One for Operating System(127GB) and One for Storing Virtual Machines(512GB)
Server Roles:
- Hyper-V
- DHCP Server
- RSAT Tools
Additional Software Included with the VM:
- Azure Az PowerShell module
- Azure CLI
- Azure Storage Explorer
- AzCopy Utility
- PowerShell Core
- Windows Admin Center
- 7-Zip
- Chocolatey Package Manager
- Press the button below to deploy the Template using the Azure Portal.
- Fill in the required information.
- Enjoy a cup of coffee ☕ while waiting for the deployment to finish(Approx 15m).
- Connect to the newly deployed VM using Remote Desktop.
- Start Managing Hyper-V either using Hyper-V Manager or Windows Admin Center.
- There is a large list of VM sizes specified as allowed values within the Template. Just to make your life easier and avoid deployment errors 🦸.
- To evaluate Microsoft Software and Operating Systems, use the Desktop Shortcut of the Microsoft Evaluation Center.
- In order to use Azure Marketplace Images to deploy Virtual Machines, visit my blog.
- The default path for storing Virtual Machine configuration files is "F:\VMS" and for disks is "F:\VMS\Disks".
- Enhanced Session Mode is set to Enabled.
- A DHCP Scope is present, providing Network Addressing to Virtual Machines.
- An Internal Hyper-V Switch that is Nat enabled is present.
- The Data Disk (Volume F) is formatted with ReFS and unit size 64KB.
- You will find both JSON and Bicep Templates within this repo.
- The DSC Configuration File is listed here here.
- The Host Configuration File is listed here here.
- Windows Server Hyper-V and Virtualization Learning Path on Microsoft Learn
- Markou.me Hyper-V Blog
- Virtualization Blog
- MSLab GitHub Project