Creating Azure Compute Gallery from the Azure portal
See Store and share images in an Azure Compute Gallery. You can also create a Compute Gallery via the Azure CLI. See Create a gallery for storing and sharing resources.
Creating an image definition
You can create an image definition via the Azure portal or CLI. The following summarizes recommended parameter values to set for the image definition:
Parameter |
Recommended value |
---|---|
subscription ID |
Enter the subscription ID if the tenant has multiple subscriptions. |
publisher |
Fortinet |
os-type |
linux |
architecture |
Arm64 |
hyper-v-generation |
V2 |
os-state |
Generalized |
You can configure other parameters as fits your requirements. See az sig image-definition create.
Under the newly created VM definition, you can create a new image version.
To create an image version:
- In the Azure portal, go to the VM image definition.
- Click Add Version.
- Enter the subscription and resource group information.
- Under Version details, configure the following:
- For Version Number, enter the image version number.
- For Source, select Storage blobs (VHDs).
- For Os Disk, browse to the VHD uploaded to the storage account in Downloading the FortiGate image.
After Azure creates the image version, you can deploy a new FortiGate-VM from the image.