After uploading the vNIOS image, you are ready to create a VM instance and deploy it from the Azure CLI. Starting
Note | ||
---|---|---|
| ||
Starting from NIOS 8.5.3, |
...
Azure virtual appliances can be deployed with managed disks. From NIOS 9.0.1 onwards, they can be deployed only with managed disks. |
Excerpt |
---|
To deploy a vNIOS image, complete the following steps : Create a managed disk with the following details:az disk create --name <managed_disk_name> --resource-group <resource_group_name> --size 250 --sku Premium_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 Note: For better performance, specify Premium_LRS as thesku .Example: az disk create --name nios-managed-disk --resource-group rg-east-01 --size 250 --sku Premium_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 Create in the Azure CLI: 1. Create two network interfaces by specifying the resource group, subnet, and virtual network names corresponding to the interfaces: 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.
2. Create a NIOS instance by attaching the network interfaces and the managed disk to it. Provide the following details:
|
43. 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
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 | ||
---|---|---|
| ||
|
...