Skip to content

The Azure Hyper-V Lab makes virtualization on Azure effortless, perfect for experimenting, learning, and building proof-of-concepts.

Notifications You must be signed in to change notification settings

george-markou/Azure-Hyper-V-Lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Azure Hyper-V Lab

Welcome to the Azure Hyper-V Lab! This project provides an Azure IaaS VM Deployment Template for Windows Server 2025 Datacenter Edition with the Hyper-V Role enabled. Whether you're experimenting, learning, developing proofs of concept, or setting up a staging environment, this template simplifies the process and empowers you to leverage Hyper-V in Azure.


🌟 What's Included?

Infrastructure:

  • Virtual Network (VNet) with a single Subnet
  • Static Public IP (Standard SKU)
  • Network Security Group (NSG) configured for Remote Desktop access
  • Virtual Machine with Nested Virtualization capabilities (Learn more)
  • Premium SSD Disks:
    • 127GB for the Operating System
    • 512GB for storing Virtual Machines

Server Roles:

  • Hyper-V
  • DHCP Server
  • RSAT Tools
  • Containers

Pre-Installed Software:

  • Azure Az PowerShell Module
  • Azure CLI
  • Azure Storage Explorer
  • AzCopy Utility
  • PowerShell Core
  • Windows Admin Center
  • 7-Zip
  • Chocolatey Package Manager
  • Evaluation copy of Windows Server 2025

🚀 Get Started

1. Deploy the Template

Click the button below to deploy the template directly in the Azure Portal:

Deploy to Azure

2. Fill in the Required Information

Provide the necessary details in the Azure Portal.

Template Configuration

3. Sit Back and Relax ☕

The deployment takes approximately 30 minutes.

Deployment Progress

4. Connect to Your Hyper-V VM

Use Remote Desktop to connect to the newly deployed VM.

Remote Desktop Connection

5. Manage Hyper-V Server

Start managing Hyper-V using Hyper-V Manager or Windows Admin Center.

Hyper-V Shortcuts

6. Spin up Guest OS

Start creating Windows Server 2025 Guest OSes using the ISO file stored under F:\VMS\ISO.

Windows Server 2025 Evaluation ISO

📝 General Notes

  • A wide range of VM sizes is pre-configured in the template to avoid deployment errors.
  • The VM uses Azure Spot Instances with an eviction policy set to deallocate.
  • Use the Microsoft Evaluation Center desktop shortcut to evaluate Microsoft software and operating systems.
  • Learn how to deploy VMs using Azure Marketplace Images on my blog.
  • Default Paths:
    • VM configuration files: F:\VMS
    • VM disks: F:\VMS\Disks
  • Enhanced Session Mode is enabled.
  • A DHCP Scope is configured to provide network addressing for VMs.
  • An Internal Hyper-V Switch with NAT enabled is included.
  • The data disk (Volume F) is formatted with ReFS and a unit size of 64KB.
  • Both JSON and Bicep Templates are available in this repository.
  • Configuration Files:

📚 Learn More About Hyper-V

About

The Azure Hyper-V Lab makes virtualization on Azure effortless, perfect for experimenting, learning, and building proof-of-concepts.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published