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 !!
Facebook Page Facebook Group Twitter Feed Google+ Feed Telegram Group