This article provides information about creating a custom image in Azure for Virtual Machine Scale Set (VMSS) deployment.
Deploy and provision the Barracuda WAF instance by following the steps mentioned in Deploying and Provisioning the Barracuda Web Application Firewall in the New Microsoft Azure Management Portal to deploy the Barracuda Web Application Firewall instance.
License the Barracuda Web Application Firewall by following the steps mentioned under “Step 2. Licensing the Barracuda Web Application Firewall on Microsoft Azure” in Barracuda Web Application Firewall Quick Start Guide - Microsoft Azure.
After licensing is complete, log in to the Barracuda Web Application Firewall web interface and navigate to the ADVANCED > Firmware page.
On the ADVANCED > Firmware page, do the following:
Check if there is a new Latest General Release available. If available, perform the following steps to update the system firmware:
Click the Download Now button next to the desired firmware version. Once the download is complete, the Apply Now button will appear.
Click Apply Now to apply the firmware. The update process may take few minutes to complete.
After the firmware has been applied, the Barracuda Web Application Firewall will automatically reboot. When the system is up, the login page will be displayed.
Log back into the Barracuda Web Application Firewall web interface.
If the unit has any existing configuration, go to ADVANCED > System Configuration, then select Clear Configuration under Configuration Tools to reset it.
Open a web browser and enter <https://<ip>>:42833/ to access Web ConsConf.
Log in with your credentials.
Go to the Deprovisioning section and click the Deprovision button. Note: This is an irreversible action. Click Yes to confirm.
Once the instance has completely stopped, go to the Azure portal and locate the target virtual machine.
On the Overview page, in the Capture section:
Capture the VM image. You can choose to create either a simple image or an image version within an existing image definition.
After the image has been created, navigate to its Properties.
Copy the full Image ID.
Example:Image ID:
/subscriptions/<subscription ID>/resourceGroups/<resource group name>/providers/Microsoft.Compute/images/<image name>Image Definition ID:
/subscriptions/<subscription ID>resourceGroups/<resource group name>/providers/Microsoft.Compute/galleries/<gallery name>/images/<image definition name>/versions/<version number>
Use the copied Image ID to launch a new Virtual Machine Scale Set (VMSS) stack.