Fortinet black logo

Creating a FortiSandbox VM using the Azure CLI

Creating a FortiSandbox VM using the Azure CLI

To create the VM using the Azure CLI:
  1. Create the VM using the Azure CLI with FortiSandbox on the Azure Marketplace with the two network interfaces you created.

    az vm create --resource-group [resource group name] --location [location name] --name [vm name] \

    --image "fortinet:fortinet_fortisandbox_vm:fortinet_fsa-vm:3.0.2" --size [vm size] \

    --nics [NIC for port1] [NIC for port2] \

    --generate-ssh-keys --verbose

    Screenshot of azure CLI command, az vm create

    The Marketplace URN is subject to change without notice. To get the latest FortiSandbox image URN, use this command:

    az vm image list -p fortinet -f fortinet_fortisandbox_vm --all --query "[].urn"

  2. Get the default admin password for the FSA VM using the Azure CLI.

    The VM-ID UUID is the default password for admin access.

  3. Log into FortiSandbox using the default username admin and the password you retrieved in the previous step.
  4. In the FortiSandbox Dashboard, upgrade the firmware to the latest GA image.

Creating a FortiSandbox VM using the Azure CLI

To create the VM using the Azure CLI:
  1. Create the VM using the Azure CLI with FortiSandbox on the Azure Marketplace with the two network interfaces you created.

    az vm create --resource-group [resource group name] --location [location name] --name [vm name] \

    --image "fortinet:fortinet_fortisandbox_vm:fortinet_fsa-vm:3.0.2" --size [vm size] \

    --nics [NIC for port1] [NIC for port2] \

    --generate-ssh-keys --verbose

    Screenshot of azure CLI command, az vm create

    The Marketplace URN is subject to change without notice. To get the latest FortiSandbox image URN, use this command:

    az vm image list -p fortinet -f fortinet_fortisandbox_vm --all --query "[].urn"

  2. Get the default admin password for the FSA VM using the Azure CLI.

    The VM-ID UUID is the default password for admin access.

  3. Log into FortiSandbox using the default username admin and the password you retrieved in the previous step.
  4. In the FortiSandbox Dashboard, upgrade the firmware to the latest GA image.