Is it possible to use Hyper-V to create Virtual Machines with an Azure VM as a 'host' machine? If so, how do I go about this?

Lesetedi, Karabo 20 Reputation points
2023-08-24T13:14:35.2833333+00:00

I am using the Azure free trial with an Standard D2s v3 (2 vcpus, 8 GiB memory) VM hosting Windows 10 pro.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,041 questions
Windows for business | Windows Client for IT Pros | Storage high availability | Virtualization and Hyper-V
0 comments No comments
{count} votes

Accepted answer
  1. TP 125.8K Reputation points Volunteer Moderator
    2023-08-24T13:30:19.7266667+00:00

    Hi Karabo,

    Yes, it is possible. You need to use a VM size that supports Nested Virtualization.

    Standard_D2s_v3 does support Nested Virtualization, however, it must be set to Standard security. When creating this VM using D2s_v3 you must create it using Standard security. The option is on the Basics tab when creating the VM in the portal.

    azure security type standard

    When you get to the Review page, right before you click to deploy the VM, double-check that it says Standard security and not Trusted launch. Sometimes the portal can switch it to Trusted launch even though you purposefully selected Standard so it is important to check it again before clicking Create button.

    Once you have the VM created you can install Hyper-V inside of it, create VMs, etc.

    Please click Accept Answer if the above was useful. If something is unclear or if you still need assistance please add a comment below.

    Thanks.

    -TP

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.