How to Deploy a High Availability Cluster with Cloud Integration from the Microsoft Azure Marketplace

How to Deploy a High Availability Cluster with Cloud Integration from the Microsoft Azure Marketplace

You can install the Barracuda CloudGen Firewall as a virtual machine in the Microsoft Azure public cloud. The Azure solution template deploys either a single firewall or a high availability cluster into a dedicated subnet of a new or existing virtual network. For more information on the deployment of a single firewall, see How to Deploy a CloudGen Firewall from the Microsoft Azure Marketplace. You can deploy a high availability cluster from the marketplace with Cloud Integration. In case of a failover, the Azure route table is rewritten to use the active firewall. Due to the limitation of Azure networking, all active sessions will time-out whenever a failover occurs. For more information on high availability and high availability in Azure, see High Availability and High Availability in Azure.

You can choose between the following images in the Azure Marketplace:

  • Bring Your Own License (BYOL) – Uses licenses purchased directly from Barracuda Networks. Barracuda Networks offers a 30-day evaluation license.

  • Pay As You Go (PAYG) – No dedicated licenses required. Licensing fees are included in the hourly price of the virtual machine. All charges are billed directly through your Microsoft Azure account.

Before You Begin

Deployment of the Firewall from Marketplace

Step 1. Basics
  1. Go to the Azure portal: https://portal.azure.com

  2. In the upper-left corner, click + Create a resource

  3. Search the Marketplace for Barracuda CloudGen Firewall & SD-WAN for Azure and click Barracuda CloudGen Firewall & SD-WAN for Azure.

  4. In the next window, click Create.

  5. In the Basics blade, configure the following settings:

    • Subscription – Select your subscription.

    • Resource Group – Select an existing resource group to deploy to, or click Create new for a new resource group.

    • Region – Select the desired location the firewall will be deployed to. 

    • Firewall Name – Enter the hostname for the CloudGen Firewall.

    • License scheme – Select either PAYG or BYOL.

    • Firmware version – Select one of the available firmware versions. Barracuda Networks recommends deploying the highest available version.

  6. Click Next : High Availability >.

Step 2. High Availability

In this blade, you can create either a high availability cluster or a single firewall.

  1. High availability mode – Select Active/passive HA cluster from the drop-down menu. 

  2. Click Next : Size and Networking >.

If possible, the high availability cluster will be deployed into an availability zone. Otherwise, it will be deployed into an availability set.

Step 3. Size and Networking
  1. In the Size and Networking blade, configure the following settings:

    • Choose a firewall VM size – Select the size of the virtual machine.

    • VM disk typeSelect the disk type of your firewall virtual machine.

    • Virtual networkSelect an existing Virtual network, or create a new one. 

    • HA firewalls cluster subnet – Select an existing subnet, or create a new one. This subnet will host your firewalls. The firewalls must be placed in a different subnet than the protected instances.

    • Primary firewall's public IP address name – Select an existing Public IP address, or create a new one. 

      To create a new public IP address, click Create new and select Standard SKU. Click OK.

    • Primary firewall's domain name label – Enter a domain name for your primary firewall.

    • Secondary firewall's public IP address name – Select an existing Public IP address, or create a new one. 

      To create a new public IP address, click Create new and select Standard SKU. Click OK.

    • Secondary firewall's domain name label – Enter a domain name for your secondary firewall.

  2. Click Next : Firewall Management >.

Step 4. Firewall Management
  1. In the Firewall Management blade, configure the following settings.

  1.  

    • Management ACL – Introduces a network security group that restricts access to management ports of the firewall. Enter 0.0.0.0/0 to allow access from any network and to skip creating a network security group.

    • Root password – Enter the password for the root user of the firewall.

    • Confirm password – Retype the password for the root user of the firewall.

  2. Click Next : Advanced >.  

Step 5. Advanced
  1. In the Advanced blade, configure the following settings.

    • Private IP address of the primary firewallEnter a static private IP address from the subnet the firewalls are deployed to. The first four and the last IP addresses in the subnet are reserved by Azure.

    • Private IP address of the secondary firewall – Enter a static private IP address from the subnet the firewalls are deployed to. The first four and the last IP addresses in the subnet are reserved by Azure.

    • VM size – If not already configured, change the virtual machine size.

    • Accelerated networking – Enable or disable Azure accelerated networking if the size of your virtual machine meets the requirements of Microsoft.

    • SSH management access – Select Enabled to allow SSH access to the Barracuda CloudGen Firewall, and enter the SSH public key.

  2. Click Next : Review + create >.

Step 6. Summary
  1. The basic configuration of the Barracuda CloudGen Firewall is validated, and if no errors are found, the virtual machine is ready for provisioning. For automated deployments, you can download the configuration template.

  2. Click Create

  3. Wait for Microsoft Azure to finish the deployment of your firewalls. 

  4. Go to Virtual machines, click on the primary firewall VM, and locate the Public IP address used to connect to your firewall. Use this IP address to connect to your firewall via Barracuda Firewall Admin. The username is root and the password is the password you configured in Step 4.

Configure Cloud Integration

Configure the Cloud Integration to automatically rewrite the Azure routing table in case of a failover to use the active firewall.

Step 1. Get Your Subscription ID
  1. Log into the Azure portal: https://portal.azure.com    

  2. In the left menu, click Subscriptions 

  3. Copy the Subscription ID in the Subscription ID column.