9
submitted 1 day ago* (last edited 13 hours ago) by ntn888@lemmy.ml to c/selfhosted@lemmy.world

Hi, I have a home server (basically a NAS) currently running Debian. Basically it's configuration is as follows

  • debian host running 3 VMs

  • debian running inside each VM as docker host

I just manually install KVM on the host then docker on each VM after creating each of them. I documented the process so I know how to replicate it in case I need to rebuild.

I now dream of being able to automate the rebuild process using config files. I know this is done using Ansible.

But I've now heard of Talos.. (A thin layer for kubernetes) and intrigued. But I suppose I need a setup for the VM host to achieve automation through config files..

What setup are you guys using?

Thank you.


Thanks for all your suggestions! I've chosen to go with just bash scripting (given my simple setup) and keep the setup as it is.. Just gotta learn bash and virsh :)

you are viewing a single comment's thread
view the rest of the comments
[-] CaptSpify@lemmy.today 3 points 21 hours ago

I just use a few shell scripts. Basically some simple bash scripts that do all the work after a fresh install.

Kubernetes/Ansible are great to learn, but are also more complicated for simple setups.

[-] ntn888@lemmy.ml 2 points 19 hours ago

haven't thought about it. I guess I'll learn some bash :)

BTW what is a good OS for the VM host? many here are running proxmox... would you recommend it for this purpose of bash automation to bring up VMs?

[-] Anarchistcowboy@lemmy.world 3 points 18 hours ago

Proxmox is built on Debian and is great. My second choice would just be plain Debian.

[-] ntn888@lemmy.ml 2 points 18 hours ago

Okay ๐Ÿ‘ Thanks for your suggestions. Think I'll just stick with Debian ๐Ÿ™‚

[-] CaptSpify@lemmy.today 2 points 18 hours ago

I use Debian and Ganeti. I've not toyed with much else, so I dont know how they compare.

[-] ntn888@lemmy.ml 2 points 17 hours ago

thanks for the info... I'm thinking of sticking with just Debian (as my simple usecase) and use virsh commands..

load more comments (2 replies)
this post was submitted on 31 Oct 2024
9 points (90.9% liked)

Selfhosted

39677 readers
372 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (donโ€™t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS