Creating a FortiSandbox VM using the Azure CLI
To create the VM using the Azure CLI:
- Because the Marketplace URN is subject to change without notice, get the latest FortiSandbox image URN using this command.
az vm image list -p fortinet -f fortinet_fortisandbox_vm --all --query "[].urn"
- Create the Azure FortiSandbox using Azure CLI from the Azure Marketplace with the network interfaces you created.
- Create the Azure FortiSandbox BYOL.
az vm create --resource-group [resource group name] --name [ FortiSandbox_BYOL_VM name] --image "fortinet:fortinet_fortisandbox_vm:fortinet_fsa-vm:3.1.2" --size [vm size] --nics [NIC for port1] [NIC for port2] [NIC for port3] --attach-data-disks [attach_data_disks_name] --boot-diagnostics-storage [boot_diagnostics_storage_container_name] --generate-ssh-keys --verbose
- Create the Azure FortiSandbox PAYG.
az vm create --resource-group [resource group name] --name [ FortiSandbox_PAYG_VM name] --image "fortinet:fortinet_fortisandbox_vm:fortinet_fsa-vm_payg:3.1.00" --size [vm size] --nics [NIC for port1] [NIC for port2] [NIC for port3]--attach-data-disks [attach_data_disks_name] --boot-diagnostics-storage [boot_diagnostics_storage_container_name] --generate-ssh-keys --verbose
- Create the Azure FortiSandbox BYOL.
-
Get the default admin password for the FSA VM using the Azure CLI.
The VM-ID UUID is the default password for admin access.
az vm list --output tsv -g [resource group name]
- Log into FortiSandbox using the default username admin and the password you retrieved in the previous step.
- Go to the Azure portal and verify that the data disk is attached to FortiSandbox.
- In the FortiSandbox Dashboard, upgrade the firmware to the latest GA image.