0% found this document useful (0 votes)
27 views31 pages

Virtualization in Cloud Computing Explained

The document provides an overview of virtualization technology, explaining its definition, types, and benefits, including efficient resource utilization, cost reduction, and easy scalability. It outlines the virtualization reference model, detailing the physical, virtualization, and virtual machine layers, as well as characteristics of a virtualized environment such as resource pooling and isolation. Additionally, it discusses various types of virtualization, including storage, network, desktop, application, and server virtualization, along with their advantages, disadvantages, and examples.

Uploaded by

bhilareom07
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views31 pages

Virtualization in Cloud Computing Explained

The document provides an overview of virtualization technology, explaining its definition, types, and benefits, including efficient resource utilization, cost reduction, and easy scalability. It outlines the virtualization reference model, detailing the physical, virtualization, and virtual machine layers, as well as characteristics of a virtualized environment such as resource pooling and isolation. Additionally, it discusses various types of virtualization, including storage, network, desktop, application, and server virtualization, along with their advantages, disadvantages, and examples.

Uploaded by

bhilareom07
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Unit2.

VIRTUALIZATION

MSBTE 5TH SEMESTER 2025


SUBJECT

CLOUD COMPUTING 315325

☁️ 2.1 Introduction, Virtualization Reference Model, and Characteristics


of Virtualized Environment

A. Introduction to Virtualization
Definition:
Virtualization is a technology that creates a virtual (rather than physical)
version of computer resources such as servers, storage devices, networks, or
even operating systems.
In simple words —
Virtualization allows one physical system to run multiple virtual systems
(called Virtual Machines or VMs) simultaneously.

Example:
A single computer (host) can run multiple OS like Windows, Linux, and Ubuntu at
the same time using VMware or VirtualBox.

Need for Virtualization:


1. Efficient Resource Utilization:
Physical systems are often underused; virtualization allows better usage of
CPU, memory, and storage.
2. Cost Reduction:
Fewer physical machines → less hardware cost, electricity, and
maintenance.
3. Easy Scalability:
New virtual machines can be created quickly when required.
4. Isolation:
Each virtual machine is independent, so failure of one doesn’t affect others.
5. Testing and Development:
Developers can test software in multiple environments without extra
hardware.

1
[Link]

Types of Resources that can be Virtualized:


• Hardware (CPU, memory, disks)
• Operating Systems
• Storage Systems
• Network Components
• Applications

B. Virtualization Reference Model


The Virtualization Reference Model shows how different components work
together in a virtual environment.
It consists of three main layers:

1️⃣ Physical Layer (Hardware Layer):


• Contains physical resources such as CPU, memory, disk, and network
interface.
• Provides the base platform for virtualization.
Examples: Actual servers, storage devices, routers.

2️⃣ Virtualization Layer (Hypervisor Layer):


• The core of virtualization.
• A software called Hypervisor sits between hardware and virtual machines.
• It divides physical resources into multiple Virtual Machines (VMs).
• Each VM behaves like an independent system.
Examples: VMware ESXi, KVM, Microsoft Hyper-V.

3️⃣ Virtual Machine Layer (Guest Layer):


• Contains virtual machines (VMs) created by the hypervisor.
• Each VM has its own Operating System and Applications.
• Users access and work inside these virtual machines.

Diagram (Textual Explanation):

2
[Link]

Working:
1. Physical resources are managed by the hypervisor.
2. Hypervisor creates virtual machines.
3. Each virtual machine runs its own OS and applications independently.
4. Users interact with VMs as if they were real computers.

C. Characteristics of a Virtualized Environment


A virtualized environment has specific features that make it efficient and flexible.

1️⃣ Resource Pooling


• Multiple physical resources (CPU, memory, storage) are combined into a
shared pool.
• Virtual machines use resources from this pool as needed.

2️⃣ Isolation
• Each VM is independent and isolated from others.
• If one crashes, others remain unaffected.
• Ensures security and stability.

3️⃣ Scalability
• Virtual machines can be easily scaled up or down based on resource
demand.

3
[Link]

4️⃣ Flexibility and Portability


• Virtual machines can be moved between physical servers without downtime.
• Increases reliability and maintenance efficiency.

5️⃣ Efficient Utilization


• Utilizes hardware resources effectively by running multiple workloads on one
server.

6️⃣ Manageability
• Centralized tools allow easy management of VMs (create, delete, monitor,
backup).

7️⃣ Security
• Virtual environments include isolation and controlled access to prevent
unauthorized use.

8️⃣ Dynamic Allocation


• Resources are dynamically allocated and released as per workload
requirements.

D. Summary Table
Component Description
Physical Layer Real hardware resources
Virtualization Layer Hypervisor divides hardware into VMs
Virtual Machine Layer VMs with OS & applications
Key Features Isolation, scalability, efficiency, manageability

In Short:
Virtualization creates multiple independent virtual systems from one physical
system.
The hypervisor manages these VMs efficiently, making resource usage optimal
and flexible.

4
[Link]

☁️ UNIT – II: Virtualization


2.2 Differentiate Various Types of Virtualization
(Storage, Network, Desktop, Application, Server)

1️⃣ Storage Virtualization


Definition:
Storage virtualization is the process of pooling multiple physical storage
devices (like hard drives, SSDs, NAS, SAN, etc.) into a single logical storage
resource that appears as one storage system to users and applications.
It hides the complexity of managing various storage devices and allows
administrators to manage storage centrally.

Need of Storage Virtualization:


• Managing large data efficiently.
• Reducing data redundancy.
• Improving data access speed.
• Ensuring better utilization of existing storage devices.

How It Works:
A virtualization layer (software or controller) sits between physical storage and
the host system.
It collects storage from multiple devices and presents it as a unified logical pool.
This pool can then be divided and assigned to servers or users as needed.
Example architecture:

5
[Link]

• Physical disks → Virtualization Layer → Logical Volumes →


Users/Applications.

Advantages:
1. Improved Utilization: Combines multiple small storages into one big pool.
2. Simplified Management: Centralized control over data and backup.
3. Flexibility: Easy to add or remove storage devices.
4. Improved Performance: Parallel access to data from multiple disks.
5. Disaster Recovery: Simplifies replication and backup operations.

Disadvantages:
1. Complex Configuration: Requires advanced management tools.
2. High Cost: Initial setup and software are costly.
3. Single Point of Failure: If the virtualization layer fails, the entire storage
system may become inaccessible.

Examples:
• RAID (Redundant Array of Independent Disks)
• Storage Area Network (SAN)
• IBM SAN Volume Controller

2️⃣ Network Virtualization


Definition:
Network virtualization is the process of combining physical network
resources and software network resources to form one unified virtual
network.
It allows multiple virtual networks to run on top of a single physical network
infrastructure.

Concept:
In a physical network, each device is directly connected. But in a virtual network,
connections are managed by software (like SDN controllers), enabling dynamic
control, automation, and scalability.

Types of Network Virtualization:


1. External Virtualization: Combines multiple networks into one.
2. Internal Virtualization: Creates virtual networks within a single system.

6
[Link]

Advantages:
1. Better Utilization of Network Resources: Multiple virtual networks share
the same hardware.
2. Improved Security: Virtual networks are isolated from each other.
3. Flexibility: Networks can be created, modified, or deleted dynamically.
4. Easier Troubleshooting: Virtual tools monitor and control traffic
effectively.
5. Support for Cloud & Data Centers: Enables Software Defined Networking
(SDN).

Disadvantages:
1. Complex Setup and Management: Needs specialized tools.
2. Performance Overhead: Virtual layers may add latency.
3. Troubleshooting Difficulty: Logical connections make debugging harder.

Examples:
• VLAN (Virtual Local Area Network)
• VPN (Virtual Private Network)
• SDN (Software Defined Networking)

3️⃣ Desktop Virtualization


Definition:
Desktop virtualization allows a user’s desktop environment (OS, apps, files) to
run on a remote server, and users can access it from any device through a
network.

Working:
• The desktop OS runs inside a virtual machine on a central server.
• Users connect to their desktop session using a thin client or browser.
• All applications and data are processed on the server — not on the user’s
device.

Types of Desktop Virtualization:


1. Virtual Desktop Infrastructure (VDI) – Each user has a dedicated virtual
desktop.
2. Remote Desktop Services (RDS) – Many users share the same OS
instance.

7
[Link]

Advantages:
1. Centralized Management: Admins can easily update or patch all desktops.
2. Security: Data stays on the server, reducing the risk of data theft.
3. Remote Access: Accessible from anywhere using any device.
4. Cost Saving: Reduces the need for powerful client hardware.
5. Business Continuity: Easier backup and disaster recovery.

Disadvantages:
1. Network Dependency: Requires stable internet connectivity.
2. High Initial Cost: Servers and licenses are expensive.
3. Performance Issues: If too many users connect, the server may lag.

Examples:
• VMware Horizon
• Citrix Virtual Desktops
• Microsoft Remote Desktop Services (RDS)

4️⃣ Application Virtualization


Definition:
Application virtualization isolates an application from the underlying operating
system.
It allows the application to run on a computer without being installed locally
— it executes inside a controlled virtual environment.

Working:
• The app runs in a virtual container created by the virtualization software.
• It communicates with the OS through a virtualization layer.
• Users can run applications on any device without compatibility issues.

Advantages:
1. Easy Deployment: Apps can be distributed across many users instantly.
2. No Compatibility Issues: Works on any OS version.
3. Reduces System Conflicts: Applications don’t modify the host system.
4. Simplified Updates: Update once on the server, and all users get the new
version.

Disadvantages:

8
[Link]

1. Limited Application Support: Not all apps can be virtualized.


2. Requires Server Infrastructure: Needs central management.
3. Performance Overhead: Apps may run slower than local installations.

Examples:
• Microsoft App-V
• VMware ThinApp
• Citrix XenApp

5️⃣ Server Virtualization


Definition:
Server virtualization divides a single physical server into multiple virtual
servers (VMs) using a software layer called a hypervisor.
Each virtual server operates independently, with its own OS and applications.

Working:
• Hypervisor installs on physical hardware.
• It allocates CPU, memory, storage, and network resources to each virtual
machine.
• Multiple virtual servers run simultaneously on one physical server.

Advantages:
1. Better Hardware Utilization: Maximizes the use of CPU and memory.
2. Reduced Cost: Fewer physical servers required.
3. Isolation: Each VM runs separately, reducing security risks.
4. Quick Deployment: New servers can be created in minutes.
5. Disaster Recovery: Easier to back up and restore VMs.

Disadvantages:
1. Requires Powerful Hardware: To support multiple VMs.
2. Performance Overhead: Hypervisor consumes system resources.
3. Complex Management: Needs proper configuration and monitoring tools.

Examples:
• VMware ESXi
• Microsoft Hyper-V
• KVM (Kernel-based Virtual Machine)

9
[Link]

Comparison Table:
Type Definitio Advantage Disadvantage Exampl
n s s e
Storage Combines Efficient, Complex, RAID,
Virtualizatio multiple flexible, costly SAN
n storage easy
devices backup
into one
logical
pool
Network Combines Flexible, Complex VLAN,
Virtualizatio physical scalable, management SDN
n and secure
software
networks
Desktop Runs Centralized, Network VMware
Virtualizatio desktop secure, dependent Horizon
n OS accessible
remotely
on server
Application Runs Easy Limited App-V,
Virtualizatio apps updates, support, slower ThinApp
n without less conflict
installing
locally
Server Divides Cost- Needs high- Hyper-V,
Virtualizatio one effective, end hardware KVM
n server isolated
into
multiple
virtual
ones

Summary:
Virtualization can be applied at different levels — storage, network, desktop,
application, and server.
Each improves resource efficiency, security, and management, making cloud
computing more scalable and cost-effective.

10
[Link]

☁️ Unit 2.3: Technology Examples

2.3.1 VMware: Full Virtualization Reference Model

1️⃣ Introduction to VMware:


• VMware is a pioneer in virtualization technology that allows multiple
operating systems to run simultaneously on a single physical machine.
• It provides complete hardware-level virtualization, known as Full
Virtualization, where each virtual machine (VM) acts as a complete,
independent system.

2️⃣ What is Full Virtualization?


• In Full Virtualization, the guest operating system (OS) is completely
unaware that it’s running in a virtualized environment.
• The hypervisor (Virtual Machine Monitor – VMM) provides a complete
simulation of underlying hardware, so each OS thinks it is running
directly on real hardware.

3️⃣ VMware Architecture (Full Virtualization Reference Model):


VMware’s architecture typically consists of three major layers:
(a) Hardware Layer
• Includes the physical resources such as CPU, RAM, storage, and network
devices.
• These resources are shared among multiple virtual machines.
(b) Hypervisor Layer (Virtualization Layer)
• The core component responsible for hardware abstraction and resource
allocation.
• VMware uses its own hypervisor, called VMware ESXi or VMkernel.
• It sits directly on the hardware (bare-metal) and manages all guest OSs.
• Provides isolation, scheduling, and memory management for VMs.
(c) Guest OS Layer
• Multiple guest operating systems (Windows, Linux, etc.) run
independently on top of the hypervisor.
• Each guest OS has its own virtual CPU, virtual memory, virtual network
card, and virtual disk.

11
[Link]

4️⃣ Working of VMware Full Virtualization Model:


1. Hypervisor intercepts hardware instructions from guest OS and
translates them into physical hardware operations.
2. Each VM behaves as if it has exclusive access to the system’s hardware.
3. The hypervisor dynamically allocates CPU, RAM, and I/O resources as
needed.
4. It ensures isolation between VMs — one VM’s crash doesn’t affect others.

5️⃣ Key Features of VMware:


• High Performance: Supports real-time resource allocation.
• Complete Isolation: Each VM is fully separated for security.
• Hardware Independence: VMs can be moved between physical servers
easily (vMotion).
• Snapshot & Cloning: Easy to back up or duplicate entire VMs.
• Management Tools: Comes with VMware vCenter for centralized
management.

6️⃣ Advantages:
• Supports multiple OS on same machine.
• Provides strong security and isolation.
• Offers resource optimization and load balancing.
• Allows easy migration and backup of VMs.

7️⃣ Disadvantages:
• Requires powerful hardware to handle multiple VMs.
• Licensing cost of VMware products is high.
• Performance overhead due to full hardware emulation.

8️⃣ Examples of VMware Products:


• VMware Workstation / Player – For desktop virtualization.
• VMware vSphere / ESXi – Enterprise server virtualization.
• VMware Fusion – For macOS.

12
[Link]

Diagram: Full Virtualization Reference Model (VMware)

13
[Link]

2.3.2 Xen: Architecture and Guest Operating System Management

1️⃣ Introduction to Xen:


• Xen is an open-source hypervisor developed at the University of
Cambridge.
• It uses Paravirtualization (and also supports full virtualization) to run
multiple operating systems on a single machine.
• Xen provides high performance and low overhead by allowing guest OSs
to communicate directly with the hypervisor.

2️⃣ What is Paravirtualization?


• In Paravirtualization, the guest OS is modified to interact directly with
the hypervisor.
• The OS is aware it’s running in a virtualized environment, which reduces the
need for instruction emulation.
• This makes Xen faster than full virtualization models.

3️⃣ Xen Architecture Overview:


Xen architecture consists of four main components:
(a) Hypervisor (Xen Core):
• The lowest layer, installed directly on hardware (bare-metal).
• Handles CPU scheduling, memory management, and device I/O.
• Provides isolation between virtual machines (called Domains).
(b) Domain 0 (Dom0):
• A special privileged VM created automatically when the hypervisor starts.
• Has direct access to hardware and is responsible for managing other
guest VMs.
• Runs a management tool called xend or xl to control other domains.
(c) Domain U (DomU):
• These are unprivileged guest VMs created and managed by Dom0.
• They run user applications and have no direct access to hardware.
(d) Device Drivers:
• Xen uses split drivers:
o Frontend driver (in DomU) handles requests.
o Backend driver (in Dom0) communicates with actual hardware.

14
[Link]

4️⃣ Working of Xen:


1. Xen hypervisor boots first and initializes CPU and memory management.
2. Domain 0 (Dom0) is created automatically with full privileges.
3. Dom0 loads drivers and manages creation of user domains (DomU).
4. Each DomU runs its OS and applications in isolation.
5. Hypervisor handles context switching and communication between domains.

5️⃣ Guest Operating System Management in Xen:


Feature Description
Dom0 Acts as the management OS. Controls resource
allocation, starts/stops guest OSs.
DomU Guest operating systems that run under the control of
Dom0.
Device Access Dom0 provides virtual devices (network, disk) to DomU
through split drivers.
Resource Xen hypervisor allocates CPU and memory dynamically
Scheduling among domains.

6️⃣ Advantages of Xen:


• High Performance: Paravirtualization reduces overhead.
• Open Source: Free to use and modify.
• Strong Isolation: Secure separation between guest OSs.
• Supports Live Migration: VMs can be moved without downtime.
• Supports Multiple OS: Linux, Windows, Solaris, etc.

7️⃣ Disadvantages of Xen:


• Complex Setup: Requires OS modification (for paravirtualization).
• Less User-friendly: Needs strong technical knowledge.
• Limited Hardware Support: Compared to VMware.

8️⃣ Examples of Xen Usage:


• Amazon Web Services (AWS) initially used Xen for EC2 instances.
• Citrix XenServer is built on Xen hypervisor.

15
[Link]

Diagram: Xen Architecture

16
[Link]

Comparison between VMware and Xen:


Feature VMware Xen
Type of Full Virtualization Paravirtualization (and
Virtualization Full)
Hypervisor Type Type 1 (Bare-metal) Type 1 (Bare-metal)
Guest OS Not required Required (for
Modification paravirtualization)
Performance Slightly lower (due to Higher (direct hypervisor
emulation) calls)
Ease of Use User-friendly GUI Command-line based
License Proprietary (Paid) Open Source (Free)
Examples VMware ESXi, vSphere Citrix XenServer, AWS
EC2

Summary:
VMware provides full virtualization, giving complete hardware emulation —
suitable for all OS types.
Xen focuses on paravirtualization, offering higher performance and lower
overhead — ideal for open systems and cloud infrastructures.

17
[Link]

☁️ 2.4 Virtual Machine Concepts and Management

2.4.1 Definition of Virtual Machine (VM)


Definition:
A Virtual Machine (VM) is a software-based emulation of a physical
computer system.
It runs an operating system and applications just like a real physical computer.
Each VM operates independently and has its own virtual hardware components
such as:
• CPU
• Memory
• Disk
• Network Interface
The VM is managed and created by a hypervisor (Virtual Machine Monitor).

Explanation:
• Multiple VMs can run simultaneously on a single physical system.
• Each VM is isolated from others — one VM’s crash doesn’t affect another.
• It provides hardware independence, resource sharing, and portability.

Examples:
• VMware Workstation
• Oracle VirtualBox
• Microsoft Hyper-V
• KVM (Kernel-based Virtual Machine)

2.4.2 Life Cycle of a Virtual Machine (VM)


A VM Life Cycle describes the various stages through which a virtual machine
passes from its creation to deletion.
1️⃣ Creation:
• A VM is created using virtualization software (like VMware, Hyper-V, etc.).
• Administrator allocates resources such as CPU cores, RAM, and storage.
• Operating System is installed on the virtual disk.

2️⃣ Provisioning:

18
[Link]

• Configuration and customization are done.


• Network settings, security parameters, and software installation are
performed.
• VM is made ready for use by the end-user or application.
3️⃣ Running / Execution:
• The VM is powered on and executes its OS and applications.
• Hypervisor allocates and manages physical resources dynamically.
• Monitoring tools track performance and usage.

4️⃣ Suspension / Paused State:


• A running VM can be suspended — saving its current state (RAM, CPU,
etc.) to disk.
• The system can later resume from the same point without restarting the
OS.

5️⃣ Snapshots / Cloning:


• A snapshot is taken to capture the current state of a VM.
• Cloning duplicates a VM for backup or testing purposes.

6️⃣ Migration:
• The VM is moved from one physical host to another for load balancing or
maintenance (explained in next section).

7️⃣ Deletion / Termination:


• When the VM is no longer needed, it is deleted and resources are released.

19
[Link]

Diagram: VM Life Cycle

• Create → Configure → Run → Pause → Snapshot → Migrate → Terminate

2.4.3 VM Migration – Concept and Techniques

Definition:
VM Migration is the process of moving a virtual machine from one physical
host to another without interrupting its services or with minimal downtime.
It helps achieve load balancing, fault tolerance, energy efficiency, and
maintenance in data centers.

Types of VM Migration:
1️⃣ Cold Migration:
• VM is powered off before migration.
• The entire VM files (disk, configuration, etc.) are copied to another host.
• Used for non-critical systems where downtime is acceptable.
Example: Moving a development VM during off-hours.

2️⃣ Live Migration:


• VM is moved while running, without shutting down.
• The hypervisor transfers the VM’s memory, CPU state, and network
connections in real-time.
• Very little service disruption occurs (few milliseconds).
Example: Cloud providers like AWS or Google Cloud perform live migration
for hardware maintenance.

Steps in Live Migration:

20
[Link]

1. Pre-copy Phase: Memory pages are copied while VM runs on source host.
2. Stop-and-copy Phase: VM is paused briefly, remaining data copied to
destination.
3. Resume Phase: VM resumes operation on destination host.
4. Cleanup: Old VM state is deleted from source host.

3️⃣ Storage Migration:


• Moves virtual disks (storage) from one datastore to another.
• Useful for balancing storage loads or upgrading storage systems.
Benefits of VM Migration:
• Load Balancing: Avoids overloading any single server.
• High Availability: Migrate VMs during hardware failure.
• Power Saving: Consolidate VMs to fewer hosts and power off idle servers.
• Maintenance: Move VMs before performing host updates.

Challenges:
• Network Latency: Delay in transferring large memory data.
• Downtime: Small downtime may still occur.
• Data Consistency: Must maintain exact VM state during transfer.
• Security Risks: Data may be exposed during transfer.

2.4.4 VM Consolidation – Concepts

Definition:
VM Consolidation is the process of combining multiple virtual machines onto
a smaller number of physical servers to optimize resource usage and reduce
operational costs.
It’s mainly used in data centers and cloud infrastructures to achieve energy
efficiency and resource optimization.

Concept Explanation:
• When servers are underutilized, consolidation gathers their workloads onto
fewer servers.
• Idle or underused servers can then be powered off to save energy.
• Hypervisors help monitor workloads and automate this process.

Types of VM Consolidation:

21
[Link]

1. Static Consolidation:
o Predefined allocation of VMs to physical servers.
o No real-time adjustment; requires manual configuration.
o Used in predictable workloads.
2. Dynamic Consolidation:
o Automatic migration of VMs based on current resource usage.
o Uses VM migration techniques to move workloads dynamically.
o Ideal for cloud environments.

Benefits:
• Cost Saving: Fewer active physical servers.
• Energy Efficiency: Reduced power and cooling needs.
• Better Resource Utilization: Balances workloads effectively.
• Simplified Management: Centralized control of fewer hosts.

Challenges:
• Performance Overhead: Overloaded servers can reduce performance.
• Migration Overhead: Too frequent migrations may cause instability.
• Complex Decision-making: Needs intelligent algorithms to decide where
to move VMs.

Example:
In a data center, if 10 servers are running at 20% utilization, consolidation can
migrate all workloads onto 3 or 4 servers, turning the rest off to save energy.

2.4.5 VM Management – Concepts

Definition:
VM Management refers to the process of monitoring, controlling, and
optimizing virtual machines throughout their lifecycle.
It involves tools and strategies to ensure performance, security, and reliability.

Objectives of VM Management:
• Efficient resource allocation (CPU, memory, storage).
• Ensuring security and isolation between VMs.
• Monitoring performance and detecting bottlenecks.
• Managing VM creation, migration, and deletion effectively.

22
[Link]

Components of VM Management System:


1. Resource Management:
o Distributes CPU, RAM, storage among VMs.
o Ensures fair and optimal use of hardware.
2. Performance Monitoring:
o Tracks usage of system resources.
o Identifies overloaded or idle VMs.
3. Automation:
o Automates tasks like VM creation, backup, migration, and scaling.
o Reduces manual intervention.
4. Security Management:
o Controls access to VMs through authentication and encryption.
o Isolates VMs to prevent interference or attacks.
5. Backup & Recovery:
o Periodic snapshots or clones are used for disaster recovery.

VM Management Tools:
• VMware vCenter
• Microsoft System Center Virtual Machine Manager (SCVMM)
• OpenStack Nova
• Proxmox VE
• Red Hat Virtualization Manager

Benefits of VM Management:
• Improves performance and uptime.
• Provides centralized control of all VMs.
• Enables load balancing and resource optimization.
• Enhances security through monitoring and isolation.

23
[Link]

Summary
Concept Description Benefit
VM Life Cycle Process from creation to Easy management
deletion
VM Migration Moving VM from one host to Load balancing,
another maintenance
VM Combining workloads on Energy & cost savings
Consolidation fewer servers
VM Monitoring and controlling all Performance, security,
Management VMs optimization

In Short:
Virtual Machines are the core of cloud computing — providing flexibility, isolation,
and scalability.
Effective VM migration, consolidation, and management ensure optimal resource
utilization and smooth cloud operations.

24
[Link]

☁️ 2.5 Advantages and Disadvantages of Virtualization

🔹 Introduction
Virtualization is a technology that allows multiple operating systems and
applications to run on a single physical machine by creating multiple virtual
machines (VMs).
Each VM behaves like an independent computer, but they share the same
underlying hardware resources.
🌟 Advantages of Virtualization

1️⃣ Efficient Utilization of Hardware Resources


• Virtualization allows multiple VMs to share the same physical hardware.
• CPU, memory, and storage are allocated dynamically as per demand.
• This avoids underutilization of physical servers.
Example:
Instead of using 5 separate servers each at 20% load, you can run 5 VMs on one
powerful server at 90% utilization.

2️⃣ Cost Savings


• Reduces the need for purchasing multiple physical machines.
• Lowers hardware, maintenance, and energy costs.
• Saves data center space and power consumption.
Example:
Organizations can save up to 70% in infrastructure cost using server
virtualization.

3️⃣ Simplified Management and Maintenance


• Centralized management tools (like VMware vCenter or Hyper-V Manager)
help monitor and control all VMs.
• Software updates, security patches, and backups can be done easily.
• Administrators can manage multiple servers from one dashboard.

25
[Link]

4️⃣ Quick Deployment and Provisioning


• New virtual machines can be created quickly using templates or snapshots.
• Reduces setup time for new projects, applications, or test environments.
Example:
A developer can clone a pre-configured VM instead of reinstalling an OS and
software manually.

5️⃣ Improved Disaster Recovery


• Virtual machines can be backed up, cloned, or replicated easily.
• In case of system failure, VM images can be restored on another host
quickly.
• Enables high availability and business continuity.
6️⃣ Isolation Between Virtual Machines
• Each VM operates independently of others.
• If one VM crashes or is attacked by malware, it doesn’t affect other VMs.
• Ensures security and stability of the environment.

7️⃣ Flexibility and Portability


• Virtual machines can be moved (migrated) between physical hosts without
downtime.
• Allows load balancing and resource optimization in real-time.
Example:
A running VM can be moved to another server during maintenance using live
migration.

8️⃣ Better Testing and Development Environment


• Developers can create multiple isolated test environments on a single
computer.
• Snapshots allow rollback to a previous state in case of errors.
• Supports testing of different OS and software combinations.

9️⃣ Energy Efficiency and Green Computing


• Fewer physical servers mean lower power consumption and cooling
needs.
• Promotes eco-friendly IT operations in data centers.

26
[Link]

⚠️ Disadvantages of Virtualization

1️⃣ Performance Overhead


• Virtualization introduces an extra software layer (the hypervisor), which
consumes some CPU and memory resources.
• VMs generally run slightly slower than applications running directly on
physical hardware.

2️⃣ High Initial Setup Cost


• Although it reduces long-term expenses, the initial cost of powerful
hardware and licenses for hypervisors or management tools can be high.
Example:
VMware vSphere or Microsoft Hyper-V licenses are expensive for enterprise use.

3️⃣ Complexity in Management


• Managing many VMs requires skilled administrators and advanced
monitoring tools.
• Improper configuration can lead to resource conflicts or downtime.

4️⃣ Security Risks


• If the hypervisor is compromised, all VMs hosted on it are at risk.
• Misconfigured network isolation can lead to data leakage between VMs.
• Requires strong security measures and regular updates.

5️⃣ Resource Contention


• Multiple VMs sharing the same hardware can cause competition for
resources.
• If one VM consumes too much CPU or RAM, it can degrade the performance
of others.

6️⃣ Licensing and Compatibility Issues


• Some software applications may have restrictions or additional licensing
costs in virtual environments.
• Certain hardware-dependent applications may not run well in virtualized
setups.

27
[Link]

7️⃣ Data Recovery Challenges


• If virtual machine images become corrupted, restoring them might be more
complex compared to traditional backups.
8️⃣ Single Point of Failure
• If the physical server (host machine) fails, all VMs on it will be affected.
• To avoid this, redundancy or clustering techniques must be implemented.

🧾 Summary Table
Aspect Advantages Disadvantages
Hardware Efficient resource utilization Performance overhead
Usage
Cost Reduced operational cost High initial setup cost
Management Centralized, easy to control Requires skilled admins
Security Isolation between VMs Hypervisor vulnerability
Flexibility Easy to create, migrate, or Complex migration setup
clone VMs
Reliability Backup, snapshot, and Single point of failure
recovery options
Scalability Dynamic resource allocation Can cause resource
contention

🧠 In Short (For Viva / 2 Marks)


Advantages:
• Efficient resource use
• Cost-effective
• Flexible and scalable
• Easier maintenance
• Better disaster recovery
Disadvantages:
• Slight performance loss
• Security vulnerabilities
• High initial cost
• Complex management
• Resource contention

28
[Link]

QUESTION BANK:
Note: * means most imp question.

#2 marks :

1. List characteristics of virtualized environment.*


2. State any two benefits of virtual data center.
3. State any two benefits of virtual storage area network.

#4 marks:
1. Describe steps to build virtual machine using VMWare.***
2. Explain different types of virtualization.***
3. Explain process of virtual Machine Migration is achieved.*
4. List and explain any two advantages of storage virtualization******
5. Differentiate between VMWare and KVM.**
6. Describe disadvantages of Virtualisation.
7. Describe virtualization reference model with diagram.***
8. Describe storage virtualization with any two advantages.
9. Give benefits of VMWare. (Any four)**
[Link] virtualization. List types of virtualization.******

29
[Link]

DEVELOPMENTS OF DEVELOPER

THANK YOU
TEAM DOD

INSTA:-development_of_developers.
S

30
[Link]

31

You might also like