Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device.
Atlassian cookies and tracking notice, (opens new window)
Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
🔍 Discover Our Product Documentation

Barracuda CloudGen Firewall 8.3 (EoL – Doc maintenance discontinued)
Results will update as you type.
  • Deployment
    • Hardware
    • Virtual Systems (Vx)
    • Public Cloud
      • Microsoft Azure Deployment
        • How to Deploy a CloudGen Firewall in Microsoft Azure Using PowerShell and ARM
        • How to Deploy a CloudGen Firewall from the Microsoft Azure Marketplace
        • How to Deploy a CloudGen Firewall via Azure Templates
        • How to Modify Azure Templates to Retrieve the PAR File from a Control Center
        • How to Upload Azure VHD Images for User-Defined Images Using ARM
        • How to Upload Azure VHD Images for User-Defined Images Using PowerShell
        • Microsoft Azure Deployments in Azure Germany
        • How to Deploy a Firewall Control Center from the Microsoft Azure Marketplace
        • How to Deploy a High Availability Cluster with Cloud Integration from the Microsoft Azure Marketplace
      • Amazon AWS Deployment
      • Google Cloud Platform Deployment
  • Get Started
  • Network
  • High Availability
  • Licensing
  • Administration
  • Authentication
  • Cloud Integration
  • Assigned Services
  • Services
  • Firewall Control Center
  • Barracuda Secure Connector
  • Best Practice
  • Implementation Guides
  • Monitoring and Reporting
  • Maintenance
  • Remote Access Clients
  • Management Interfaces, Tools, and Apps
  • TUFIN Integration API Service
  • Hardware Models
  • REST API

    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    How to Upload Azure VHD Images for User-Defined Images Using PowerShell
    Published Jan 10

    How to Upload Azure VHD Images for User-Defined Images Using PowerShell

    Subscribe

    To deploy the Barracuda CloudGen Firewall on Microsoft Azure using Azure PowerShell, you can upload a local VHD image to a managed Azure disk and then create an Azure gallery image definition.

    Before You Begin

    • Download the CloudGen Firewall or Control Center VHD disk images from the Barracuda Download Portal.

    • Install Azure PowerShell version 7 or higher.

    • Log into your Azure account with Login-AzureRmAccount.

    Step 1. Upload the Local VHD as a Managed Disk

    1. Open an Azure PowerShell.

    2. To upload a local VHD file to a managed Azure disk, use the PowerShell command:

    Add-AzVhd -LocalFilePath <path> -ResourceGroupName <resource-group> -Location <region> -DiskName <name> -DiskOsType Linux -DiskHyperVGeneration V1 [-DiskZone <zone>]

    For the command, replace the following details:

    * path: full path to the local VHD file * resource-group: name of the resource group where the managed disk will be created * region: region where the managed disk will be created * name: name of the managed disk * zone: (optional) name of the availability zone, if high availability is desired (and supported by the chosen region)

    This command first computes an MD5 checksum of the image and then starts the upload itself. When done, a managed disk will be created in the target region and resource group with the specified name.

    Step 2. Create the Azure Gallery Image Version

    Create an Azure gallery image version from the managed disk created in the previous step.

    1. Log into the Azure portal: https://portal.azure.com

    2. Go to the managed disk created at the previous point.

    3. Select + Create VM image version.

      managed_disk.png
    4. The Create VM image version window opens.

    5. Select the name of the Resource group that will hold the Azure gallery.

    6. Enter the Version number of your Barracuda CloudGen Firewall.

      create_image_version_01a.png
    7. In the Gallery details section, select a name for your gallery, or click Create new to create a new entry.

    8. Click Create new to create a VM image definition.

    9. The Create a VM image definition window opens. Fill in VM image definition name, Publisher, Offer, and SKU.

      create_image_version_01b.png

    10. Click Ok.

    11. Click Next : Replication.

    12. In the Replication dialog, chose the number and the name of the regions holding replicas.

    13. Click Next : Encryption.

    14. In the Encryption dialog, leave the settings as default.

      create_image_version_03.png

    15. Click Next : Tags.

    16. In the Tags dialog, add your tags if needed.

    17. Click Review + create.

      create_image_version_04.png

    18. Review your settings and click Create. Wait for the deployment to finalize. Note that this can take some time depending on how fast the replication is done.

    After the deployment is finalized, you can use the Azure gallery image definition to launch VM instances through the usual methods.

    Next Steps

    Deploy a CloudGen Firewall VM using the uploaded source image via Azure PowerShell. For more information, see How to Deploy a CloudGen Firewall in Microsoft Azure Using PowerShell and ARM.


    We value your feedback.
    If you have questions, suggestions, or feedback on our documentation, contact the Campus Product Documentation team.
    For general product inquiries or technical support, please contact the global Barracuda Support team.

    {"serverDuration": 11, "requestCorrelationId": "eef674ebaf1344d38d2c271232ed6b24"}