Below are the bare minimum steps to install Ubiquiti’s Network Management System on a Docker container on Azure Ubuntu VM. After adding my ER-X-SFP v 1.9.7 to UNMS, I can now see it on the UNMS console.
- Create new VM "Docker on Ubuntu Server"
- For VM Size, I used Basic A1, which nearly corresponds with the requirements for RAM (1.75GB vs 2 GB)
- Connect to VM using Putty
- Username and pwd are the ones you typed in when creating the VM
- Update Ubuntu to 16.04.1 (or newer)
- To check upgrade succeeded, run
- According to UNMS installation steps at https://github.com/Ubiquiti-App/UNMS/wiki/Installation-%26-Update run commands
- Add HTTP endpoint to Azure VM, optionally allowing it only from your IP address
- Connect to UNMS using browser at http://xyz.cloudapp.net
- In UNMS Settings, I changed the “Ping Address” to ping.ubnt.com as suggested at https://community.ubnt.com/t5/UNMS-Ubiquiti-Network-Management/ICMP-blocked-to-UNMS-in-Azure/m-p/2007979#M219
$ sudo apt-get update
$ sudo apt-get dist-upgrade
$ lsb_release -a
$ curl -fsSL https://raw.githubusercontent.com/Ubiquiti-App/UNMS/master/install.sh > /tmp/unms_install.sh && sudo bash /tmp/unms_install.sh
In addition I changed UNMS Inform port using the following command, and added endpoint to Azure to allow it from my home IP.
$ sudo bash /tmp/unms_install.sh --ws-port 8444
I also added CNAME to my DNS provider to access UNMS using my my own domain name. In UNMS settings at Settings –> UNMS I added this custom domain name unms.mydomain.com to “UNMS Hostname/IP”.