Got it

Containers & Virtual Machines - Made Easy: Concepts Explained

Latest reply: Sep 16, 2021 10:48:46 696 14 10 0 2

Virtual Machines (VMs) vs Containers: What's The Difference?


Introduction  

    In continuation of articles related to Cloud containerization, we started with Microservice with its requirements and benefits.

(https://forum.huawei.com/enterprise/en/microservices-made-easy-concepts-explained/thread/690829-100487)

then Kubernetes, How it was evolved and how it is working with benefits.

(https://forum.huawei.com/enterprise/en/kubernetes-managing-galaxy-of-billion-containers/thread/692101-893 )


Now I would like to share a comparison between Virtual Machines and Containers, How they are different, and what are the characteristics of both.


containers

Containers

Stock Image Source: pat-whelen-NxM3zUWHFoI-unsplash


Brief history

    In the early 1970s, Virtualization changed networked computing, that's shift had a major impact on the computing revolution.


Then the container revolution began with improved performance in data center technologies and application development led to cloud computing.


 Container vs VM

VM vs Containerized deployment

             Image Source:  Kubernetes Website



Containers

    A container is an isolated, lightweight silo for running an application on the host operating system, each container has its own library & applications.

It is easy to deploy, fast boot time & dynamic resource allocation.

Simply we can say its OS (Operating System) virtualization with a layer of container run-time (software container management)


Containers can run:

  • On top bare metal servers

  • On top hypervisors

  • In cloud infrastructure

K8

Containerization

             Image Source:  Kubernetes Website




Benefits of containers

Containers are very useful in developing, deploying, and testing modern distributed apps and microservices that can operate in isolated execution environments on the same host machines.


Virtual Machines


    VM is an emulation of a computer system, it makes many separate computers on hardware that is actually one computer.

OS & their applications share hardware resources.


In simple words, Virtually dividing one server/cluster into multiple servers working individually, all are being controlled by HyperVisor.


VM

Image Source:  VM  




The virtual machine contains all necessary elements to run the apps, including:


  • Computing

  • Storage

  • Memory

  • Networking

  • Hardware functionality available as a virtualized system


End Remarks


    With the use of containers, developers are not writing application code into different VMs operating different app components to retrieve compute, storage, and networking resources. 

A complete application component is executed in its entirety within its isolated environment without affecting other app components or software.


laptop

Cloud Devlopers

Stock Image Source:photo-1454165804606-c3d57bc86b40-unsplash


It is not the end but it is a beginning. Sharing more about Kubernetes in the next article.



You are welcome to leave a message and exchange in the comment area. Thank you!








zaheernew
MVE Author Created Jan 29, 2021 20:59:18

Highly Useful
View more
  • x
  • convention:

A good explanation of a common question.
View more
  • x
  • convention:

BAZ
BAZ Created Jan 30, 2021 17:15:52 (0) (0)
Glad you liked it  
thanks ..it really helpful for me.
View more
  • x
  • convention:

BAZ
BAZ Created Jan 30, 2021 17:15:20 (0) (0)
Nice to hear. Thank you  
cooool
View more
  • x
  • convention:

thanks
View more
  • x
  • convention:

andersoncf1
MVE Author Created Jan 31, 2021 15:14:29

Thanks my friend
View more
  • x
  • convention:

Good job
View more
  • x
  • convention:

Thanks for sharing
View more
  • x
  • convention:

well explained. thank you for the post.
View more
  • x
  • convention:

12
Back to list

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.