Showing posts with label Virtual Machine. Show all posts
Showing posts with label Virtual Machine. Show all posts

Friday, 12 July 2019

VM v/s Containers


Continuing the last post "containerization - what & why", In this post, we will compare the VM & Containers advantages, which one will server us better in which scenario ?


Portability:
VMs are more portable than Containers because VM carry its os with itself hence it can run on any host od where Containers can only run on the os for which it is built.

Size:
VMs are heavier than Containers due to guest os size within VM.

Maintenance Ease:
Containers are easy to maintain as with it Developers only have to deal with the application code & its dependencies, underlying os will be maintained by the os team where VMs are heavier and tightly coupled with application which makes it more difficult to manager.

Replication:
Containers can be replicated faster than VM and consume less resources on host os.

Kickoff time:
Containers are taking less time to kick off than VM as containers are using host os memory and resources which is already up and running where VM first have to bring up its guest os and then application.

Security:
VM are more secure than Containers as Containers shares lot of things with host os and it can be fatal if missed a back door access to your container. But with evolving kubernetes it can be made more secure for use.

Let me know in comment what next you want to discuss about Containerization ?? till then Happy Learning !!



Like the below page to get the update  
Facebook Page      Facebook Group      Twitter Feed      Google+ Feed      Telegram Group     


Monday, 3 June 2019

Containerization - What & Why ??


Containerization, always a word which describe to hold something, literally taken from the world of freight transportation which allows to put lot of different product/item into one box and move around the world without worries of damages. Quite a definition :) Isn't it ?
                 In simple word, or I say in IT term, Containerization is a process or a way which allows user to have a sandbox environment with required software specific to versions which you can flush whenever you are done with it and re-instantiate it when needed.

Now questions comes then what is the difference between a Virtual Machine and Container which we are going to discuss next.

In last decade, Virtual Machines (VM) allow IT giants/users to have one physical machine and host different application and its variants in VMs which shares the resources from host machine. But this comes with a small price, the bottleneck of resources shared. Your physical machine limit to host VMs is totally depends on its resources such as storage, processing power or memory cause VM requires these as contains the guest os and application with its dependencies. Guest OS itself eats lots of host storage & memory and required to be patched on timely manner to support your application.

VM stack is somewhat look like below -

https://www.datagenx.net/2019/02/lets-learn-git-pull-specific-folder.html

Containerization has removed guest OS dependency and uses Host machine and OS which substantially reduce the size of container as well as resources consumption which brings lot more pros over virtual machine. Containerization stack is as below -

https://www.datagenx.net/2019/02/mongodb-index-in-python-simple-index.html
In next post, we will discuss about pros and cons of VM and Containerization.




Like the below page to get the update  
Facebook Page      Facebook Group      Twitter Feed      Google+ Feed      Telegram Group