STCLOUD_hypervisors, types, benefits, virtual machines, containers

original file (copied)

RAW FILE

This note has not been edited yet.

Hypervisors Lecture

Recap

Types of Virtualization

analyze the context to find out if (1) it's virtualization, and (2) what type of virtualization it is. analyze it in the use-case perspective

Server virtualization → resource maximization

Network Virtualization → ...

Desktop Virtualization → accessibility

Storage Virtualization → ...

Data Virtualization → ...

_attachments/public_STCLOUD_datavirt.png

Application Virtualization → ...


Virtualization and Hypervisors

Hypervisor

Benefits of Hypervisors

hypervisors and virtualization work hand in hand: virtualization has characteristics, hypervisors allow that to happen and gives us these benefits

Types of Hypervisors

A closer look in Hypervisors

_attachments/Pasted image 20250520134637.png

Virtual machines vs Containers

_attachments/Pasted image 20250520135331.png

Containers Virtual Machines
better if you need everyone to be on the same OS better if you need to work with multiple OS, virtualizes the entire hardware of a computer
Feature Shares the host operating system Has its own kernel
Operating System More portable (lightweight), easier to start and shut down because it's using the same kernel Less portable (has to boot up everything)
Portability More portable Less portable
Speed Faster to start up and shut down Slower to start up and shut down
Resource usage Fewer resources More resources
Use Cases Good for portable and scalable application (ex. multiple web servers and db servers for load balancing → you can just open multiple containers) → fast deployment, etc. Good for isolated applications (sometimes there are applications that needs something from the OS that containers may not be able to provide)
Web development, Microservices architecture, Continuous integration and delivery, cloud computing Testing environment, development (OS restrictions, etc.), isolation of resources and physical for security etc., cloud computing, disaster recovery

Summary

Hypervisor → OS virtualization Container → Applications
More focused on operating system More focused on applications
Allows an operating system to run independently from the underlying hardware using virtual machines. (HV can run containers) Allow applications to run independently of an operating system
Can run multiple OS on top of a bare-metal hypervisor or installed on top of the OS of a hosted hypervisor Can run on any operating system, with only a container engine to run (dependent on your host OS)
Share virtual computing, storage, memory, and network resources Are extremely portable since in a container, an application has everything it needs to run (uses the host OS's kernel)
Used to create and run VMs Compared to VMs, containers package an app and its services
More featured and is generally used by end users to enterprise organizations More lightweight and portable than VMs and used for fast and flexible app development and deployment