After uploading the vNIOS image, you are ready to create a VM instance and deploying it from the Azure CLI.
Note
Deploying Azure virtual appliances with unmanaged disks is supported only on versions prior to NIOS 9.0.1. Starting from NIOS 9.0.1, you must deploy the appliances only with Azure managed disks.
For steps to migrate the vNIOS instances to use managed disks, see Migrating a vNIOS Instance from an Azure Unmanaged Disk to a Managed Disk.
To deploy the vNIOS instance on an unmanaged disk, complete the following steps from the Azure CLI:
- Create two network interfaces that specify the corresponding resource group, subnet, and virtual network names:
Note: When you need to add or delete a network interface to an existing vNIOS for Azure instance, you must power off the instance, add or delete the interface, and then start the instance. Adding or deleting an interface when the instance is powered on, can result in unexpected behavior.az network nic create --name <NIC-1_name> --resource-group <resource_group_name> --subnet <subnet_name> --vnet-name <virtual_network_name>
az network nic create --name <NIC-2_name> --resource-group <resource_group_name> --subnet <subnet_name> --vnet-name <virtual_network_name>
- Create a NIOS instance by attaching the network interfaces with the following details:
az vm create --resource-group <resource_group_name> --name <instance_name> --nics <NIC-1_name> <NIC-2_name> --os-type Linux --storage-account <storage_account_name> --storage-container-name <storage_container_blob_name> --image "https://<storage_account_name>.blob.core.windows.net/<storage>/
<container_blob_name>/<image_name>" --os-disk-name <instance_name> --size <VM_size> --admin-username azureuser --admin-password Infoblox@123 --use-unmanaged-disk --location <location_where_VM_must_be_deployed>
Example:az vm create --resource-group rg-east-01 --name test-vm --nics nic1 nic2 --os-type Linux --storage-account rgeastcloudautomation --storage-container-name images --image "https://rgeastcloudautomation.blob.core.windows.net/images/nios-image.vhd" --os-disk-name test-vm --size Standard_DS12_v2 --admin-username azureuser --admin-password Infoblox@123 --use-unmanaged-disk --location eastus