To create your own custom Barracuda NextGen Firewall F-Series or NextGen Control Center images from the VHD disk images available in the Barracuda Download Portal, you must upload the VHD file to your Azure storage account. Then, you can create a custom image using the uploaded disk image.
In this article:
Before You Begin
- Download and install the latest version of Azure PowerShell.
- Download the Barracuda NextGen Firewall F-Series or NextGen Control Center VHD disk image from the Barracuda Download Portal: https://dlportal.barracudanetworks.com
Step 1. Create an Azure Storage Account
Create the storage account and a container as the upload destination.
- Log into your Microsoft Azure Management Portal (https://manage.windowsazure.com).
-
In the left pane, click STORAGE.
- In the bottom left corner, click + NEW. The Storage Account window opens.
-
Click Quick Create, and configure the following settings:
- URL – Enter a unique URL.
- Location/Affinity Group – Select your Location. E.g., West Europe
- Replication – Select Geo-Redundant.
- Click CREATE STORAGE ACCOUNT.
The storage account is ready when its status changes from Creating to Online.
Step 2. Create a Storage Container
You must create a storage container because you cannot create virtual machine images from files that are uploaded to the root directory of the storage account.
- Log into your Microsoft Azure Management Portal (https://manage.windowsazure.com).
- In the left pane, click STORAGE.
- Click the storage account that you created in Step 1.
- Click on the CONTAINERS tab.
- Click CREATE A CONTAINER.
- Enter a NAME for the container (e.g.,
vhd
). - From the ACCESS list, select Private.
- Click the check mark icon (
).
Step 3. Upload the Barracuda NextGen Firewall F-Series Azure VHD Image
Upload the Barracuda NextGen Firewall F-Series Azure VHD image to a Microsoft Azure storage container.
- Launch the Azure PowerShell.
- At the PS prompt, download your Azure Publish Settings file:
Get-AzurePublishSettingsFile
- Your default browser opens. Save the publish settings file.
-
Import the
publishsettings
file by typing:Import-AzurePublishSettingsFile c:\path-to-settingsfile\settingsfile.publishsettings
- Verify the Azure account subscription by typing:
Get-AzureSubscription
- Log into your Microsoft Azure Management Portal (https://manage.windowsazure.com).
- On the DASHBOARD page of the storage account, click Storage in the left pane and get the URL of the Blob destination (e.g.,
http://techlib.blob.core.windows.net
).
-
Upload the VHD to your Azure storage container by typing:
Add-AzureVhd -Destination <BLOBS-URL/container/FILENAME.vhd> -LocalFilePath <path-to-vhd-file/filename.vhd>
Step 4. Create a Virtual Machine from a VHD Image
Create a virtual image from the uploaded VHD image.
- Log into your Microsoft Azure Management Portal (https://manage.windowsazure.com).
- In the left pane, click VIRTUAL MACHINES.
- Click IMAGES.
- Click CREATE AN IMAGE.
- In the Create an image from a VHD window:
- Enter the NAME for the virtual image (e.g.,
BNG
). - Either enter the VHD URL, or click the folder icon to select the image that you uploaded in Step 3 from the storage container.
- From the OPERATING SYSTEM FAMILY list, select Linux.
- Select the check box to confirm that the Microsoft Azure Linux Agent has been run on the virtual machine associated with the VHD.
- Enter the NAME for the virtual image (e.g.,
- Click the check mark icon (
).
You can now select your custom Barracuda NextGen Firewall F-Series or NextGen Control Center image when deploying the VM.