Deploying Edge SWG Virtual Appliance on Azure

1. Download the Installation Package

From the Broadcom support portal, download the Edge SWG Azure installation package.
This package includes:

  • The VHD file (e.g., ProxySG_SWG_Azure_****.vhd)
  • The azure_create_image.bsh script
  • The official installation instructions
image-20250814211938187

2. Create a Storage Account in Azure

  • In the Azure Portal, search for Storage Accounts and click + Create.
image-20250814194401930
image-20250814194502596
  • In the Azure Portal, search for Storage Accounts and click + Create.
  • Enter a Storage account name (letters/numbers only — no hyphens or special characters).
  • If you do not have a Resource Group yet, create one.
  • Region: Select an appropriate region — note that prices vary, and cross-region transfers may incur extra costs.
  • Performance/Redundancy: Choose defaults unless you have specific requirements.
image-20250814194716878
  • Ensure Hierarchical namespace is disabled.
image-20250814195259172
  • Ensure Public network access is enabled (required for upload).
image-20250814195338399

Click Review + Create, then Create. Deployment takes a few minutes.

image-20250814195939638

3. Create a Container and Upload the VHD

  • Go to your new Storage Account → Containers → + Container.
  • Give it a name (e.g., vhds) and create it.
image-20250814200039756
  • Inside the container, click Upload.
  • Select your ProxySG_SWG_Azure_****.vhd file from the installation package.
  • Important: Set Blob type to Page blob — Azure requires page blobs for OS disks.
  • Click Upload and wait for completion.
image-20250814200220771

4. Prepare Azure Cloud Shell

  • In the Portal’s top navigation bar, click the Cloud Shell icon.
  • If this is your first time, follow the Getting Started setup:
    • Choose Bash.
  • When prompted for storage, select the Storage Account you just created.
  • Once initialized, you will see a shell prompt.
image-20250814200347141
image-20250814200556915
image-20250814200650917

5. Upload and Run the Deployment Script

  • In Cloud Shell, upload the azure_create_image.bsh script from the installation package.
  • Use the Upload/Download files button in the Cloud Shell toolbar.
image-20250814202729892
  • Make it executable: bash chmod +x azure_create_image.bsh
  • Run the script with the following format:

./azure_create_image.bsh \ --image-name <va-image-name> \ --location <resource-group-location> \ --resource-group <resource-group-name> \ --subscription <subscription-id> \ --storage-account <storage-account-name> \ --container <container-name> \ --os-disk <os-disk-name>

Parameter details:

  • --image-name : Name for the Managed Image (e.g., edge-swg-img).
  • --location : Azure region (must match Resource Group’s region).
  • --resource-group : Resource Group name.
  • --subscription : Subscription ID (find under Subscriptions in Portal).
  • --storage-account : Your Storage Account name.
  • --container : The container holding the VHD.
  • --os-disk : The VHD file name inside the container.
image-20250814204111548

6. Create the Virtual Machine

  • Go to Images in the Azure Portal and select the image created by the script.
image-20250814204255199
image-20250814204346523
  • Click + Create VM.
image-20250814204427571
  • Basics:
  • VM name (e.g., edge-swg-01)
  • Region will be pre-selected (from image)
  • Size: Minimum 2 vCPUs, 8 GB RAM. In this example: B2ms
image-20250814204522542
image-20250814204614273
  • Authentication:
  • Choose SSH public key or Password (password used in this guide).
image-20250814204702190

Disks:

  • The OS disk is preconfigured.
  • Add two additional 100 GB data disks (HDD to save costs).
image-20250814204839646
image-20250814204916362
image-20250814205213391
image-20250814205108104
image-20250814205241572
  • Networking:
  • Attach to your target VNet and Subnet.
  • Initially add a Public IP for configuration convenience (you can remove it later).
image-20250814205336374
  • Click Review + Create → Create. Deployment takes several minutes.

7. Configure Network Security Rules

  • Go to the newly created VM → Networking.
  • Edit the Network Security Group (NSG) to allow:
  • TCP 22 (SSH)
  • TCP 8080 (Proxy)
  • TCP 8082 (HTTPS management console)
image-20250814205705230
image-20250814205746811

8. Initial Appliance Setup

  • SSH into the VM using the Public IP and the credentials you configured.
  • Complete the initial Edge SWG configuration in the CLI.
  • Reboot the appliance.
image-20250814211510580

9. Access the Web Management Console

  • In a browser, go to:
https://<VA_IP>:8082
  • Log in with the credentials you set.

10. Install the License

  1. Navigate to Maintenance → Licensing in the web console.
  2. Click Retrieve or Install License.
  3. Log in with your Broadcom Support account to download and apply the license.
image-20250814211653674

Refresh the page and confirm the license status is active.

image-20250814211808370

11. Post-Deployment Notes

  • Remove Public IP if not needed.
  • Restrict NSG rules to trusted IPs.

Leave a Reply

Your email address will not be published. Required fields are marked *