Creating a VM from Image

Follow these steps to create a VM from an image:
  1. In the image resource page, click on + Create VM and enter the parameters as described in the next sections.

    Basics

    • Subscription - should already be set to your subscription
    • Resource group – vsz-rg
    • Virtual machine name – vsz-vm
    • Region – your region should already be selected and greyed out
    • Availability option – leave at default
    • Security type – should be set to Standard and greyed out
    • Image – should be set to the image that was just created (vzs-vhd-img – Gen1)
    • VM architecture – x64
    • Size – Standard D4s v3 - 4 vcpus, 16 GiB memory (meets vSZ’s requirements)
    • Authentication type – password and set a username and password (this is not used for the vSZ login)
    • Public inbound ports – Allow selected ports
    • Select inbound ports – HTTP (80), HTTPS (443), SSH (22)
    • License type - Other

    Disks

    • OS disk type – Premium SSD
    • Delete with VM – check this box
    • Key management – Platform-managed key

    Networking

    • Virtual network – vsz-net
    • Subnet – vsz-subnet (10.0.1.0/24)
    • Public IP – (new) vsz-vm-ip
    • NIC network security group – check “Advanced” and select “vsz-nsg”
    • Delete public IP and NIC when VM is deleted – check the box
    • Enable accelerated networking - Disable
    Caution: Do not manually enable Accelerated Networking after a VM has been created or deployed through scripts.
  2. Click through the Management, Monitoring, Advanced and Tags sections as these are left at their default. Click on Create to deploy the virtual machine.
    The deployment may take a short while to fully generate all resources and complete.

    VM Deployment in progress

  3. Once completed, click on Go to resource to view the virtual machine details.