liveBook · Manning

Virtualization

As explained in Fundamentals of Cybersecurity

Virtualization is a technique that abstracts physical computing resources to create logically isolated virtual computing environments or resources.

Virtualization lets one physical computer share its hardware among several separate digital environments. Each environment can act like an independent computer, even though the underlying server is shared. Cloud providers use this separation to serve multiple customers without giving each one dedicated hardware. section 13.4.2 section 13.4.1

A virtual machine (VM) is a software-defined computer running on a physical host. It has its own operating system, applications, and allocated computing resources. Think of dividing a large hotel suite into smaller private rooms: guests share the building, but use their rooms independently. section 13.4.2

One university server, several jobs

A university has a server with 16 CPU cores and 64 GB of RAM. Rather than reserve it for one job, its IT team divides it into four VMs. One runs a Windows Server exam platform; another runs a Linux research notebook hub. Sharing the server this way makes better use of its capacity and can reduce space, electricity, and cooling needs. section 13.4.2

 
Virtual Machines (VMs)
Containers
Virtualization
Full (Hypervisor emulates entire hardware stack)
Lightweight (Container engine shares the host OS)
Isolation
Strong (each VM instance has its own OS)
Moderate (each container is a runtime environment on the same shared OS)
Startup Time
Slow (minutes)
Fast (seconds)
Performance
~15% loss
<2% loss
Density
10–100 instances per host
100–1000 instance per host
Security Risks
Compromise of OS is typically contained to that VM
Shared OS increases potential blast radius on OS security attacks
Ideal Use Case
Running multiple fully independent OS environments
Rapid deployment of microservices and applications
Virtualization
Full (Hypervisor emulates entire hardware stack)
Lightweight (Container engine shares the host OS)
Isolation
Strong (each VM instance has its own OS)
Moderate (each container is a runtime environment on the same shared OS)

Compare VMs with containers before choosing an approach: VMs have separate operating systems and stronger isolation, while containers share the host operating system and are lighter and faster to start. section 13.4.2

Virtualization is part of the infrastructure a cloud provider manages. In Infrastructure as a Service (IaaS), the provider manages the data center, hardware, and virtualization, while the customer manages the operating system, applications, and data. Moving to the cloud does not remove the customer’s responsibility for protecting its data. section 13.5

How Fundamentals of Cybersecurity covers it

How deep it goes
Defines virtualization and VMs, illustrates resource allocation, and compares VMs with containers without providing a setup procedure.
Examples
Uses a university server divided into VMs for different jobs and a hotel-suite analogy for independent environments.
What it assumes
Introduces VMs from the familiar idea of a physical computer rather than assuming prior virtualization knowledge.
What you can do after
Evaluate/understand how VMs improve server utilization and how their isolation differs from containers.
How it connects
Connects virtualization to cloud computing, virtual machines, hypervisors, containerization, and Infrastructure as a Service.

Also explained in

Compare how 3 books explain virtualization →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Fundamentals of Cybersecurity. The section links point to the parts of the book it draws on.