Virtualization in Cloud Computing Explained
Virtualization in Cloud Computing Explained
VIRTUALIZATION
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.
1
[Link]
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.
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]
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.
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]
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]
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
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.
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)
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.
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)
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]
Examples:
• Microsoft App-V
• VMware ThinApp
• Citrix XenApp
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]
11
[Link]
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.
12
[Link]
13
[Link]
14
[Link]
15
[Link]
16
[Link]
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]
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️⃣ Provisioning:
18
[Link]
6️⃣ Migration:
• The VM is moved from one physical host to another for load balancing or
maintenance (explained in next section).
19
[Link]
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.
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.
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.
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.
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]
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]
🔹 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
25
[Link]
26
[Link]
⚠️ Disadvantages of Virtualization
27
[Link]
🧾 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
28
[Link]
QUESTION BANK:
Note: * means most imp question.
#2 marks :
#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