How To

Build a 12U Homelab Rack: Router, Switch, Patch Panel and UPS

This post contains affiliate links. If you buy through them, we may earn a small commission at no extra cost to you. Learn more.

Twelve rack units is 21 inches of mounting height. A switch, a patch panel, a cable manager, a router and a UPS take seven of them before your first server goes in. That arithmetic decides every other choice in a 12U homelab rack, down to whether your desktop NAS belongs in it at all. If your 10-inch mini rack is full, or you want gear with real rack ears, this is the 19-inch step up.

Original content from computingforgeeks.com - post 178357

You get the parts list, a U-by-U layout, the screws that match, the UPS and PDU, and a power budget with runtime from the maker curve. Each pick says when you should skip it. The rack itself gets one step, because our homelab server rack guide already compares the frames. We checked every part against the maker spec sheets and Amazon US in October 2026, but we never bolted this rack together, so every height, watt and runtime here comes from a datasheet.

The parts list for a 12U homelab rack

About half of the parts below are sold by Amazon itself, and most of the rest by the maker’s own Amazon store. The one reseller listing is named in its step. The U column matters more than the price column, because a 12U frame runs out of space long before it runs out of budget:

RolePickRack spacePrice band
RackStarTech 4POSTRACK12U12U frame, 22 to 40 in deepabout $240 to $260
SwitchTP-Link Omada SG3428X1Uabout $300
Patch panelTRENDnet TC-KP24 keystone panel1Uabout $22
Keystone jacksCable Matters Cat6 keystones, 25-packnoneabout $35
Patch cords (two packs)Cable Matters Cat6 3 ft, 5-packnoneabout $15 a pack
Cable managerStarTech CABLMANAGER21Uabout $35
RouterProtectli Vault V14102U on a shelfabout $500
Shelves (two)StarTech CABSHELFV1U1U eachabout $35 each
PDUTripp Lite PDU12151Uabout $110 to $120
UPSCyberPower CP1500PFCRM2U2Uabout $350 to $370
Blanking panelsCable Matters 1U blanks, 2-pack1U eachabout $22
Cage nutsAC Infinity M6 rack screws, 50-packnoneabout $19
Cage nut toolRackSolutions cage nut toolnoneabout $25

Infrastructure alone comes to about $1,550 to $1,800, depending on the switch and whether you take the PDU. Add a Synology RS422+ rack NAS (about $800, diskless) and two used Lenovo Tiny PCs, and the finished rack lands at about $2,600 to $3,100 before drives. Prices on rack hardware move every week and several of these listings show low stock, so check each one on the day you order.

The 12U rack layout, U by U

Weight goes at the bottom and the switch goes at the top, the same two rules as the 10-inch build. The diagram shows what plugs into what. Data comes in at the top through the router and the patch panel. Power comes in at the bottom, and the UPS feeds every live box above it from its battery outlets.

12U homelab rack layout diagram: ISP modem to the router, wall jacks to the patch panel, both into the top-U switch, switch to two Tiny PCs and a 1U NAS, wall outlet to the 2U UPS at the bottom
The 12U layout: data enters at the top, power at the bottom, and U9 stays empty above the router.

The same layout as an elevation table counts U1 from the bottom the way rack makers number it. Copy it as it stands if your parts match, or use it as the order to follow when they do not:

UPartWhy it sits here
12TP-Link SG3428X switchEverything patches up to it
1124-port keystone patch panelDirectly under the switch, so the cords stay short
10StarTech CABLMANAGER2Holds the slack between the panel and the switch
9EmptyThe router on its shelf is taller than 1U
8Protectli V1410 on a 1U shelfClose to the switch for the LAN trunk
7Two Lenovo Tiny PCs on a 1U shelf36.5 mm tall each, side by side
6Blank panelAir gap between compute and the NAS
5Synology RS422+1U rack NAS, front-mounted
4Blank panelSpare U for a third node or an IP KVM
3Tripp Lite PDU1215Outlets can face the rear
2 to 1CyberPower CP1500PFCRM2U26.8 lb belongs at the bottom

That fills all twelve units with two blanks left as growth room, which is about as much slack as a 12U frame ever gives you. Running a 2U server such as a Dell R730 instead of the Tiny PCs? Put it on rails at U5 and U4, move the NAS up to U7, keep one blank at U6 and leave the PDU and UPS where they are. Our first rackmount server guide covers that path, including the rail kit and how loud the box gets.

Step 1: Do the U math first

One rack unit is 1.75 in, or 44.45 mm, so 12U gives you 533.4 mm of mounting height. The rails sit 465.1 mm apart and only the front panel with its ears measures 19 inches, so the space between the posts for your gear is about 450 mm. Most rack parts are a clean 1U or 2U. Three common ones break the count, and you will not see it on the product listing:

  • Protectli VP2430e: 55 mm tall, more than 1U
  • Protectli rack shelf: 47.62 mm, so 2U unless it sits at the top
  • UGREEN DXP4800 Plus desktop NAS: 178 mm, 0.2 mm over 4U

Of the three, the desktop NAS is the expensive mistake. At 178 mm it needs 5U on a shelf, which is nearly half of a 12U rack, while a 1U rack NAS such as the RS422+ does the same job in one unit. Before you decide that 12U is enough, measure the height of every box you already own and round each one up to the next whole U. If the total comes out above ten, you are shopping for an 18U or a 25U frame instead, and the same StarTech family covers those sizes.

Step 2: Pick the rack and set its depth

The StarTech 4POSTRACK12U is the frame this build is drawn around. It is a 4-post open frame with square holes and casters in the box. Its depth adjusts from 22 to 40 in, and it is rated for about 1,200 lb static. We picked it because it takes everything in the layout, even a full-depth server on rails later. Amazon sells it directly (about $240 to $260).

StarTech 4POSTRACK12U 12U open frame 4-post homelab server rack on casters
StarTech 4POSTRACK12U: 12U open frame, 22 to 40 in adjustable depth, casters included. Image: StarTech.

Depth is the trap, and it works in two directions. A floor rack like this one has a minimum depth of 22 in. Short gear such as the 180 mm switch or the 10.5 in UPS only reaches the front posts, so it hangs there on its ears. A wall cabinet has a maximum depth instead, and anything longer than its rails simply does not go in. Skip the open frame if the rack has to live in a closet with no floor space, or if dust and little hands are a concern.

For that case the StarTech RK1224WALHM is the wall cabinet to buy. It mounts gear 2.4 to 20 in deep and holds 198.5 lb. It ships assembled and swings open on a hinge, so you can reach the back (about $530 to $560). Twenty inches takes every part in this build. No wall cabinet in this class takes a full-depth server, though: a Dell R730 on its ReadyRails needs at least 676 mm (about 27 in).

StarTech RK1224WALHM 12U hinged wall-mount network cabinet 20 inches deep
StarTech RK1224WALHM: 12U hinged wall cabinet, up to 20 in mounting depth, 198.5 lb. Image: StarTech.

On a tighter budget, the Sysracks 12U 18 in wall cabinet comes with a fan, a basic PDU and a vented shelf for about $260 to $280. It is rated for 133 lb on the wall. Watch the 13 in cabinets listed next to it. CyberPower rates the 10.5 in CP1500PFCRM2U for racks as shallow as 14 in, so a 13 in cabinet is already under its minimum, and a 15.32 in OR1500PFCRT2U or a 1U NAS with its cord plugged in will not go in at all. Set the 4POSTRACK12U at 22 to 24 in for this layout, 28 in if you add the rear-support shelf from Step 4, or 27 to 34 in if a rail-mounted server is in your plans.

Step 3: Match the screws and cage nuts

Rack hardware is where a build stalls on a Saturday afternoon. Square-hole racks take cage nuts and threaded racks take screws straight into the post. The thread sizes do not mix, even when they look the same. These are the fasteners that ship with the parts in this build and the racks next to them:

  • StarTech 4POSTRACK12U: M6 cage nuts and screws
  • StarTech RK1224WALHM: 50 x 12-24 cage nuts and screws
  • NavePoint 12U 4-post: 12-24 threaded rails
  • CyberPower CP1500PFCRM2U: 4 x M5 truss head screws
  • VEVOR 12U: M5 screws plus a few M6 cage nuts

M5 is close to 10-32 in size and M6 is close to 12-24, which is exactly why people cross-thread them. NavePoint’s own hole-type guide says to check the threads before you force anything, and CyberPower notes that exact threads vary by manufacturer. The cure is cheap. Buy one bag of the thread your rack uses, the AC Infinity M6 50-pack for this build (about $19), and use it for everything you put in the frame.

M6 rack screws and square cage nuts for a 19-inch homelab rack
M6 screws and cage nuts, the square-hole hardware the 4POSTRACK12U uses. Image: StarTech.

Get a cage nut tool too (about $25). Pushing fifty cage nuts in with a flat screwdriver is how racks get scratched and thumbs get cut. The tool pays for itself before your second shelf goes in. Skip it only if your rack has threaded posts, because then there are no cage nuts to fit.

Step 4: Mount the UPS and the PDU at the bottom

Start at the bottom with the CyberPower CP1500PFCRM2U at U1 and U2. It is a 2U, 1500 VA / 1000 W unit with pure sine wave output, eight battery outlets and 10.5 in of depth. At 26.8 lb it is also the heaviest part of the build (about $350 to $370). It is the same rackmount pick as our homelab UPS guide, which also covers the NUT shutdown setup this rack needs.

CyberPower CP1500PFCRM2U 2U pure sine rackmount UPS for a 12U homelab rack
CyberPower CP1500PFCRM2U: 2U, 1000 W, pure sine wave, eight battery outlets. Image: CyberPower.

Why the bottom? Weight low keeps a rolling frame stable, and the UPS is the part you want on the lowest holes. It ships with front mounting only. For rear support, set the rack to 28 in and stand it on a StarTech ADJSHELFV-Rack 4-post shelf (28 to 34.4 in), which uses its own M5 hardware. The UPS then moves up to U2 and U3 and the PDU to U4, so the shelf costs you the U4 blank. Skip this UPS if your rack will grow past about 500 W, the half-load line. The OR1500PFCRT2U gives 17 minutes at half load against 10.2, but it is 15.32 in deep and weighs 50.6 lb.

Rackmount UPS listings around it are full of traps, so read the spec line before the price. These are the ones we would not put in this rack:

  • CyberPower OR700LCDRM1U: simulated sine wave output
  • Tripp Lite SMART1500LCD: modified sine wave on battery
  • Eaton 5P1550GR: a 230 V model, not a US 120 V unit
  • CyberPower CP2000PFCRM2U: needs a 20 A NEMA 5-20R outlet
  • CyberPower CP500PFCRM1U: 1U, but only 2.3 minutes at 300 W

Of those, the CP500PFCRM1U is the only one worth a second look, and only when one U decides the whole layout. At 300 W it lasts 2.3 minutes against 21.4 for the 2U unit, so it suits a rack of low-power boxes with a quick NUT shutdown, not this one.

At U3 sits the Tripp Lite PDU1215. It is a 1U basic PDU with 13 outlets (12 on the back, one on the front), a 15 ft cord and a 12 A rating. It is only 4.5 in deep (about $110 to $120). The UPS already has eight battery outlets and this build needs about six. So the PDU is for growth and for loads that do not need battery time.

Plug the UPS straight into the wall and the PDU into its own wall outlet, which is the rule our rack PDU guide sets out. CyberPower says a surge strip before or after its UPS voids the warranty. The PDU1215 is a plain PDU, not a surge strip, but keeping the two apart removes the question.

Step 5: Rack the switch and patch panel up top

Your top three units hold the network layer: the switch at U12, the patch panel at U11 and a cable manager at U10. The TP-Link Omada SG3428X is the switch we drew in. It has 24 gigabit ports, four 10G SFP+ uplinks and L2+ management with VLANs and static routing. It has no fan, is 180 mm deep and draws 23.6 W at most (about $300).

TP-Link Omada SG3428X 24-port managed switch with four 10G SFP+ for a homelab rack
TP-Link Omada SG3428X: 24 x 1G plus 4 x 10G SFP+, fanless, 180 mm deep. Image: TP-Link.

A third-party seller holds the SG3428X buy box on Amazon right now, so check the seller and the return window before you order. Skip it if nothing in your rack will ever run 10G: the SG3428 is the same chassis with four 1G SFP ports, sold by Amazon for about $200. On a tight budget, the TL-SG1024DE gives you 24 fanless ports with 802.1Q VLANs and rack ears for about $100, and our budget VLAN switch roundup covers it.

Directly under the switch goes the patch panel, so each port on the panel is one short cord away from a port on the switch. The TRENDnet TC-KP24 is a 1U panel with 24 blank, numbered keystone ports (about $22). A keystone panel suits a homelab better than a punch-down block, because you can swap one jack or mix Cat6, coax and HDMI.

TRENDnet TC-KP24 24-port blank keystone 1U patch panel for a 19-inch rack
TRENDnet TC-KP24: 1U, 24 blank numbered keystone ports. Image: TRENDnet.

TRENDnet recommends its own Cat6 keystones for this panel. The Cable Matters 25-pack we picked in our house Cat6 wiring guide is a standard-size jack, so fit one before you terminate twenty-four of them. If you would rather not gamble, the Cable Matters 24-port keystone panel (about $30) matches those jacks. Two packs of 3 ft Cat6 cords cover the panel-to-switch hops, and short cords are most of what makes a rack front look tidy.

At U10, the StarTech CABLMANAGER2 is a 1U steel panel with five 3 in D-rings, and it holds the slack between the patch panel and everything below it (about $35). On an open frame the D-rings are the right choice. In an enclosed cabinet, a 1U brush panel does the same job and keeps dust out of the cable pass-through.

StarTech CABLMANAGER2 1U D-ring cable management panel for a 19-inch rack
StarTech CABLMANAGER2: 1U panel with five 3 in D-rings. Image: StarTech.

Cable the network layer before the router and the nodes go in. With nothing below U10 yet, you can reach the back of the panel and the switch from the front. That access disappears once the shelves are full.

Step 6: Shelve the router and leave U9 empty

The Protectli Vault V1410 is the router for this rack. It has four Intel i226-V 2.5G ports, an N5105, 8 GB of soldered memory and 32 GB of eMMC. It is fanless and boots as delivered, with no RAM or SSD to add (about $500 on Amazon). It sits on a StarTech CABSHELFV1U vented shelf at U8, the 10 in deep, 44 lb cantilever shelf this build uses twice.

Protectli Vault V1410 fanless 4-port 2.5GbE firewall for a homelab rack
Protectli Vault V1410: four 2.5G ports, N5105, 8 GB soldered memory, fanless. Image: Protectli.

This step has a snag. A Vault on a 1U shelf is not a 1U part. The VP2430e chassis alone is 55 mm tall against 44.45 mm for one U, and Protectli says its own shelf will consume 2U unless it is mounted at the top. Protectli does not list the V1410’s height on its store page, so we budgeted it the same way and left U9 empty above it. Measure yours before you put anything in U9.

Skip the V1410 if you want DDR5 and the N150. The Protectli VP2430e is the N150 model, but it ships barebone, so RAM and an SSD bring it to about $720 to $730. On the V1410 itself, Protectli recommends an NVMe drive over the built-in eMMC for demanding operating systems, so budget one if you go that way. A true 1U firewall exists in the Netgate 8200 MAX at 44.45 mm tall, but it is not sold on Amazon US. For the operating system and other boxes, see our pfSense and OPNsense hardware guide.

Step 7: Add the compute nodes and the NAS

Two Lenovo Tiny PCs share the second CABSHELFV1U at U7. Each one is 179 x 182.9 x 36.5 mm with its feet on. Side by side they take 358 mm of the 450 mm opening and 183 mm of the 254 mm shelf. Our used Tiny PC guide covers which generations to buy and the problems refurbished units arrive with.

StarTech CABSHELFV1U 1U vented cantilever rack shelf 10 inches deep
StarTech CABSHELFV1U: 1U vented cantilever shelf, 10 in deep, 44 lb. Image: StarTech.

The Synology RS422+ at U5 is the NAS that makes a 12U rack work. It is a 1U, four-bay unit, 327.5 mm deep with its handles, and it draws 37.93 W in access. Synology says it fits a 2-post or wall mount rack. Skip it if you already own a desktop NAS and can spare five units for it. About $800 diskless is a lot to spend to win back four U.

Put a 1U blank panel at U6 and U4. On an open frame the blanks are about tidiness and dust, not airflow. In an enclosed cabinet they stop hot exhaust at the back from circling round to the front intakes. Add a fan panel such as the AC Infinity CLOUDPLATE T1 (about $140) there.

Step 8: Budget the power, heat and UPS runtime

What does this rack actually draw? We added it up from the maker figures rather than a meter, using each part’s published maximum where one exists. Treat the totals as a ceiling for the network layer and a realistic range for the nodes:

DeviceFigure usedSource
Protectli router45 WVP2430e maximum (V1410 not published)
TP-Link SG3428X23.6 WTP-Link maximum
Two Lenovo Tiny PCs15 W idle each, 65 W adapter ceiling eachServeTheHome idle range of 12 to 15 W, adapter rating
Synology RS422+37.93 WSynology, in access
Total, nodes idleabout 137 W (about 466 BTU/h)Sum
Total, nodes at their ceilingabout 237 W (about 807 BTU/h)Sum

Those numbers read well against CyberPower’s runtime curve for the CP1500PFCRM2U: 66.2 minutes at 100 W, 33.5 at 200 W and 21.4 at 300 W. So your idle rack gets roughly 35 to 65 minutes on battery and the worst case roughly 21 to 33. CyberPower adds that the curve varies with battery age and temperature. That is far more than the two to five minutes a clean NUT shutdown needs. You can read the full curve on the CP1500PFCRM2U product page.

Nor is the circuit the limit. A 15 A, 120 V circuit carries 1,440 W of continuous load under the 80 percent rule. Your 237 W worst case is about 16 percent of that. Our mini rack power guide uses the same 1,440 W figure. Heat is the number to watch in a closet. The NAS is rated for 35 C ambient and the UPS for 40 C, so a sealed closet at 800 BTU/h needs a fan or a vent.

Step 9: Bring the rack back after a power cut

A rack that shuts down cleanly also has to come back in the right order. In a homelab, what depends on what decides that order. When the power returns, bring the rack up from the bottom of the dependency chain:

  1. UPS: let it charge before the nodes start
  2. Switch: every other box needs its links
  3. Router: DHCP and DNS for the rest
  4. NAS: shared storage for the nodes
  5. Proxmox nodes: last, once the NAS answers

Set the NAS and the nodes to power on when AC returns in their firmware, and give the nodes a boot delay so they do not race the NAS. If your nodes mount VM storage from the NAS, a node that boots first finds its storage missing. The guests stored there will not start until you bring them up by hand. The NUT setup in our UPS guide shuts the rack down in order in the first place, with the NAS as the NUT server and the nodes as clients.

Once the rack is up, the next projects are the in-wall runs into the patch panel and a third node in the spare U at U4. If you outgrow 12U, the same StarTech frame comes in larger sizes, and every step above carries over unchanged.

Keep reading

Free CCNA 200-301 Practice Questions with Answers Networking Free CCNA 200-301 Practice Questions with Answers Configure Samba File Share on Debian 13 / 12 Debian Configure Samba File Share on Debian 13 / 12 WireGuard VPN Setup: Ubuntu 26.04/24.04, Debian 13, Rocky 10 Debian WireGuard VPN Setup: Ubuntu 26.04/24.04, Debian 13, Rocky 10 Homelab and Sysadmin Gifts by Budget: $25, $50, $100 and $250+ Networking Homelab and Sysadmin Gifts by Budget: $25, $50, $100 and $250+ Black Friday Homelab Deals: GPUs, Mini PCs, NAS and Networking Networking Black Friday Homelab Deals: GPUs, Mini PCs, NAS and Networking Consolidate GCP Certs on a Shared LB with Cert Maps Cloud Consolidate GCP Certs on a Shared LB with Cert Maps

Leave a Comment

Press ESC to close