This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

[XG on Azure] How to Deploy the Sophos XG Firewall on Microsoft Azure using Powershell (Imperative method)

I wrote a blog on this and a script to do the job (I will be recording a video on this later today which I'll link below). Please see both links below. All you need to do is edit the variables section and you're good to go! Happy deploying :)

github.com/.../sophosXgIaaSImperative.ps1

davidokeyode.wordpress.com/.../

[UPDATE] Video walkthrough - https://www.youtube.com/watch?v=V6sNvBxOBuc 



This thread was automatically locked due to age.
Parents
  • Is there support for using managed disks yet? Or is it only supported using blob storage?

  • Yes managed disks are supported. The Sophos provided template in the Sophos GitHub account can be modified to use managed disks rather than un-managed ones. If you need help with this, here's a sample template that I created that deploys the Sophos XG firewall to Azure using managed disks and premium storage! - https://raw.githubusercontent.com/iaasteamtemplates/XgOnAzurePOC/master/sophos-xg-managed-disk.json

     

    You can deploy this via the Azure portal or using powershell with a parameters file.

  • DavidOkeyode said:

    Yes managed disks are supported. The Sophos provided template in the Sophos GitHub account can be modified to use managed disks rather than un-managed ones. If you need help with this, here's a sample template that I created that deploys the Sophos XG firewall to Azure using managed disks and premium storage! - https://raw.githubusercontent.com/iaasteamtemplates/XgOnAzurePOC/master/sophos-xg-managed-disk.json

     

    You can deploy this via the Azure portal or using powershell with a parameters file.

     

     

    Is there anyway I you can help me with Powershell script? I tried to modify your existing script to convert from blob to managed disks but I can't seem to get it to work.

    When using the Parameters file, it errors on me saying I can't use more than 2 NIC interfaces even though the Standard_F4 supports up to 4 NICs. I want to have a 3rd one for DMZ.

    Any help would be appreciated!

     

  • I've tried multiple deployments and cannot get Managed Disks to work at all.

     

    Logging in fails almost 50% of the time. I cannot do firmware upgrades unless I click 'upload file' and perform it manually which also fails several times before finally working.

     

    Every time I test with vhds (original deployment) it works no problems.

     

    Somewhere during provisioning, my guess is it's looking to install some files in the storage container location and not the managed disks.

  • Hi Mark,

    I've also done this deployment (using the ARM template that I sent to you above) multiple times and not ran into the issues that you described. Could it be because the disk size was modified (I noticed now that you're using a custom disk size). Can you try creating with just the default from the image. I'm also still awaiting your email address in the DM that I sent. I'm at the Microsoft Ignite conference all week so can only send you a Zoom call invite for mid-next week (if I get your email).

    Thanks.

     

Reply
  • Hi Mark,

    I've also done this deployment (using the ARM template that I sent to you above) multiple times and not ran into the issues that you described. Could it be because the disk size was modified (I noticed now that you're using a custom disk size). Can you try creating with just the default from the image. I'm also still awaiting your email address in the DM that I sent. I'm at the Microsoft Ignite conference all week so can only send you a Zoom call invite for mid-next week (if I get your email).

    Thanks.

     

Children