Virtualization vs Containerization
Posted on October 28, 2024
Virtualization is a technology which allow to create different virtual environment on same resources which means same resource is sharing with virtual machines(VMs)
Virtualization is very vast topic to understand in depth as of now just think there are two types of virtualization
1. Hardware Virtualization
2. Software Virtualization
1. Hardware Virtualization
Below architecture use to create the Hardware virtualization
- Core level of Virtualization is a Infrastructure containing Hardware like memory , CPU etc
- Second level is a Host or Base Operating System which is require to process the hypervisor application and run the hardware
- Third level is the Hypervisor means its a virtualization layer (ex. VMware ) on the top of Base OS
- Final level is the multiple Virtual machines (also called guest OS) we can install on the top of VMware and we can provide limited resources to each VM
Advantage
- If any application is down then it only impact on guest OS level only. So the other OS are safe
- Can install multiple different flavour of OS on same Base OS.
Disadvantage
- Wastage of Resources need to install OS for application.
- Restart of OS take 1 to 1.5 minute depends of application load
2. Software Virtualization
Below architecture use to create the Hardware virtualization
Software Virtualization[/caption]
- Core level of Virtualization is a Infrastructure containing Hardware like memory , CPU etc
- Second level is a Host or Base Operating System which is require to process the hypervisor application and run the hardware
- Third level is the software virtualization (ex. Docker ) on the top of Base OS
- Final level is the multiple Containers on the top of VMware and we can provide limited resources to each VM
Container containing the bunch of Application, userdata and dependent binaries
Advantage
- If any application is down then it only impact on same container only. So the other containers are safe
- Can install multiple Containers on Docker.
- Restart take mili seconds to few seconds
Disadvantage
- Not self healing.
- Not work for big infrastucture (Docker). But we have kubernetes for this
For a comprehensive understanding of the topic, we invite you to watch the video below. It provides in-depth insights and expert analysis that will enhance your knowledge and perspective. Don’t miss out on this valuable resource!