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.
7,213 questions
0 comments No comments
{count} votes

Accepted answer
  1. Devaraj G 2,091 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.

5 additional answers

Sort by: Most helpful
  1. Tin Tse 25 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.

    5 people found this answer helpful.
    0 comments No comments

  2. Andriy Bilous 10,981 Reputation points MVP
    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/

    3 people found this answer helpful.
    0 comments No comments

  3. Scott McArthur 5 Reputation points
    2023-06-02T21:39:41.1033333+00:00

    this is not working at all using any size i have literally tried them all

    1 person found this answer helpful.

  4. Anju K Prabhakaran 5 Reputation points
    2023-06-16T08:49:54.17+00:00
    1 person found this answer helpful.