Deploy UniFi Controller in Azure

If you know what you want, click button below to Deploy UniFi controller.
For instructions keep reading on.

UniFI Controller Azure

Here is a ARM template I created to deploy an UniFi Controller in Azure.
The template deploys a fully configured and working environment with minimal user interaction.

It creates all necessary Resources within Azure in Resource Manager model and installs UniFi Controller.

  • StorageAccount
  • Virtual Network
  • Subnet
  • Virtual Machine (Ubuntu)
  • PublicIP
  • Nic
  • Network Security Group
    • Ports Allowed inbound
      • 22 TCP
      • 8443 TCP
      • 8080 TCP
      • 8088 TCP
      • 8843 TCP
      • 3478 UDP
  • Installs the Unifi Controller software

All inbound traffic is only allowed from the IP you specify in the Edit Parameters section “ExternalIPofDevices”

You need to have a Azure subscription before you can deploy this UniFi Controller.
If you dont, you can register for a free trial here (Or contact us, and we will help)
The cost for running the controller in Azure will be a couple of dollars per month.

Ok, lets deploy the Controller.

Hit this button to fire away the deployment script.
Or see my Github repo

UniFI Controller Azure

See below for the values that you need to put in.
You need to set the parameters in the Edit Parameters section and set which subscription and location you want to use.
If you are unsure on a what to input in a parameter, click the “i” to right of the parameter.

Azure Custom Script

So here you go.

A one click install of a fully configured and functional UniFi Controller.
The only thing left after the deployment is done is to surf in to https://ip:8443 and do your set up.
Then SSH to your Unifi devices (with an ssh client, if windows for example putty or mac use the ssh command from the terminal), APs, Switches, USG and do the following

mca-cli
set-inform http://ip:8080/inform