VM and Stack Deployment at Home
from dudesss@lemmy.ca to homelab@lemmy.ml on 31 Jul 20:49
https://lemmy.ca/post/48969860

Without Installing another OS like Proxmox, does anyone know any tooling that will easily deploy VMs on my local computer and deploy software stacks on them?

I only have my desktop for hosting, but I also want to continue using it as my personal desktop.

I’d like to host game servers, cloud storage software, websites for clients. And have a portal for me (and potentially them) to be able to provision).

Edit: I’m just finding out about Apache Cloudstack which might do what I’m looking for.

#homelab

threaded - newest

deegeese@sopuli.xyz on 31 Jul 21:32 next collapse

Why do you want a full VM and not something g lighter weight and easier like Docker?

dudesss@lemmy.ca on 31 Jul 21:37 collapse

Better security and separation of my personal files.

deegeese@sopuli.xyz on 31 Jul 22:38 collapse

For #2 you just need to be smart about which file system paths you map to the container.

Do you really want to have guest OSs to think about?

dudesss@lemmy.ca on 01 Aug 11:35 collapse

Actually I don’t really want guest OSs to think about. Solid point.

Blip6338@lemmy.ca on 31 Jul 22:00 next collapse

I’m not sure what your regular OS is but on Linux you can also use Qemu/Kvm to run virtual machines, or docker/podman for containers. You can also look into Virtual Box for a more finished interface. If you want to have something that behaves like the cloud you could also try Incus.

On windows : HyperV or Virtual Box for vms, you can also use Docker Desktop or Podman desktop. I think wsl also let you run services.

dudesss@lemmy.ca on 31 Jul 23:16 collapse

Qemu would be awesome. But I’m looking for more of an orchestrator. I’m on Arch Linux. Incus looks awesome! linuxcontainers.org/incus/

azron@lemmy.ml on 31 Jul 22:38 next collapse

Check out libvirt. libvirt.org

dudesss@lemmy.ca on 01 Aug 11:36 collapse

Looked into it before. Was a bit too complicated for me.

tvcvt@lemmy.ml on 31 Jul 22:41 next collapse

You can definitely run VMs or containers on your desktop system and there are a lot of ways to do that (as others have said). If it’s the automated, reproducible setup you’re after (and you are purposely avoiding docker), give a look to terraform and ansible to create and provision your software.

dudesss@lemmy.ca on 31 Jul 23:17 collapse

Can terraform (or OpenTofu) be used to create local VMs as well? I always thought it was just for popular cloud infrastructure like Digital Ocean or Google Cloud.

tvcvt@lemmy.ml on 31 Jul 23:33 collapse

I’ve only ever tinkered with it slightly on a Proxmox host, but I ran it locally when I was testing it and it was glad to setup the VMs on the same system it was on.

dudesss@lemmy.ca on 01 Aug 00:02 collapse

Dude, that’s super cool!

etchinghillside@reddthat.com on 01 Aug 00:07 collapse

Before Docker took off we’d use Vagrant files and Ansible for provisioning VMs locally.

dudesss@lemmy.ca on 01 Aug 00:16 collapse

Can Vagrant be used for production? Or is there another orchestrator for it for clients or me to quickly provision stuff?