DEV Community

Cover image for The Concept Of Virtualization (hypervisor)
wassef ben ahmed
wassef ben ahmed

Posted on

3 1

The Concept Of Virtualization (hypervisor)

There are 7 primary types of virtualization, Hypervisor being the topic of this article.


We'll start by taking a look at what a server looks like without Virtualization.
Alt Text
We'll start by taking a look at what a server looks like without virtualization. In this example, our server is working with the physical hardware that it has, it's running a Windows OS that is serving a website over HTTP. As simple as this configuration might be we can run to some limitations along the way:

  • our OS is tied to hardware, which means it is not portable and we can't easily move that OS and the application that is installed on it to another piece of hardware if we have some sort of issue or if wanted to upgrade the specs due to more/less traffic.
  • the hardware might be underutilized because of the wrong estimation of what we need and in the context of cloud computing, this will cause a higher bill.

Let's now look at virtualization how it can help us solve some of these issues.
image
So with a virtualization stack, we have a server with an extra layer of abstraction.

image
this layer is able to present virtualized hardware to the operating system, in that case, we call it a virtual machine or VM for short. The VM has an allocation of resources, maybe the server has 32GB of RAM but we just give 8GB the VM, also a certain amount of CPU power, disk space, and an allocation of shared networking... There is no physical hardware here it's virtualized and presented by the hypervisor but the OS doesn't know that, it just sees hardware.

image

the cool part about this is being able to run multiple VMs on the same physical hardware, another benefit is that any instance of these VMs can easily be moved to another server if it failed, went down, or if you wanted to perform some upgrades on hardware.

useful resources:

running Hyper-V in EC2

Amazon Machine Images (AWS AMI)

What virtualization software does EC2 use?

Image of Datadog

How to Diagram Your Cloud Architecture

Cloud architecture diagrams provide critical visibility into the resources in your environment and how they’re connected. In our latest eBook, AWS Solution Architects Jason Mimick and James Wenzel walk through best practices on how to build effective and professional diagrams.

Download the Free eBook

Top comments (1)

Collapse
 
fedi_krayem profile image
FEDI KRAYEM

Really Helpful! everything was on point.
Bravo.

👋 Kindness is contagious

Engage with a sea of insights in this enlightening article, highly esteemed within the encouraging DEV Community. Programmers of every skill level are invited to participate and enrich our shared knowledge.

A simple "thank you" can uplift someone's spirits. Express your appreciation in the comments section!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found this useful? A brief thank you to the author can mean a lot.

Okay