Virtualization vs containerization

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

Hardware virtualization

  1. Core level of Virtualization is a Infrastructure containing Hardware like memory , CPU etc
  2. Second level is a Host or Base Operating System which is require to process the hypervisor application and run the hardware
  3. Third level is the Hypervisor means its a virtualization layer (ex. VMware ) on the top of Base OS
  4. 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 

  1. If any application is down then it only impact on guest OS level only. So the other OS are safe
  2. Can install multiple  different flavour of OS on same Base OS.

Disadvantage

  1. Wastage of Resources need to install OS for application.
  2. 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 Software Virtualization[/caption]

 

  1. Core level of Virtualization is a Infrastructure containing Hardware like memory , CPU etc
  2. Second level is a Host or Base Operating System which is require to process the hypervisor application and run the hardware
  3. Third level is the software virtualization  (ex. Docker ) on the top of Base OS
  4. 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 

  1. If any application is down then it only impact on same container  only. So the other containers are safe
  2. Can install multiple  Containers on Docker.
  3. Restart take mili seconds to few seconds

Disadvantage

  1. Not self healing.
  2. 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!

Categories: Containerization


About Me

My name is Aaftab Hamdani. I am a Technical Enthusiast. I have strong Experience in Linux, Ansible, Docker, Kubernetes, Terraform, CI/CD, Virtualization, AWS, Azure, Shell scripting and Android development in Java programming.

Read More

Follow Me: