August 1, 2017

UNMS on Azure

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.

  1. Create new VM "Docker on Ubuntu Server"
  2. clip_image001

    1. For VM Size, I used Basic A1, which nearly corresponds with the requirements for RAM (1.75GB vs 2 GB)
  3. Connect to VM using Putty
    1. Username and pwd are the ones you typed in when creating the VM
  4. Update Ubuntu to 16.04.1 (or newer)
  5. $ sudo apt-get update
    $ sudo apt-get dist-upgrade

  6. To check upgrade succeeded, run
  7. $ lsb_release -a

  8. According to UNMS installation steps at https://github.com/Ubiquiti-App/UNMS/wiki/Installation-%26-Update run commands
  9. $ curl -fsSL https://raw.githubusercontent.com/Ubiquiti-App/UNMS/master/install.sh > /tmp/unms_install.sh && sudo bash /tmp/unms_install.sh

  10. Add HTTP endpoint to Azure VM, optionally allowing it only from your IP address
  11. Connect to UNMS using browser at http://xyz.cloudapp.net
  12. 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

Optional modifications

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”.

 

No comments:

Post a Comment