Deploy UniFi Controller in Azure

Tutorials

/

Posted on

November 27, 2015

Here is an 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 the Resource Manager model and installs UniFi Controller.

  • StorageAccount
  • Virtual Network
  • Subnet
  • Virtual Machine (Ubuntu)
  • PublicIP
  • Nic
  • Network Security Group
  • 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 an Azure subscription before you can deploy this UniFi Controller. If you don't, 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, let's deploy the controller.

See the image 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 about awhat to input in a parameter, click the "i" to the 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 into https://ip:8443 and do your setup. Then SSH to your UniFi devices, APs, Switches, and USG and enter the following commands:


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

Written by

Jonas Erikson