There are three main ways to run the UniFi Controller: on your own computer with UniFi OS Server, on a UniFi console such as a Cloud Gateway, or on Ubiquiti's Official UniFi Hosting. Each puts the same Network application in a different place, with different trade-offs in cost, effort and features.

This comparison draws on Ubiquiti's documentation. It does not reflect hands-on testing by us.

At a glance

Self-hosted (UniFi OS Server)UniFi console / Cloud GatewayOfficial UniFi Hosting
Software costFree, license-freeIncluded with the hardwareSubscription
Who maintains itYouYou, on Ubiquiti hardwareUbiquiti
Runs Protect, Access, TalkNo, Network onlyYes, on compatible consolesNetwork
Best forLabs, APs and switches without a console, multi-site on a budgetMost homes and officesLarge or distributed estates

Self-hosted

UniFi OS Server runs on your own Windows, macOS or Linux machine. It costs nothing in licences, and you can size the hardware yourself. In exchange you handle installation, maintenance and uptime. It pairs with UXG-series gateways, but not with Cloud Gateways. Read how to install UniFi OS Server.

Strengths: no licence cost, full control over the host, flexible sizing for large networks, and a good fit for labs and sites with access points and switches but no UniFi console.

Weaknesses: you own every failure. A dead disk, a missed OS patch or a changed IP address all become your problem, and only the Network application is available.

UniFi console or Cloud Gateway

A Cloud Gateway or Dream Machine is a router with the controller built in. Ubiquiti's legacy self-hosting article recommends a dedicated UniFi console running UniFi OS for most people. Consoles also run other UniFi applications such as Protect, which cannot be self-hosted.

Strengths: one box for routing and management, no separate server to patch, and access to the wider UniFi application range on compatible models.

Weaknesses: the controller's capacity is fixed by the hardware you buy, and the gateway cannot later be handed to an external UniFi OS Server. If the network outgrows the console, you replace or add hardware.

Official UniFi Hosting

Ubiquiti's help centre says features are the same as UniFi OS Server, but Official UniFi Hosting is cloud hosted and maintained by Ubiquiti. Ubiquiti also lists it, along with the CloudKey Enterprise, for scaled deployments with hundreds of access points. Third-party hosts exist too. See UniFi hosting options and costs.

Strengths: no host to maintain, a controller that remote sites can reach, and a fit for deployments too large for a single console.

Weaknesses: a recurring subscription, and the controller lives outside your network, so devices must be pointed at it. Check ui.com for current plans and what each one includes.

How to choose

  • No UniFi gateway yet and want the simplest path: a Cloud Gateway.
  • Already have APs and switches, a spare always-on machine, and like tinkering: self-host.
  • Many sites and no appetite for server maintenance: official or third-party hosting.
  • Need cameras, door access or intercoms alongside networking: a compatible UniFi console.
  • Running a UXG-series gateway: self-host UniFi OS Server, or use Official Hosting or a CloudKey Enterprise.

If two options look equally good, pick the one whose maintenance work you are most likely to keep doing. A well-run self-hosted UniFi Controller beats a neglected one, and a console that is kept updated beats both.

Who does what with each option

The biggest practical difference between the three options is not features. It is the list of jobs that land on you. This table summarises the day-to-day responsibilities, based on how Ubiquiti describes each option.

TaskSelf-hostedConsole / Cloud GatewayOfficial UniFi Hosting
Choose and buy the host hardwareYouUbiquiti hardware you buyNot needed
Patch the host operating systemYouDelivered as UniFi OS updatesUbiquiti
Apply Network application updatesYouYou, through the consoleHandled as part of the service
Keep the host onlineYouYou (power and cabling)Ubiquiti
Back up the configurationYouYou, with cloud backup optionsCheck the plan details
Replace failed hardwareYouYou, via warranty or replacementNot your concern

Whichever option you pick, keep your own configuration backup. Our UniFi Controller backup and restore guide covers schedules and off-host copies.

Gateway and device compatibility

Compatibility rules often make the decision for you. Check these before buying anything:

  • Cloud Gateways and Dream Machines run their own controller. Ubiquiti says they cannot be managed by an external UniFi OS Server. If you own one, the controller is already running on it.
  • UXG-series gateways pair with a self-hosted controller. Ubiquiti suggests a UXG for self-hosted setups. Per the Network 11 release notes, UXG gateways require a CloudKey Enterprise, Official Hosting or UniFi OS Server.
  • The USG is limited to Network 10.6. Network 11 removes USG support, so a USG-based network cannot move forward on any option without replacing the gateway.
  • Each device has one host. A CloudKey and a self-hosted server cannot manage the same Network devices at the same time.
  • Other UniFi applications need a console. Protect, Access and Talk cannot be self-hosted with UniFi OS Server.

If your network runs a USG today, read what is new in UniFi Network 11 before choosing where the next controller will live.

Checklist before you self-host

Self-hosting the UniFi Controller works well when the host is set up properly from the start. Confirm each point before installing:

  1. Hardware meets the requirements. Ubiquiti's minimum is an x86-64 or ARM64 CPU, 2 GB of RAM and 10 GB of free storage. It recommends 4 cores and 4 GB of RAM for about 100 devices and 1,000 clients. See the UniFi Controller system requirements.
  2. Storage is an SSD. Ubiquiti discourages hard drives unless the host has at least 4 GB of RAM.
  3. The connection is wired. Ubiquiti lists 100 Mbps wired Ethernet as the minimum.
  4. The address is fixed. Use a static IP or a DHCP reservation so devices always find the inform address.
  5. The platform is supported. On Windows, UniFi OS Server installs WSL 2, is not supported in a Hyper-V guest VM and cannot run as a Windows service. Linux hosts should run a supported release such as Ubuntu 24.04 or later, or Debian 13 or later.
  6. The firewall allows device traffic. Devices use TCP 8080 for inform, UDP 3478 for STUN and UDP 10001 for discovery.
  7. Someone owns updates and backups. Put a name against the job, even on a home network.

Example scenarios

Apartment or small home, new to UniFi

A Cloud Gateway is the simplest route. One device provides routing and the controller, and there is no separate server to maintain. This matches Ubiquiti's recommendation of a dedicated console for most users.

Home lab with access points and a spare mini PC

Self-hosting fits well. UniFi OS Server is free, the mini PC is already paid for, and the controller sits on the same network as the devices, which keeps adoption simple.

Office that wants cameras and door access

Choose a compatible console. Protect and Access need UniFi OS on Ubiquiti hardware and cannot run on a self-hosted server.

Managed service provider with many small sites

A central controller is the goal. Options are a hardened cloud server running UniFi OS Server, Official UniFi Hosting, or a third-party host. The deciding factor is usually how much server maintenance the team wants to own. See multi-site management.

Switching options later

Your first choice is not permanent. Configuration can be moved between hosts with a backup or a site export. Plan the move like this:

  1. Take a fresh manual backup on the current controller and copy it off the host.
  2. Check that the target runs the same or a newer version of the Network application.
  3. Restore the backup on the new host, or import the site.
  4. Make sure devices can reach the new inform address. If the address changed, point devices at it as described in how UniFi device adoption works.
  5. Confirm every device shows as online before shutting down the old controller.

Moving from a Cloud Gateway to a self-hosted server only works for the access points and switches. The Cloud Gateway itself cannot be managed by an external UniFi OS Server, so you would also need a compatible gateway such as a UXG.

Common mistakes to avoid

  • Running a controller on a laptop that sleeps. Devices keep working, but statistics, alerts and guest portals depend on the controller being online.
  • Buying a Cloud Gateway and a self-hosted server. The two cannot share the gateway, so one of them is wasted.
  • Forwarding the management interface to the internet. Remote devices need the inform port and STUN, not the admin web interface. Use Site Manager remote access, a VPN or tight firewall rules. Our security guide explains why.
  • Skipping backups because hosting is "managed". Keep your own copy regardless of who runs the host.
  • Cloning a controller VM. Clones share remote access tokens. Ubiquiti advises against cloning except for high availability.

Frequently asked questions

Is a self-hosted UniFi Controller worse than a Cloud Gateway?

Not in Network features. The difference is who maintains the host and which other UniFi apps you can run.

Can I move from self-hosted to a console later?

Yes, by migrating the configuration with a backup or export. Plan for re-adoption if addresses change.

Can UniFi OS Server manage my Dream Machine?

No. Ubiquiti says Cloud Gateways cannot be managed by an external UniFi OS Server.

Is Official UniFi Hosting free?

No. It is a paid subscription. UniFi OS Server is the free self-hosted option.

Sources

Facts in this guide were checked against these sources on November 16, 2026. Ubiquiti updates its software and documentation often.

Written by the Unifi Controller editorial team

We write expert, source-checked guides to the UniFi Controller. We are not affiliated with Ubiquiti and do not claim hands-on test results unless stated. Spotted an error? Tell us and we will correct it.