F5F Stay Refreshed Software Operating Systems Containerization vs Virtualization

Containerization vs Virtualization

Containerization vs Virtualization

T
Turtle_PvP
Junior Member
49
02-13-2018, 03:51 AM
#1
Curiously, what options do you have? I currently host three Linux VMs (Debian and Ubuntu) via KVM on an Ubuntu server. I'm exploring LXC as a way to reduce resource usage on my hardware. I'd like to know if anyone has experience with LXC and how it compares to KVM in terms of resource consumption. Regarding networking, if I need separate containers for a MySQL server and another for NGINX or Apache, will I lose advanced networking capabilities? Is there a method around this other than using reverse proxying? Are there any practical setups you've shared on forums or websites that demonstrate this? I'm interested in learning more about LXC before starting.
T
Turtle_PvP
02-13-2018, 03:51 AM #1

Curiously, what options do you have? I currently host three Linux VMs (Debian and Ubuntu) via KVM on an Ubuntu server. I'm exploring LXC as a way to reduce resource usage on my hardware. I'd like to know if anyone has experience with LXC and how it compares to KVM in terms of resource consumption. Regarding networking, if I need separate containers for a MySQL server and another for NGINX or Apache, will I lose advanced networking capabilities? Is there a method around this other than using reverse proxying? Are there any practical setups you've shared on forums or websites that demonstrate this? I'm interested in learning more about LXC before starting.

C
68
02-25-2018, 12:41 PM
#2
I've mainly used the older OpenVZ setup, but if LXC is an improvement, it's essentially running distinct systems with their own virtual network connections and IP addresses. This allows you to implement any advanced networking features you desire. RAM and disk consumption are significantly reduced since only one kernel is active.
C
chris344574154
02-25-2018, 12:41 PM #2

I've mainly used the older OpenVZ setup, but if LXC is an improvement, it's essentially running distinct systems with their own virtual network connections and IP addresses. This allows you to implement any advanced networking features you desire. RAM and disk consumption are significantly reduced since only one kernel is active.

H
Hoovered
Member
64
02-26-2018, 09:10 PM
#3
KVM is the clear choice here. OpenVZ offers no real value—it's just a placeholder. Connecting containers to networks feels like using a virtual network card. The host handles routing, directing traffic between nodes and containers. For example, you can place your MySQL server at 10.12.11.5 and your web server at 10.12.11.23, as long as the node establishes proper ARP connections.
H
Hoovered
02-26-2018, 09:10 PM #3

KVM is the clear choice here. OpenVZ offers no real value—it's just a placeholder. Connecting containers to networks feels like using a virtual network card. The host handles routing, directing traffic between nodes and containers. For example, you can place your MySQL server at 10.12.11.5 and your web server at 10.12.11.23, as long as the node establishes proper ARP connections.

V
vavalbel
Member
105
02-26-2018, 11:07 PM
#4
Docker restricts you to just one app or process inside each container, which can be tricky when managing a full LAMP setup.
V
vavalbel
02-26-2018, 11:07 PM #4

Docker restricts you to just one app or process inside each container, which can be tricky when managing a full LAMP setup.

F
Framix_14
Member
55
03-02-2018, 06:58 AM
#5
Got it.
F
Framix_14
03-02-2018, 06:58 AM #5

Got it.