How do I know what size Azure VM supports nested virtualization?

David 41 Reputation points
2022-04-15T00:11:52.363+00:00

I guess I am looking for documentation that doesn't seem to exist.

I need to spin up a VM on which I will be running a docker application.
This requires nested virtualization.
The VM size I picked does not appear to support it.

All I can find it some old docs saying that it is enabled on an older Size.
How do I find the availability for the current set of available sizes?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
5,239 questions
0 comments No comments
{count} votes

Accepted answer
  1. Devaraj G 2,176 Reputation points
    2022-04-15T04:19:29.733+00:00

    Hi David,

    Dv3 and Ev3 VM sizes supports the nested virtualisation.

    https://azure.microsoft.com/en-us/blog/introducing-the-new-dv3-and-ev3-vm-sizes/

    https://azure.microsoft.com/en-gb/blog/nested-virtualization-in-azure/

    Also you can looks for machine type in azure docs to find if the nested virtualisation is supported.

    Ex:
    https://learn.microsoft.com/en-us/azure/virtual-machines/dcv3-series

    193312-screenshot-2022-04-15-141847.png

    1 person found this answer helpful.
    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Andriy Bilous 8,731 Reputation points
    2022-04-15T04:30:26.273+00:00

    Hello @David

    Azure supports nested virtualization only on new sizes that introduce Hyper-Threading Technology running on the Intel processors
    Here is a list of Azure VM Sizes that support Nested Virtualization:

    • D_v3
    • Ds_v3
    • Dv4
    • Dsv4
    • Ddv4
    • Ddsv4
    • E_v3
    • Es_v3
    • Ev4
    • Esv4
    • Edv4
    • Edsv4
    • F2s_v2 – F72s_v2
    • FX4 – FX48
    • M

    The VM sizes mentioned above, are the current ones that support nested virtualization. List could be updated in future, please see documentation

    https://azure.microsoft.com/en-us/blog/nested-virtualization-in-azure/
    https://azure.microsoft.com/en-us/blog/introducing-the-new-dv3-and-ev3-vm-sizes/
    https://www.markou.me/2020/05/which-azure-vm-sizes-support-nested-virtualization/

    2 people found this answer helpful.
    0 comments No comments

  2. Tin Tse 5 Reputation points
    2023-01-21T03:45:08.9433333+00:00

    Perhaps adding a filter options in azure portal when creating a VM? I don't want to spend time searching for this post to find what type of vm supports nested virtualization every time I create a new VM.

    1 person found this answer helpful.
    0 comments No comments

  3. Numa Mendes de Oliveira Neto 0 Reputation points Microsoft Employee
    2023-04-08T19:39:30.8933333+00:00

    Hi, actually using this list that supports nested virtualization, I can't enable Hyper-V role. I already tried change location; I was using spot instance but remove them wasn't work. In all cases, the error was the same: the virtualization support was disabled at Bios level. what can I do?

    0 comments No comments