The CloudSOE UniFi Network image runs the UniFi Network Application — the controller for Ubiquiti access points, switches and gateways — on a hardened Ubuntu base with Java 21 and MongoDB 8.0. A cloud-hosted controller manages devices at any number of sites without hardware at each one. There is no credentials file: you create the admin account yourself in the setup wizard.
What you’ll need
- An Azure subscription
- An SSH public key (password login is disabled in the image)
- About ten minutes, plus access to the UniFi devices you’ll adopt
Step 1 — Create the VM
- Find the CloudSOE UniFi Network offer in the Azure Marketplace and click Create.
- Choose a resource group, region and VM name.
- Pick a size — 2 vCPU / 4 GB (for example
Standard_B2sorStandard_D2as_v4) suits most deployments; the controller and MongoDB are light until you manage hundreds of devices. - Under Administrator account, select SSH public key, pick a username (e.g.
azureuser) and paste your key. - Attach a public IP and set it to Static. This is essential for UniFi: every adopted device phones home to this address, and if it changes your whole estate goes offline until you re-inform each device.
Step 2 — Open the firewall ports
In the VM’s network security group, allow inbound — the image uses the standard UniFi ports, unchanged:
| Port | Protocol | Purpose |
|---|---|---|
| 22 | TCP | SSH administration — restrict to your IP |
| 8443 | TCP | Web UI (HTTPS) — restrict to your IP |
| 8080 | TCP | Device inform — open to your devices’ networks |
| 3478 | UDP | STUN — open to your devices’ networks |
| 8880 | TCP | Guest portal (HTTP) — only if you use guest hotspots |
| 8843 | TCP | Guest portal (HTTPS) — only if you use guest hotspots |
Port 10001/UDP (device discovery) is only used on the local network — remote devices don’t need it through the NSG.
Step 3 — Complete the setup wizard
The unifi service starts automatically; give it a minute or two after deployment. From your own machine (an Azure VM often cannot reach its own public IP from inside), browse to https://<public-ip>:8443. Your browser will warn about the controller’s self-signed certificate — expected on a fresh instance.
The wizard asks you to name the controller and create your admin account (a Ubiquiti account for remote management, or a local-only account via the advanced option). That account is yours — it is never stored in the image.
Step 4 — Adopt your remote devices
Devices on other networks won’t discover a cloud controller by themselves — point them at it:
- In the controller, go to Settings → System → Advanced, enable Override Inform Host and enter your VM’s public IP.
- On each device, set the inform address. SSH to the device (default credentials
ubnt/ubnton factory-fresh gear) and run:
set-inform http://<public-ip>:8080/inform
- The device appears in the controller as Pending Adoption — click Adopt. Once adoption completes, the device persists the inform address and reconnects on its own from then on.
Make sure the device’s site allows outbound traffic to your VM on TCP 8080 and UDP 3478.
Next steps
- Configure UniFi Network — file locations, services, ports and inform-host details
- Tips & tricks — backups, updates, adoption troubleshooting and hardening