Low-Cost Home Lab: NEC8 Mini PC + Tencent Cloud +
Published 2026-11-24Category: More
Build a low-cost home lab using a used NEC8 mini PC (i9-9900T ES, 32GB, 2TB NVMe
Table of contents
- 1.Introduction & Key Highlights
- 2.Core Specs & Parameter Comparison
- 3.Deep Dive & Implementation Details
- 3.1.Hardware Selection & ESXi Baseline Config
- 3.2.Resource Overcommit Strategy & GitLab to Gitea Migration Rationale
- 3.3.Network Architecture: Engineering Rationale for VirtuaMesh over frp
- 4.Scenario-Based Selection & Pitfall Checklist
- 5.FAQ
- 6.Sources & References

Introduction & Key Highlights
This article reviews a “cloud as entry, home as backend, encrypted tunnel in between” low-cost home laboratory architecture. Core hardware is a used NEC8 1L mini PC (i9-9900T ES, 8C16T, 35W TDP, 32GB DDR4, 2TB NVMe, barebone ~$30-45) paired with a Tencent Cloud Lightweight Application Server 4C4G (promotional price ~$85/year) serving as the public network entry point. The author’s self-developed networking tool VirtuaMesh replaces frp, enabling public access to Gitea, Vaultwarden, Xpenology (black Synology), Memos, and other services without a public IP or router port forwarding. ESXi 7.0 free edition slices resources: Ubuntu Docker gets 8 vCPU/8GB RAM for core containers, Xpenology takes 8C/8GB, four stripped-down Windows 10 VMs each get 2C/2GB, total memory overcommitted to 26GB leaving 6GB for the host. Average daily power draw is 35–50W; pure idle annual electricity cost is under $15. Key pitfalls include: ES processor requires latest BIOS to post, ESXi free edition limits single VM to 8 vCPU, default security policy blocks promiscuous mode for side-router, single drive has no redundancy and must rely on off-site backup.
Core Specs & Parameter Comparison
| Dimension | Cloud Entry (Tencent Cloud Lightweight) | Home Backend (NEC8 Mini PC) | Networking & Virtualization Key Points |
|---|---|---|---|
| Specs / Price | 4C4G, promo ~$85/year | i9-9900T ES (8C16T/35W), 32GB DDR4, 2TB NVMe, 65W brick, barebone used ~$30-45 | VirtuaMesh (author’s own) replaces frp, single tunnel multi-port, encrypted mesh |
| Core Role | Runs only nginx + Certd + fail2ban for reverse proxy, certs, brute-force protection | ESXi 7.0 free hosts all business VMs and containers | Cloud does entry, home does backend, encrypted tunnel between |
| Resource Slicing | — | Ubuntu-Docker: 8 vCPU/8GB (Gitea/MySQL/Vaultwarden/Memos) Xpenology DSM: 8 vCPU/8GB Win10 idle ×4: each 2 vCPU/2GB Total overcommit 26GB RAM, 6GB left for host |
ESXi 7.0 free limit: single VM ≤ 8 vCPU; enable SSH, config NTP, split vSwitch (MGMT/LAN/DMZ) |
| Network Policy | Public IP entry, exposes 80/443 | Single physical NIC (i219-V 1GbE); vSwitch segmentation: management binds physical, internal pure virtual for OpenWrt side-router/business VMs | Critical: Internal vSwitch security policy “Promiscuous/Forged Transmits/MAC Changes” all set to Accept, otherwise side-router NAT fails silently |
| Storage & Backup | No persistent business data | Single 2TB NVMe no redundancy: Xpenology 800GB, Ubuntu 400GB, 4×Win10 10GB each, test 60GB, remainder for snapshots | Critical data relies on off-site backup; Gitea/LFS uses separate volume + scheduled DB dump for backup/migration |
| Power Estimate | — | Idle 12–20W, daily workload + 4×Win10 idle 35–50W, pure idle annual electricity < $15 | Low power, quiet, small footprint are core reasons for 1L mini PC |
| Main Pitfalls | Domain, certs self-managed | 9900T ES needs seller to flash latest BIOS to post; M.2 pad soldered SATA only for data drive (installing OS bricks) | GitLab→Gitea saves 4–6GB RAM; frp single tunnel single port scales poorly, switched to VirtuaMesh |
Deep Dive & Implementation Details
Hardware Selection & ESXi Baseline Config
NEC8 (M720q rebrand) white chassis blue panel, barebone used ~$30-45. CPU i9-9900T ES 8C16T/35W/base 1.7GHz, 65W fanless brick, chassis thermostatic fan silent normally, faint whine under load. Stock single i219-V 1GbE; adding 2.5G consumes M.2 wireless slot (8125BG) or PCIe x8 quad NIC (sacrifices 2.5” bay). Storage native 1×M.2 NVMe + 1×2.5” SATA, empty onboard M.2 pad can solder B-Key SATA for extra bay, but BIOS doesn’t recognize — only usable as data drive passed through to Xpenology. Author kept single port + 2TB NVMe without further mods. Fatal pitfall: ES processor tightly bound to BIOS version, stock BIOS won’t post 9900T ES — must have seller flash latest BIOS before purchase. Four post-install ESXi 7.0 free steps: static IP + NTP (time drift breaks certs/TOTP/logs), enable SSH, single NIC dual vSwitch segmentation (management binds physical, internal pure virtual), internal vSwitch security policy all three set to Accept (Promiscuous/Forged Transmits/MAC Changes), otherwise OpenWrt side-router NAT fails with zero error.
Resource Overcommit Strategy & GitLab to Gitea Migration Rationale
32GB RAM split: Ubuntu-Docker 8GB (Gitea/MySQL/Vaultwarden/Memos), Xpenology 8GB, 4×Win10 idle 2GB each, total 26GB, 6GB headroom for host. vCPU sum exceeds 16 threads but home low load works, single VM not exceeding 8 vCPU satisfies ESXi free limit. 2TB NVMe single drive no RAID: Xpenology 800GB, Ubuntu 400GB, 4×Win10 10GB each, test 60GB, slack for snapshots. Real critical data all depends on off-site backup. GitLab on first boot consumes 4–6GB RAM, web response slow, upgrade takes half hour; migrating to Gitea yields single binary resident 300–500MB, boots in two seconds, upgrade is image swap. Home features (repos/Issues/PR/Webhook/LFS/built-in Actions) fully covered; heavy DevOps/K8s/audit compliance only needs GitLab. Saved 6GB directly allocated to Xpenology and idle VMs. Gitea shares Ubuntu Docker with MySQL/Vaultwarden/Memos, repos and LFS on dedicated volume, backup only needs volume + DB dump, migration trivial.
Network Architecture: Engineering Rationale for VirtuaMesh over frp
frp uses “one tunnel per port” model; exposing Git/Web/SSH/photos/notes requires multiple tunnels, config sprawl, hard to manage centrally. VirtuaMesh (author’s own) adopts single tunnel carries multiple ports, full-link encryption, VPN-like mesh mode: cloud lightweight runs only nginx+Certd+fail2ban as entry reverse proxy and certs, home side OpenWrt side-router handles traffic forwarding to each business VM/container. Achieves no public IP at home, zero router port mapping, 80/443 untouched while all services reachable publicly. Certs unified at cloud via Certd renewal, internal services run plain HTTP, avoiding internal cert distribution maintenance. fail2ban at entry layer blocks brute force, reducing backend load. This mode decouples “mesh networking” from “application-layer reverse proxy”; adding a service only needs nginx upstream + server_name, no tunnel config changes.
Scenario-Based Selection & Pitfall Checklist
- Ultra-low-power 7×24 home lab: Pick 1L mini PC (NEC8/M720q/ThinkCentre Tiny etc.) + low-power ES CPU (35W TDP), annual electricity ~$15, noise negligible. Pitfall: Must confirm seller flashed latest BIOS or ES CPU won’t post; single drive no redundancy mandates off-site backup (Rclone/MinIO/cloud storage).
- No public IP / restricted network service exposure: Drop frp multi-tunnel, use VirtuaMesh/Tailscale/ZeroTier etc. mesh tool + cloud lightweight reverse proxy. Pitfall: Cloud entry instance pick Lightweight promo (e.g., Tencent 4C4G ~$85/yr) not CVM, better value; entry runs only nginx+Certd+fail2ban, never run business workloads there.
- Memory constrained (≤32GB) multi-service co-location: Swap GitLab for Gitea, save 4–6GB RAM; core services (Git/password/notes/database) co-locate in single Ubuntu Docker, use volumes for data isolation. Pitfall: ESXi free hard limit 8 vCPU per VM, Ubuntu-Docker at 8 vCPU already maxed, don’t add more; memory overcommit total within 20% of physical RAM is stable.
- Xpenology direct passthrough bay expansion: Use empty motherboard M.2 pad solder B-Key SATA for 2.5” drive, only as data drive passed to DSM, BIOS won’t see it, installing OS bricks. Pitfall: Before passthrough, mark device in ESXi as “Local Storage” not “Datastore”, DSM side create storage pool with SHR/Basic not RAID, avoids metadata corruption.
- OpenWrt side-router network unreachable troubleshooting: Single NIC ESXi doing side-router, internal vSwitch must enable “Promiscuous/Forged Transmits/MAC Changes” all Accept, and only change internal vSwitch, management stays Reject. Pitfall: No change = no error, no connectivity, packet capture shows no return packets, easily misdiagnosed as firewall or routing issue.
FAQ
Why not just use Tailscale/ZeroTier instead of custom VirtuaMesh?
Source does not disclose specific comparison details. Author only states frp “one tunnel one port” scales poorly, VirtuaMesh achieves “single tunnel multi-port, encrypted mesh”, and notes readers uncomfortable with custom tooling can skip networking section and focus on VM slicing and Docker deployment.
Is the Tencent Cloud Lightweight 4C4G ~$85 price first-year or renewal? Does it include bandwidth/traffic pack?
Source only mentions “Tencent Lightweight promo ~$85”, does not disclose first-year/renewal, bandwidth peak, monthly traffic quota, region, IPv6 support. Verify current specs and renewal policy on official promo page before ordering.
NEC8 single 2TB NVMe no RAID, how does Xpenology 800GB ensure data safety?
Author explicitly states: single drive no redundancy, true critical data relies entirely on off-site backup (Rclone to cloud storage / separate MinIO node). Xpenology itself runs SHR/Basic on the passed-through virtual disk, but any drive failure means full restore from off-site.
Sources & References
Spotted outdated pricing, stock, or expired coupons?See methodology & report an update →