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)
/
How to Upload Azure VHD Images for User-Defined Images Using ARM
Published Jan 09

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

Subscribe

To use the VHD disk images from the Barracuda Download Portal to deploy your CloudGen Firewall or Control Center in Azure, you must upload the images to your storage account. 

If you prefer to use the Microsoft Azure Portal, download the CloudGen Firewall or Control Center VHD disk images from the Barracuda Download Portal, then upload the VHD to a storage container as a page blob. Follow the instructions at Microsoft to create an image, but instead of using a virtual machine, use the VHD uploaded before. For more information, see https://docs.microsoft.com/en-us/azure/virtual-machines/windows/create-vm-generalized-managed.

Before You Begin

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

  • Install Azure PowerShell version 1.1.0 or higher.

  • Log into your Azure account with Login-AzureRmAccount.

Step 1. Create a Resource Group for Storage

Create an Azure resource group for the storage account. Skip this step to use an existing Azure resource group.

  1. Open an Azure PowerShell.

  2. Create a resource group:

    New-AzureRmResourceGroup -Name RESOURCE_GROUP_NAME -Location LOCATION

Step 2. Create a Storage Account

Create an Azure storage account in the resource group created in Step 1. Skip this step to use an existing Azure storage account.

  1. Open an Azure PowerShell.

  2. Create a storage account:

    New-AzureRmStorageAccount -ResourceGroupName RG_NAME -Name STORAGE_ACCOUNT_NAME -Type Standard_LRS -Location YOUR_LOCATION
azure_create_storage_account.png

Step 3. Create a Container and Upload the VHD Disk Image

Create a Blob container and then upload the VHD disk image to the storage account.

  1. Open an Azure PowerShell.

  2. Create a Blob container:

    $storageAcc = Get-AzureRmStorageAccount -ResourceGroupName RESOURCE_GROUP_NAME -Name STORAGE_ACCOUNT_NAME New-AzureStorageContainer -Name CONTAINER_NAME -Context $storageAcc.Context -Permission Blob
azure_create_new_container.png
  1. Upload the VHD disk image:

    Add-AzureRmVhd -LocalFilePath PATH_TO_LOCAL_DISK_IMAGE_FILE -ResourceGroupName RESOURCE_GROUP_NAME -Destination "$($storageAcc.PrimaryEndpoints.Blob)CONTAINER_NAME/DISK_IMAGE_NAME.vhd"
azure_upload_vhd_disk_image.png

You can now use the uploaded VHD disk image for your custom PowerShell or template-based Azure deployments using the Azure Resource Manager.

To create a reusable image that can be paired with managed disks, you can use the following commands:

$imageConfig = New-AzureRmImageConfig -Location $location $imageConfig = Set-AzureRmImageOsDisk -Image $imageConfig -OsState Generalized -OsType Linux -BlobUri "$($storageAcc.PrimaryEndpoints.Blob)CONTAINER_NAME/DISK_IMAGE_NAME.vhd" $image = New-AzureRmImage -ImageName IMAGE_NAME -ResourceGroupName RESOURCE_GROUP_NAME -Image $imageConfig

Next Steps

Deploy a CloudGen Firewall F 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.

🔍 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.
    {"serverDuration": 13, "requestCorrelationId": "7ff303552e6e49af93182b7880944b10"}