Jump to content

Deploy a devops homelab on commodity hardware: Difference between revisions

From Inqubos Wiki
No edit summary
No edit summary
Line 1: Line 1:
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 :
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
* Noise and heat dissipation, which are often related
- Affordable energy cost
* Affordable energy cost
- Sufficient sizing to host a decent lab
* Sufficient sizing to host a decent lab
...
...


Line 11: Line 11:
* Memory up to 64 GB
* Memory up to 64 GB
* Storage up to 2.0 TB SSD
* Storage up to 2.0 TB SSD
- Intel 3.2 GHz 6-core i7 processor
* Intel 3.2 GHz 6-core i7 processor
- Intel UHD graphics 630 with 1.5 GB VRAM
* Intel UHD graphics 630 with 1.5 GB VRAM
- 4 x Thunderbolt 3 ports
* 4 x Thunderbolt 3 ports
- Built-in 802.11 a/b/g/n/ac WiFi interface (Broadcom)
* Built-in 802.11 a/b/g/n/ac WiFi interface (Broadcom)
- Built-in 10GbE interface (Aquantia)
* Built-in 10GbE interface (Aquantia)


Such a (used) model is around 700 US$ (600 €, without shipment) at the time of this writing. We'll need two of these to play with cluster functionalities.
Such a (used) model is around 700 US$ (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 286 US$ (245 €) and you'll have to spend around 470 US$ (400 €) for the latter.
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 286 US$ (245 €) and you'll have to spend around 470 US$ (400 €) for the latter.

Revision as of 17:23, 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 requirements :

  • 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 700 US$ (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 286 US$ (245 €) and you'll have to spend around 470 US$ (400 €) for the latter.