virtual machine that supports nested virtualisation

Subhankar Banerjee 31 Reputation points
2022-04-19T22:52:35.377+00:00

I was trying to create a virtual machine that supports nested virtualisation. The minimum hardware requirements for your cloud provider instance are as follows: Nested Virtualization. 4 vCPU. 12GB of RAM. 128GB of storage. Microsoft Azure The following image/machine types have been validated to complete the certification program. Ubuntu Server 18.04 LTS D4s_v3 - 4vCPU / 16G..I am using the free trial version, recently joined Azure Stack ..need urgent help on this

something like 4 VMs (3 Kubernetes nodes and 1 standalone host) each with predefined static IP addresses....

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

Accepted answer
  1. kobulloc-MSFT 26,811 Reputation points Microsoft Employee Moderator
    2022-04-19T23:58:57.533+00:00

    Hello, @Subhankar Banerjee !

    There's a lot to unpack here so I'll do my best to address each of your questions and requirements. Since Azure Stack adds another dimension of complexity, you may want to follow up with another post with the Azure Stack tag once you have a better idea of what you want to use in your solution.

    What virtual machines support nested virtualization?
    Nested virtualization has two components: Supported operating systems and supported hardware/virtual machines.

    Operating systems/Configuration:
    For supported operating systems and configuration requirements, you'll want to reference the Run Hyper-V in a Virtual Machine with Nested Virtualization documentation:

    https://learn.microsoft.com/en-us/virtualization/hyper-v-on-windows/user-guide/nested-virtualization

    While going through this, you'll note that only Windows Server and Windows are mentioned. While not officially supported, there are blogs that will walk you through the process of creating a nested virtual machine in Azure with a Linux VM like this blog from brianlinkletter.com:

    https://www.brianlinkletter.com/2018/06/create-a-nested-virtual-machine-in-a-microsoft-azure-linux-vm/

    Hardware:
    When looking at hardware requirements, you can find a full list of VMs with hardware that support nested virtualization in the Azure compute unit (ACU) documentation:

    https://learn.microsoft.com/en-us/azure/virtual-machines/acu

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

    Specific VM spec requirements
    When looking for a VM with specific requirements, you'll want to browse the virtual machine sizes:
    https://learn.microsoft.com/en-us/azure/virtual-machines/sizes

    There are many different options that would match the 4 vCPU / 12GB of RAM / 128GB of storage depending on what your needs are. This might be a good opportunity to contact Azure sales to figure out what the most cost efficient configuration is (both from a free credit standpoint and in planning to migrate to a paid subscription later on). A D4ads v5 could work, but there may be a better option for you.

    Azure Kubernetes Service (AKS)
    Azure has a managed Kubernetes service, Azure Kubernetes Service or AKS which simplifies deploying a managed Kubernetes cluster in Azure. This is worth your time to familiarize yourself with if you are interested in Kubernetes on Azure, especially if you want to use Linux and a free trial subscription:

    194415-image.png

    Azure Stack
    Azure Stack is worth having its own discussion, and I would encourage you to reach out to the Azure Stack specialists once you have a better idea of what you want to use in your solution:

    https://learn.microsoft.com/en-us/answers/topics/azure-stack.html

    I hope this has been helpful!

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Subhankar Banerjee 31 Reputation points
    2022-04-20T22:37:32.287+00:00

    I have opted for calico training for that I need to build the below cluster configuration --

    4 VMs (3 Kubernetes nodes and 1 standalone host) each with predefined static IP addresses:

    Control (198.19.0.1) - Kubernetes control-plane node
    Node1 (198.19.0.2) - Kubernetes worker node
    Node2 (198.19.0.3) - Kubernetes worker node
    Host1 (198.19.15.254) - General purpose host
    (Note that each VM will also have a second dynamically allocated IP address, but we will always use the static IP addresses listed above.)

    The minimum hardware requirements are as follows:

    Nested Virtualization.
    4 vCPU.
    12GB of RAM.
    128GB of storage.


    Ubuntu Server 18.04 LTS
    D4s_v3 - 4vCPU / 16G.

    I am very new to cloud infrastructure, I have joined in Azure stack free 12-month option.

    I need some help to create that above configuration once .......


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.