Homelab Infra

Created
Updated
Author Nicolas Dorriere Reading 2 min

Infrastructure

This site is self-hosted on my own internet Sosh (Orange) connection in Normandy, 800MB/s upload
I've connected the server directly to the modem/router, bypassing the need for a switch or second router.
This setup gives me a performance boost, as there's one less hop in the connection. 

Ports
Open to Internet= ☍ 

Red 80 ☍
Green 443 ☍
Blue 53 ☍
Yellow 22
Yellow-Red 81<>22

 

Deep Inspect  ⛶

Software Stack
Frontend HTML CSS JS (vanilla)
Backend Pocketbase (golang)
Database SQLite
Analytics GoAccess
Storage ZFS
OS Arch Linux (kernel 6.12.39-1-lts)
Virtualization Incus 6.14 - LXC
Server Caddy

 

Hardware Stack
CPU x86 Intel® N150, 4 Cores, 3.60 GHz, PDT 6 W
RAM Crucial RAM CT16G4SFRA32A 16Go DDR4 3200MHz CL22
NIC Intel Corporation Ethernet Controller I226-V
Storage SanDisk SSD Plus 250GB A3N - Write 1.2 GB/s  Read 1.6 GB/s

 

Network Stack
Modem Livebox 5 Fibre - 935 Mpbs (down)   800Mpbs (up)
Router Livebox 5 Fibre
Firewall Livebox 5 Fibre - Open 53-80-443 - netfilter
Switch Livebox 5 Fibre (1G) ETH2
DNS Server Authoritative Technitium (DNSSEC ECDSA Curve P-256 with SHA-256)
Misc. Aerial Fiber

 

Electricity
Average 12.5 W
Idle 8 W
Peak 20 W
Price (france) €0.20/kWh - Engie
Year ~ 21.90 €
Month ~ 1.83 €
 

Incus box in a 3D-printed case with a thick 8mm glass panel on top

[root@incus-arch ~]# fastfetch
                  -`                     root@incus-arch
                 .o+`                    ---------------
                `ooo/                    OS: Arch Linux x86_64
               `+oooo:                   Host: NucBoxG3 Plus
              `+oooooo:                  Kernel: Linux 6.12.39-1-lts
              -+oooooo+:                 Uptime: 11 days, 20 hours, 17 mins
            `/:-:++oooo+:                Packages: 287 (pacman)
           `/++++/+++++++:               Shell: bash 5.3.0
          `/++++++++++++++:              Cursor: Adwaita
         `/+++ooooooooooooo/`            Terminal: /dev/pts/1
        ./ooosssso++osssssso+`           CPU: Intel(R) N150 (4) @ 3.60 GHz
       .oossssso-````/ossssss+`          GPU: Intel Graphics @ 1.00 GHz [Integrated]
      -osssssso.      :ssssssso.         Memory: 2.95 GiB / 15.37 GiB (19%)
     :osssssss/        osssso+++.        Swap: 0 B / 4.00 GiB (0%)
    /ossssssss/        +ssssooo/-        Disk (/): 4.83 GiB / 27.79 GiB (17%) - ext4
  `/ossssso+/:-        -:/+osssso+-      Disk (/var/lib/incus/storage-pools/tank/containers/app-check-ip-public): 382.34 MiB / 149.37 GiB (0%) -s
 `+sso+:-`                 `.-/+oso:     Local IP (enp2s0): 192.168.1.29/24
`++:.                           `-/+/    Locale: en_US.UTF-8
.`                                 `/

Cool link

Surviving the front page of HackerNews on a 50 Mbps uplink
ounapuu.ee/posts/2022/02/09/hn-stats-analytics

Close
Fullscreen image