Deploy Web Safety and Squid Proxy in Azure

In order to deploy Web Safety web filter in Microsoft Azure, login to portal.azure.com and select Virtual Machines link on the left side tree as shown on the following screenshot. You should see the list of your currently deployed virtual machines (in our case it is empty).

../../_images/virtual_machine_list.png

Click Add and type web safety in the Search Compute filter field. Press Enter and Web Safety appliance shall appear in the result table.

../../_images/search_for_web_safety.png

Click on Web Safety Proxy 6.2 BYOL and then Create button on the bottom.

../../_images/create_websafety_62.png

Fill in the basic settings as desired and click OK. In our case we have set the virtual machine name to websafety-azure-proxy and user name to builder. You are free to choose any name for virtual machine and any initial user. Note that this user is only used to login into the virtual machine using SSH, to login into browser based Admin Console of Web Safety you will use default root and Passw0rd credentials later.

../../_images/create_websafety_basics.png

Now select what size of virtual machine is required. As web filtering is quite CPU intensive we always recommend to deploy a virtual machine with at least 4 CPU Cores and 16Gb of memory. You can of course select any size of virtual machine you need.

../../_images/create_websafety_size.png

Configure optional features virtual machine features. By default firewall rules allow for incoming connections to port 22 (SSH), port 80 (Admin Console of Web Safety), port 443 if you later decide to switch Admin Console to HTTPS (recommended) and of couse port 3128 for proxy connections from the browser.

../../_images/create_websafety_optional_features_firewall_settings.png

Now confirm you agree with Microsoft terms and conditions and click OK.

../../_images/create_websafety_final.png

After a while your list of virtual machine will be populated with deployed virtual machine of Web Safety.

../../_images/virtual_machine_list_with_vm.png

Clicking on it gives access to the properties of the running virtual machine. Most important property is of course Public IP address which we will use to connect to the virtual machine on the next step.

../../_images/virtual_machine_properties.png