Site icon Chris Colotti's Blog

Migrating Ubiquiti Unifi Controllers and Sites

So after all this toying around with the Ubiquiti Unifi Cloud Key, and knowing I have all my sites in a cloud controller on EC2, it was time to see what migrating controllers would look like.  I decided to try out the process of moving controllers to see what it might look like.  What I discovered was a few interesting tidbits and I am now conflicted where I want to run my controller(s) going forward.  Take a read and let me know what you think about my new dilemma.  I will mention all of this feedback I already sent to UBNT-Brandon before I put the post together.  I wanted to make sure they had the feedback first since some of the experience was the first time it was not over the top awesome.  It’s not horrible, but it can use a little TLC.

Unifi Controller Backup and Restore

Suffice to say this is the only way to really manage any migration process.  You will backup the controller and restore it onto another one.  This process is surprisingly simple for sure.  I don’t think anyone could have made the process easier.  Just log into you controller under Maintenance and you will see the backup and restore sections.

Click backup to download the .UNF file and then go to the other controller and select it to restore and boom….done…..mostly.  What I mean is there is a couple of things to understand about this process especially if you are like me trying to restore a three site controller to individual cloud keys.

Once the controller was restored, in my case I deleted the other sites since on this controller my personal site was already the “Default” and outside of the missing map data, everything worked fine.  IN fact the local devices registered with the new controller in the same site automatically.  When I asked UBNT-Brandon he said that was most likely because the controller searched out devices, found them, and those device MAC addresses were already registered in the controllers MongoDB so poof…..registered.

Local Unifi Controller Cloud Key vs Cloud Based Unifi Controller

That’s a lot of “Cloud” and “Controller” in the same title.  The point being which is the right option for me?  To be perfectly honest I am not sure.  i have this well running very stable EC2 Unifi Cloud Controller which has advantages and disadvantages.  Really same goes for the Unifi Cloud Key, so which one is the right direction?  Let’s look at some of those pros and cons in my use case.  remember I have two sites I manage for other people.

Unifi EC2 Cloud Controller

Advantages Disadvantages
100% Public, easy access for other managed sites to update site files Ongoing OS patches
Can run Linux Backup software for files….but not UniFi Controller format Devices disconnect if no internet access
Remote admins can access directly with local controller accounts Monthly Cost of hosting and SSL cert
Uses UBNT Federated Cloud
Consistant UI performance

Unifi Cloud Key

Advantages Disadvantages
Inexpensive Requires VPN or to alter controller files
Uses UBNT Federated Cloud to aggregate users/controllers Remote admins need to use UBNT cloud and jump to controller
Local device access so rare managed device disconnects No 3rd party backup capability
Remote Clients can access directly with local controller accounts All updates done by UBNT
UI Tunneled performance determined by local Line speed

So Which One?!

Honestly I am torn.  There are for me enough advantages and disadvantages to each.  Really the no remote access to the controller for a remote customer is a big deal at least for me.  I can SSH into the EC2 controller and modify configuration files for a customer and push the update.  So can I really get 100% off the EC2 Unifi Controller?  Do I need to just maintain both, but what’s the real value in that.  Thoughts?  Help a guy out on this one! 🙂

Exit mobile version