Skip to main content

Command Palette

Search for a command to run...

Virtual Machine & Virtualization a Game changer...

Updated
4 min read
Virtual Machine & Virtualization a Game changer...
M

Hi, How are you !! Hope you doing good....

I got introduced to Cloud initially. As I went ahead learning what is cloud and how it works, then got to know a field which is DevOps that makes Cloud model more effective.

So, as I started working & got good experience on AWS. I have been learning the DevOps tool and technologies on how to use it with the Cloud, which will give me good understanding on how Cloud and DevOps go hand in hand to deploy my applications.

Issues working without Virtual Machine

Consider there is an organization called as "tester.ccom". They have requirement where they need to deploy an application called as "Google.com". But the issue is, organization doesn't have any server on which they can deploy the "Google.com" application.

Due to this the organization buy’s a new server of 100GB RAM and 100 CPU Core with Windows OS. Now the developer's team create the application & deploy on the new server. And they get to know that the application is using only 10GB RAM and 10CPU Core, due to this remaining configuration of 90GB RAM and 90CPU Core is wasted.

After few days the organization receives another client requesting for a new application called "Amazon.com" to be deployed which will require Ubuntu OS. So, the organization already has a server with 90GB RAM and 90CPU Core configuration wasted as it's having Windows OS. Due to this issue the organization has to buy another new server but of Ubuntu OS to deploy the "Amazon.com" application.

Issue faced -

  1. The cost of buying a new server every time for new application, is high

  2. The efficiency reduces as a single server is used for separate application.

How Virtual Machine increases the efficiency and decreases the cost

Lets take above scenario itself. But we will using concept of virtualization here.

So, the "tester.ccom" organization, has the new server of size 100GB RAM and 100CPU Core of Windows OS. Now the organization will not directly deploy the application on the server. Instead there is layer called as "Hypervisor" in the server with the help of which the organization will create virtual machines on the new server of the required configuration and required OS. So, VM-1 is created for deploying the "Google.com", VM-2 is created for deploying "Amazon.com" and so on.

The Hypervisor helps to do logical partitioning of the configuration of the physical server, helping to create virtual machine’s. And this virtual machine’s will have it’s own RAM, CPU Core which they get from the physical server. The VM's will be isolated from each other. This process is called as Virtualization.

Issues Solved -

  1. The cost of buying the new server of each new application is very low.

  2. No need to deploy each application separately on new servers, as a result of which you can manage multiple projects on the VM's created on single physical server increasing the efficiency.

How VM concept is used via. AWS CSP

AWS has it’s own datacenter in many places in the world. So, say I am a user from Delhi and want to have a new Windows OS with 50GB RAM and 50CPU Core Virtual Machine to deploy application. For which I will reach out to AWS and from the nearest datacenter which is Mumbai region i will request for the a new Virtual Machine.

What AWS does is that, it has large datacenter in Mumbai region. Datacenter is storage of racks having high configuration servers. So, as per my requirement of 50GB RAM and 50CPU Core, AWS will look for the server in the datacenter which will fulfill my demand. Once the server is available in datacenter, so the hypervisor in the server will create a virtual machine as per the given configuration and the IP address of the virtual machine is given to the user.

What is a Virtual Machine & why called as logical computer systems?

VM is a logical partitioning/isolation of a physical machine using Hypervisor, which creates virtual environments that function as virtual computer's. Logical partition/isolation means say in a physical machine there are 3 VM's created, so each VM will be isolated from the other VM and each VM will use it's own CPU, RAM, disk i.e. it won't depend on the other VM's for hardware in the physical machine.

Conclusion

So, the concept of hypervisor using virtualization creates virtual machine which helps millions of users to use the same server and work on different configuration application and save the cost of buying new server. This concept of virtualization was not there earlier, so it made the process lot hectic to deploy application of different configuration. Now in every machine "hypervisor" is pre-installed and you can create virtual machine on your laptops/computers…

“Glad I could help you understand how Virtualization makes life easy. Do connect with me for more information”…

More from this blog

Mihir's Tech blog

69 posts