May 7th, 2024
Anyone with a pi 4b or pi 5 with 4gb or 8gb of ram should use Proxmox / Pimox or at least play with it once.
As a person with a 90% raspberry pi home lab, I’m here to say that the flexibility Virtual Machines offer is worth the effort to setup a Pimox node or two and a external share / NAS, even for a 4gb pi. Pimox is an arm based port of Proxmox VE, a leading virtualization platform for computers on x86 chipsets. https://www.proxmox.com/en/
Virtual Machines
Virtual Machines are computers that run inside other computers. I’ll leave the detailed explanation to others. Suffice to say, with virtual machines you can do cool things that you can’t do with a normal computer, or raspberry pi. Depending on RAM, compute power and the needs of a VM, You can put multiple services on a single the pi.
How Many VMs Fit on a Raspberry Pi?
On an 8 gb raspberry pi, I have nginx, pihole, unbound and portainer running in a docker container. I also have 2 ubuntu servers, each running a wordpress site on the same raspberry pi. I basically have what I would have put on 3 Raspberry Pies running on a single 8 gb pi. The big use case is for multiple services / servers that aren’t very intensive. Multiple full desktops, even linux desktops, don’t do very well as VMs on a Raspberry Pi
As I said earlier, if the services are lightweight and don’t use a lot of ram or compute power, I can get 2 or 3 VMs running. On these servers you can run WordPress, docker & plex, etc. just like you would on a regular raspberry pi. You can also run full ARM64 distributions, i.e. flavors of Ubuntu or Debian, server and desktop.
Why Do it?
First for the fun of it. It’s fun to learn, setup and use. There are many benefits of the virtualization, the abstraction of the hardware layer. Think Docker but old school. I can make templates and backups. I can setup a server exactly the way I want it and then make a template. I can then clone that template to use as another server later. I can do backups so I can try things and when I trash the computer I delete it and spin up another. No more imaging sd chips, swapping them out, etc.
Using Backups To Experiment
Just tonight I wanted to run a new theme in WordPress for this blog. I spun up a clone of my server and loaded the theme to the clone. The install trashed my links. Or I trashed my links, I don’t know, I’m new to WordPress. I cloned again and in 5 minutes I was ready to try again. Once I got it set up right, I repeated the steps on my main WordPress server.
Conclusion
Even if you only run one virtualized machine on a pi that has been turned into a Pimox, the flexibility it offers is more than worth the light compute power and 1.5 gigs of RAM Pimox takes to run.