Unit 2
Unit 2
Hypervisor-based Virtualization:
● Type 1 Hypervisor (Bare-metal Hypervisor): Installs directly on the
physical hardware and manages virtual machines without the need for
a host operating system. This approach is highly efficient and is
commonly used in enterprise environments for server virtualization.
● Type 2 Hypervisor (Hosted Hypervisor): Installs on top of a host
operating system and is suitable for local development and testing.
While not as performance-optimized as Type 1, it provides flexibility for
individual users.
Containerization:
● Containers encapsulate applications and their dependencies, providing
a lightweight and portable solution. Docker, a popular containerization
platform, allows developers to package, distribute, and run applications
consistently across different environments. Kubernetes is often used
for container orchestration, managing the deployment and scaling of
containerized applications.
Hardware-assisted Virtualization:
● Modern CPUs come equipped with features such as Intel VT and AMD-
V, which enhance virtualization performance. These hardware-assisted
virtualization technologies allow virtual machines to execute
instructions directly on the CPU, improving efficiency.
Desktop Virtualization (VDI - Virtual Desktop Infrastructure):
● VDI separates the desktop environment from the physical device,
allowing users to access their virtual desktops remotely. This
facilitates centralized management, improved security, and flexibility in
delivering desktop experiences to end-users.
Network Virtualization:
● Network virtualization abstracts and reproduces traditional networking
components, such as switches and routers, in a virtual environment.
Software-Defined Networking (SDN) is a common approach, providing
programmable and flexible network configurations.
Storage Virtualization:
● Storage virtualization abstracts physical storage resources, creating a
unified storage pool. This allows for dynamic allocation, efficient
utilization, and simplified management of storage resources.
Serverless Computing:
● Serverless computing abstracts infrastructure management entirely
from developers. With serverless platforms like AWS Lambda,
developers can focus solely on writing code, while the cloud provider
automatically handles the underlying infrastructure, including scaling
and resource allocation.
Characteristics of Virtualization
1. Resource Abstraction
Virtualization enables the abstraction of physical resources such as processors, memory,
storage, and network components. This abstraction allows multiple virtual instances to run
on a single physical machine, optimizing resource utilization and maximizing efficiency. For
instance, a single physical server can be virtualized into multiple virtual machines (VMs),
each operating independently of its operating system.
2. Isolation
Virtualization provides isolation between virtual machines (VMs) or containers. Each
virtual instance operates independently, with its own operating system and
applications, ensuring that activities in one instance do not impact others.
3. Hardware Independence
One of the defining characteristics of virtualization is its ability to decouple virtual instances
from the underlying physical hardware. This hardware independence allows IT teams to
migrate virtual instances across different physical hosts without incurring downtime.
Businesses can upgrade or replace hardware components without affecting the functioning
of virtualized workloads.
4. Dynamic Resource Allocation
Virtualization enables dynamic allocation of resources based on demand. Resources
can be scaled up or down in real-time, allowing for efficient utilization and
adaptability to changing workloads.
8. Cost Savings
By maximizing resource utilization, virtualization contributes to cost savings.
Organizations can run multiple virtual instances on a single physical server, reducing
the need for additional hardware and associated operational costs.