LXCs vs VMs - What Was My Rationale?
DB Tech DB Tech
78.1K subscribers
4,931 views
0

 Published On May 1, 2024

So in my last video, we took a look at what I've got running in my home lab back here, and we briefly discussed the hardware.

Last video:    • What Am I Self-Hosting in 2024? (You ...  

Then we talked about the two Proxmox servers I've got for production and the one I've got for testing and development. I don't develop, but it's for testing and tutorials, that sort of thing. I guess that's the better way to word that.

In the comment section of the last video I released about all of this stuff, a couple of people asked what was my rationale in deploying LXCs or Linux containers for each of my individual services rather than throwing up a couple of VMs, installing Docker, and then putting all of my services in those couple of VMs.

And I think that's a great question.

We discuss my rationale of my setup in this video.

Blog post/transcript:
https://dbtechreviews.com/2024/05/01/...

/=========================================/

Additional info on LXCs and VMs:

✅ LXC Pros:
- Lightweight: LXCs share the host system’s kernel, making them much faster to start and use fewer resources than VMs.

✅ LXC Cons:
- Limited Isolation: They provide some isolation, but since they share the kernel, a security issue in one container could potentially impact others.
-Linux-only: LXCs can only run Linux distributions that are compatible with the host’s kernel.

✅ Use for VMs:
- Running applications that require a specific operating system not compatible with the host.
- Situations where a high degree of security and isolation is critical.
- Running software that requires direct access to hardware resources.

/=========================================/

Get early, ad-free access to new content by becoming a channel member, or a Patron!

✅   / dbtech  
✅    / @dbtechyt  

All My Social Links:
✅ https://dbt3.ch/@dbtech

Join Discord!
✅   / discord  

show more

Share/Embed