Deploy a devops homelab on commodity hardware: Difference between revisions
No edit summary |
No edit summary |
||
| Line 35: | Line 35: | ||
For the operating systems, we intend to play extensively with Microsoft Windows Server (Active Directory, Network Policy Server, Hyper-V, Scale Out File Server, Windows Admin Center, Azure DevOps, etc) both on premises and in the cloud (Azure). | For the operating systems, we intend to play extensively with Microsoft Windows Server (Active Directory, Network Policy Server, Hyper-V, Scale Out File Server, Windows Admin Center, Azure DevOps, etc) both on premises and in the cloud (Azure). You can easily find subscriptions (https://visualstudio.microsoft.com/vs/pricing/?tab=paid-subscriptions) that will suit your needs for Microsoft products or consider other solutions. | ||
After connecting all the devices to our network, let's start to install the relevant software, starting with the operating systems. | |||
=== Install Microsoft Windows Server 2025 on Apple MacMini (Late 2018) === | |||
Revision as of 18:21, 8 January 2026
When thinking of a decent design for a "cheap" devops environment at home (or in a small office), one may consider several aspects to choose the hardware required to run the solution :
- Noise and heat dissipation, which are often related
- Affordable energy cost
- Sufficient sizing to host a decent lab
...
Virtualization is of course at the heart of such a solution and many hypervisors can be found, both open source or proprietary.
Having all things considered, our choice inclined towards Apple Mac mini (Late 2018) that still can be found for a relatively low budget (see https://eshop.macsales.com/configure-my-mac/mac-mini for instance) and has the required specifications :
- Memory up to 64 GB
- Storage up to 2.0 TB SSD
- Intel 3.2 GHz 6-core i7 processor
- Intel UHD graphics 630 with 1.5 GB VRAM
- 4 x Thunderbolt 3 ports
- Built-in 802.11 a/b/g/n/ac WiFi interface (Broadcom)
- Built-in 10GbE interface (Aquantia)
Such a (used) model is around US$ 700 / 600 €, without shipment, at the time of this writing. We'll need two of these to play with cluster functionalities.
For the networking part, we will need a manageable quiet switch, i.e. without fans. The QNAP QSW-M408-2C is a layer 2 web managed switch (https://www.qnap.com/en/product/qsw-m408-2c) which offers the required ports for the lab, including two 10GbE interfaces (NBASE-T). Alternatively, you may consider the QNAP QSW-M408-4C with four 10GbE interfaces if you need to add two extra Mac minis or hardware with a 10GbE interface. The former is around US$ 286 / 245 € and you'll have to spend around US$ 470 / 400 € for the latter.
The wireless network will consist of several access points (Apple Time Capsule 802.11ac - https://support.apple.com/en-us/112420) with the following specifications :
- 2TB or 3TB hard drives
- IEEE 802.11a/b/g/n/ac
- Simultaneous dual-band 2.4GHz and 5GHz
- WPA/WPA2 Enterprise security
- USB 2 port
- GbE LAN and WAN interfaces
Optionally, you may think to add external storage for backups or other purposes. Our choice inclined towards a scalable expansion solution based on OWC miniStack STX enclosures (https://eshopo.macsales.com/item/OWC/T4MS9000/ starting at US$ 250 / 215 €) you can configure with NVMe, SSD or HDD devices.
Here is a graphical representation of such an installation :
For the operating systems, we intend to play extensively with Microsoft Windows Server (Active Directory, Network Policy Server, Hyper-V, Scale Out File Server, Windows Admin Center, Azure DevOps, etc) both on premises and in the cloud (Azure). You can easily find subscriptions (https://visualstudio.microsoft.com/vs/pricing/?tab=paid-subscriptions) that will suit your needs for Microsoft products or consider other solutions.
After connecting all the devices to our network, let's start to install the relevant software, starting with the operating systems.