10-inch rack
Your First UniFi 10-Inch Rack: Gateway, Switch, and Patching in 6U
Mounts in this guide
The first UniFi rack is almost always overbuilt. Someone decides they want their network off the floor, and forty minutes later they have a 12U cabinet in the cart, a rackmount UPS they will never fill, and a shopping list that costs more than the gear going into it. Meanwhile the actual hardware — a gateway, one switch, a handful of drops — occupies about three rack units and draws less power than a desk lamp.
A 10-inch mini rack fits that reality better. The rails sit roughly 254 mm apart instead of the 482.6 mm of a full EIA-310-D rack, the whole enclosure lives on a shelf or bolts to a wall, and 6U of usable height is more than enough for a complete UniFi stack with room left over. This is what that build looks like: what to put in it, in what order, and what actually has to be decided versus what can be deferred.
The mount for this build:
Unifi Cloud Gateway Fiber (UGC Fiber) 10" Rack Mount - 1UWhat 6U actually buys you
One rack unit is 44.45 mm — that number does not change between 19-inch and 10-inch racks, which is the single most useful thing to know when you are planning a mini rack. Six of them gives you 266.7 mm of vertical opening, minus whatever the enclosure eats at the top and bottom. Call it 260 mm of working height.
Where the 10-inch format differs from a full rack is depth and standardization. Depth on most mini racks runs somewhere between 180 mm and 300 mm from rail face to back panel, which rules out anything with a conventional server chassis. And the rail hole spacing on 10-inch racks is not covered by EIA-310-D at all. The 19-inch standard nails down hole pitch to the millimeter; the 10-inch world is a de-facto convention that most vendors follow and a few do not. Here is the gotcha: mounts that fit one brand of mini rack may sit 2 to 3 mm off on another. Measure your rail-to-rail hole centers before you buy anything, once, and write it down.
Assuming a conventional 10-inch cabinet, 6U supports a fairly generous layout:
- 1U for the gateway
- 1U for the switch
- 1U for patching
- 1U of vented blank or deliberate air gap above the gateway
- 2U spare, which you will use within a year
That last line is not padding. Every homelab rack fills. Planning for 4U of hardware in a 6U enclosure is the difference between adding a NAS in eighteen months and rebuying the cabinet.
Pick the gateway first, because it sets everything else
The gateway decision cascades. It determines your WAN media, your routing throughput ceiling, whether you need a separate access point, and how much of your 6U disappears on day one.
There are two sensible starting points in the current UniFi lineup for a rack this size. The Cloud Gateway Fiber is the one to reach for if your ISP hands you fiber and you want to terminate it directly — it takes an SFP+ WAN input, routes multi-gigabit with IDS/IPS enabled, and has enough 2.5GbE on the LAN side that a small build may not need a separate switch at all for a while. It is a wide, shallow slab, which is exactly the shape a mini rack likes. The Unifi Cloud Gateway Fiber (UGC Fiber) 10" Rack Mount - 1U holds it at the rail face in a single unit with the ports forward, so the SFP+ transceiver and its fiber jumper stay accessible instead of buried.
The other path is the Express 7, which folds a gateway and a WiFi 7 access point into one box. That is genuinely convenient for an apartment or a single-floor house where one radio covers everything, and it collapses two purchases into one. The tradeoff is obvious once you say it out loud: you are putting your access point inside a metal enclosure, possibly in a closet. Radio performance from inside a rack ranges from acceptable to actively bad depending on the cabinet material, the door, and what else is stacked around it.
If you go that route, mount it where the radios face open air and do not put a solid steel door on the front. The Unifi Express 7 10" Mini Rack Mount - 1U keeps the unit flush at the rail line rather than recessed, which helps, but no mount fixes a closed metal box. Treat the built-in AP as coverage for the room the rack is in, and plan to add a ceiling AP later if the far end of the house is thin.
One switch, chosen for PoE budget rather than port count
The reflex is to buy port count. Sixteen ports, twenty-four, because ports are cheap and running out is annoying. For a first rack this is usually the wrong axis to optimize. Count your actual drops — most first builds land between five and ten — and then count the things that need power over Ethernet, because that is the constraint that will actually bite.
A UniFi Switch Ultra is the natural fit here. Eight gigabit ports plus an SFP+ uplink, fanless, and a PoE budget measured in the tens of watts rather than the hundreds. That budget is fine for two or three access points, or a couple of cameras, or a doorbell and an AP. It is not fine for four cameras and three APs, and finding that out after the fact means a switch swap. Add up the real draw first: a WiFi 6/7 AP typically wants 802.3at (up to about 25.5 W at the port, though most idle far below that), while a small camera or a Flex Mini sits comfortably in 802.3af territory under 15.4 W.
The fanless part matters more in a mini rack than in a full one. A 10-inch cabinet has very little volume to buffer heat, and a switch with a small high-RPM fan will be the loudest thing in the room the moment the ambient temperature climbs. The 10" Unifi Switch Ultra (USW-Ultra) Mini Rack Mount - 1U is a modular design, which means the switch position and the blanked-off sections next to it can be arranged around whatever else shares that unit — useful when the switch is narrower than the rack and you would otherwise leave an open slot for dust to find.
Patching without buying a patch panel
Standard advice says put a patch panel in. In a 6U rack with eight drops, a full patch panel is often a waste of a unit and a bundle of extra patch cables you did not need.
The alternative is keystone-based patching integrated into a mount you are already installing. A UniFi Switch Flex Mini is a five-port gigabit switch about the size of a deck of cards, powered by PoE from the upstream switch or by USB-C. Mounting it alongside a set of keystone jacks turns one rack unit into both a small switch and a termination point — the wall drops land on keystones at the rail face, short jumpers go to the Flex Mini or up to the main switch, and nothing dangles.
The 10" Unifi Switch Flex Mini Rack Mount - 3 Keystone Jacks 1U does exactly this: the Flex Mini sits in the unit with three keystone positions beside it. For a first build with a handful of drops, that is the whole patching story in 44.45 mm. If you later grow past what keystones can absorb, add a proper panel then — you will know the port count by that point instead of guessing.
Two practical notes on keystones. First, terminate to T568B unless you have an existing plant on T568A, and then be consistent; mixing the two on opposite ends of a run gives you a crossover, which gigabit auto-MDIX will paper over and which will confuse whoever troubleshoots it later. Second, leave a service loop behind the rack. Roughly 300 mm of slack per drop costs nothing and means you can pull a unit forward to work on it without re-terminating anything.
The 6U layout, unit by unit
Order matters, and it is mostly about heat and access. From the top down:
- U6 (top): vented blank or open. Heat rises; give it somewhere to go.
- U5: gateway. It runs the warmest of the three and benefits from the open unit above it.
- U4: switch. Directly under the gateway so uplink jumpers are short.
- U3: patching and the Flex Mini. Adjacent to the switch, again for cable length.
- U2–U1: spare. Reserve it. A NAS, a Pi, a small UPS, or a second switch will claim it.
Power goes in the back, not the front. A short horizontal power strip mounted to the rear of the cabinet, or a simple surge strip cable-tied to the frame, keeps the wall warts out of the airflow path. UniFi power adapters are mostly small inline bricks rather than the fat plug-mount type, which helps, but they still want somewhere to sit.
Thermals, because a small enclosure is a small enclosure
The whole stack described here draws maybe 40 to 70 W under normal load, more if the PoE budget is fully committed. That is not much in absolute terms, but a sealed 10-inch cabinet has perhaps 25 to 40 litres of internal volume. Without airflow, that wattage will lift the internal temperature 10 to 15 degrees C above ambient, and the delta grows if the cabinet sits in a closet that is itself warm.
Three things keep it in check, in order of effort:
- Leave the top unit open or vented rather than blanking it solid.
- Do not install a solid front door if a mesh or open-frame option exists.
- If the rack is in an enclosed closet, cut or add a vent — a passive high-and-low pair moves surprising volume by convection alone.
A fan is a last resort, not a first move. Fans in mini racks are usually 40 mm or 60 mm units running at high RPM, which is the acoustic worst case: small, fast, and whiny. If the passive options are exhausted and you still need active cooling, a single 120 mm fan run at low voltage will outperform a pair of 40 mm screamers and be inaudible doing it.
What to skip on the first pass
A rackmount UPS. The whole stack here can be backed by a small desktop UPS sitting under the rack, and rackmount units in this class are expensive, heavy, and 2U you do not have.
A dedicated console or KVM. Everything in this build is managed through the UniFi controller running on the gateway itself.
Cable management arms and horizontal managers. With eight drops and 300 mm jumpers there is nothing to manage. Velcro and a service loop cover it. Revisit when the port count doubles.
Wrap-up
A first UniFi rack is three decisions: which gateway, one switch sized by PoE budget rather than port count, and whether patching earns its own unit. Get those right and the build lands in 4U with 2U of headroom, runs passively cooled, and does not need to be rebuilt when the fourth device shows up. The mounts hold it at the rail face so the ports stay forward and reachable, which is the entire reason to rack small gear in the first place.
Mounts in this build
Mounts for the gear in this guide
Designed, printed and test fitted here for the exact gear covered above.
Not sure which mount you need?
Search by device and we'll show the mount that fits it.
Find my mount →