Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

After uploading the vNIOS image, you are ready to create a VM instance and deploy it from the Azure CLI. Starting from NIOS 8.5.3, vNIOS instances deployed on the public Azure public cloud can be deployed on Azure managed disks.

Excerpt

To deploy a vNIOS image, complete the following steps:

  1. Create a managed disk with the following details:
    az disk create --name <managed_disk_name> --resource-group <resource_group_name> --size 250 --sku Standard_LRS --source "https://<resource_group_name>.blob.core.windows.net/<storage_container_blob_name>/<vhd_image_name>" --source-storage-account-id "/subscriptions/<subscription_name>/resourceGroups/<resource_group_name>/providers/Microsoft.Storage/storageAccounts/<storage_account_name>" --os-type Linux

    Example:
    az disk create --name nios-managed-disk --resource-group rg-east-01 --size 250 --sku Standard_LRS --source "https://rgeastcloudautomation.blob.core.windows.net/images/nios-image.vhd" --source-storage-account-id "/subscriptions/1abcd012-2abc-123a-4abc-12a345678ab1/resourceGroups/rg-east-01/providers/Microsoft.Storage/storageAccounts/rgeastcloudautomation" --os-type Linux

  2. Create two network interfaces by specifying the resource group, subnet, and virtual network names corresponding to the interfaces:
    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>

  3. Create a NIOS instance by attaching the network interfaces and the managed disk to it. Provide the following details:

    az vm create --resource-group <resource_group_name> --name <instance_name> --nics <NIC-1_name> <NIC-2_name> --attach-os-disk "/subscriptions/<Subscription_ID>/resourcegroups/<resource_group_name>/providers/
    Microsoft.Compute/disks/<managed_disk_name>" --size <VM_size> --location <location_name> --os-type Linux


    Example:
    az vm create --resource-group rg-east-01 --name nios-vm-with-managed-disk --nics nic1 nic2 --attach-os-disk "/subscriptions/1abcd012-2abc-123a-4abc-12a345678ab1/resourcegroups/rg-east-01/providers/Microsoft.Compute/disks/nios-managed-disk" --size Standard_DS12_v2 --location eastus --os-type Linux

4. If you are deploying the vNIOS instance for reporting, you must attach a data disk to the reporting VM for installing the reporting vNIOS license. Infoblox recommends that you allocate a minimum of 250 GB of additional disk space for the reporting storage requirements. To attach a second disk:

   az vm disk attach -g <MyResourceGroup> --vm-name <vm_name> --name <disk_name> --new --size-gb <disk_size>


      Example:
   az vm disk attach -g rg-east-01 --vm-name vm-reporting --name data-disk --new --size-gb 250

Note
titleNote
  • When a vNIOS instance is deployed on a managed disk by using the Azure CLI, cloud-init functionalities do not work as expected. If you need to use the cloud-init functionalities, Deploy the vNIOS instance on an unmanaged disk.
  • Starting from NIOS 8.6.2, IB-V5005 is the only reporting appliance supported. The appliance has been deployed and tested only with Managed disks in the Infoblox laboratory.