←Back to Subject
Notes
Notes
Study material and explanations
Diagrams
Diagrams
Visualize concepts easily
Mnemonics
Mnemonics
Tricks to remember faster
One Night Prep
One Night Prep
Short and focused revision
Revision
Revision
Quick summary and key points
Important Questions
Important Questions
Practice most relevant questions
Revision

Cloud Computing · Unit 3 Revision

Quick summary and key points for Unit 3

Virtualization Fundamentals and Its Role in Cloud Computing

Overview: Imagine two lab machines that each use only a quarter of a server.

What is Virtualization?

  • In simple words, Virtualization is a software technology that allows you to divide a single physical computer or server into multiple…
  • Imagine you have a large 3-bedroom house.
  • Virtualization does the exact same thing to a physical computer server!

Key Terminology You Must Know

  • Host Machine: The actual physical computer hardware (CPU, Motherboard, RAM, Hard Disk, Power Supply).
  • Host Operating System: The primary OS installed directly on the physical hardware (e.g., Windows 11 or Linux).
  • Hypervisor (Virtual Machine Monitor - VMM): The special software layer that creates, runs, and manages virtual machines by sharing physical CPU and RAM.
  • Guest Machine (Virtual Machine - VM): The virtual computer created by the hypervisor.
  • Guest Operating System: The operating system installed inside the virtual machine (e.g., running Ubuntu Linux inside a window on your Windows 11 PC).

View diagram · Traditional Architecture vs Virtualized Architecture

Why is Virtualization the Backbone of Cloud Computing?

  • Without virtualization, cloud computing as we know it today (AWS, Azure, Google Cloud) could not exist!
  • Enables Multi-Tenancy: A single physical server worth ₹5,00,000 can be divided into 40 small virtual servers and rented out to 40 different…
  • Instant Creation (Rapid Provisioning): Buying a physical server takes 3 weeks.
  • Resource Isolation: If one virtual machine gets infected by a virus or crashes, other virtual machines running on the same physical box remain…
  • Huge Energy & Cost Savings: Instead of running 50 physical computers consuming massive electricity and AC cooling, a company can run all 50 workloads as…

💡 DAVV Exam Tip

  • Question (5 Marks): “What is Virtualization?
    • Give the definition: Software technology that abstracts physical hardware to create multiple simulated virtual environments.
    • Define the 4 key terms: Host Machine, Hypervisor, Guest OS, Virtual Machine.
    • Highlight the 4 benefits: Resource utilization, Multi-tenancy, Rapid provisioning, and Isolation.

Types of Virtualization: Compute, Storage, Network, Desktop, and Application

Overview: A virtual desktop gives a student an entire remote workspace.

The 5 Core Types of Virtualization

  • Compute and storage virtualisation pool processing power and disks.
  • 1. Server / Compute Splits physical CPU & RAM into virtual machines (VMs)
  • 2. Storage Combines multiple hard drives into a single unified storage pool
  • 3. Network (SDN) Creates virtual switches, routers & firewalls via software
  • 4. Desktop (VDI) Runs desktop OS on a remote cloud server; user streams display
  • 5. Application Runs apps inside isolated containers without installing on host OS

View diagram · The 5 Core Types of Virtualization

Server / Compute Virtualization

  • Masks physical server resources (processors, cores, RAM) from operating systems.
  • Allows multiple operating systems (Linux, Windows Server) to run concurrently on a single physical host.
  • Technologies: VMware ESXi, KVM (Kernel-based Virtual Machine), Microsoft Hyper-V.

Storage Virtualization

  • Pools physical storage from multiple network storage devices (hard drives, SSDs) into what appears to be a single centralized storage…
  • The administrator can assign 500GB from this pool to any server in seconds.
  • Technologies: Storage Area Networks (SAN), Network Attached Storage (NAS), Ceph.

Network Virtualization (Software-Defined Networking - SDN)

  • Splits available network bandwidth into independent, secure virtual channels.
  • Virtual switches, virtual routers, and virtual firewalls are configured completely via software code without touching physical network…
  • Technologies: VMware NSX, Cisco ACI, OpenFlow.

Desktop Virtualization (Virtual Desktop Infrastructure - VDI)

  • Instead of giving every employee a costly ₹60,000 laptop, the company hosts their Windows desktops on a central cloud server.
  • Employees can login from cheap ₹8,000 thin clients, tablets, or home PCs and see their exact office work desktop.
  • Technologies: Citrix XenDesktop, VMware Horizon, Amazon WorkSpaces.

Application Virtualization

  • Packages an application and all its required DLLs and dependencies into an isolated virtual capsule.
  • The app runs smoothly without interfering with other installed software or requiring installation rights.
  • Technologies: Docker containers, Microsoft App-V, VMware ThinApp.

💡 DAVV Exam Tip

  • Question (10 Marks): “Explain the different types of virtualization used in Cloud Computing.”
    • List all 5 types with clear headings.
    • Give a 3-line explanation and 1 software example for each type.
    • Draw the 5-pill classification diagram.

Server Virtualization and Hypervisors: Type-1 vs Type-2

Overview: Full virtualisation runs a guest operating system on virtual hardware.

What is a Hypervisor?

  • A Hypervisor (also known as a Virtual Machine Monitor - VMM) is the specialized software or firmware that creates and runs virtual…

Type-1 Hypervisor (Bare-Metal / Native)

  • A Type-1 Hypervisor installs and runs directly on the physical bare-metal hardware of the host server, without any underlying operating…
  • Characteristics: Maximum Performance: Direct access to CPU and RAM with zero OS overhead.
  • Enterprise-Grade Security: No host OS vulnerabilities because there is no base OS to hack.
  • Industry Standard for Clouds: AWS, Microsoft Azure, Google Cloud, and enterprise data centers use Type-1 hypervisors.
  • Top Examples: VMware ESXi, Microsoft Hyper-V Server, KVM (Kernel-based Virtual Machine), Citrix XenServer.

View diagram · Type-1 (Bare-Metal) Architecture

Type-2 Hypervisor (Hosted)

  • A Type-2 Hypervisor runs as an application on top of an existing host operating system (like Windows 11, macOS, or Ubuntu).
  • Characteristics: Easy Setup: Installs like any regular desktop software (.exe or .dmg).
  • Lower Performance: Hardware requests must pass through the host OS before reaching physical chips, causing latency.
  • Ideal for Students & Developers: Perfect for running Linux on your Windows laptop to practice BCA lab assignments.
  • Top Examples: Oracle VM VirtualBox, VMware Workstation Player, Parallels Desktop.

View diagram · Type-2 (Hosted) Architecture

Comparison Table: Type-1 vs. Type-2 Hypervisor

  • Installation: Directly on physical computer hardware
  • Performance: Highest speed, lowest latency
  • Cost: Expensive enterprise licensing
  • Security: Highly secure; minimal attack surface
  • Host OS Needed?: No host OS required
  • Target Audience: Cloud providers (AWS, Azure), large enterprises

💡 DAVV Exam Tip

  • Question (10 Marks): “What is a Hypervisor?
    • Draw the two architecture stacks shown above.
    • Write the 7-point comparison table.
    • Mention Oracle VirtualBox as Type-2 and VMware ESXi as Type-1.

Virtual Machine Life Cycle and Cloud Infrastructure Management

Overview: Stopping a virtual machine can release computing capacity while its saved disk still occupies storage.

The Virtual Machine (VM) Life Cycle

  • A Virtual Machine goes through five distinct phases from creation to deletion:
  • Provisioning (Creation): Allocating CPU cores, RAM, and disk storage from the cloud pool and installing the guest OS from an image template.
  • Running (Active): The VM is powered on and executing user applications and processing network traffic.
  • Paused / Suspended: RAM state is saved to disk temporarily so execution pauses without losing open programs.
  • Stopped (Powered Off): The VM is shut down.
  • Decommissioned (Terminated): The VM is permanently deleted and its disk space is wiped clean.

View diagram · The Virtual Machine (VM) Life Cycle

What is Live VM Migration? (e.g., VMware vMotion)

  • Live Migration is the process of moving an entire running virtual machine from one physical host server to another physical server **without…
  • Why is Live Migration Needed?: Server Maintenance: An administrator needs to replace a faulty RAM stick on Server A.
  • Load Balancing: If Server A gets too hot or CPU reaches 95%, some VMs are automatically migrated to cooler, idle servers.
  • How Does Live Migration Work? (Pre-Copy Memory Mechanism): Copy Storage & Config: Both physical servers access a shared SAN storage pool.
  • Iterative Memory Pre-Copy: Memory pages of the running VM are copied over the high-speed network to the destination server while the VM continues…
  • Final Switchover: The VM is paused on the source server for only a few milliseconds (unnoticeable to users), the remaining memory pages…

VM Snapshots

  • A Snapshot is a frozen point-in-time copy of a virtual machine’s disk and memory state.
  • Why Students & Admins Use Snapshots: Before installing risky software updates or modifying system files, you take a snapshot.

💡 DAVV Exam Tip

  • Question (5 Marks): “Explain Live VM Migration and its significance in cloud data centers.”
    • Define Live Migration: Moving an active running VM between physical hardware without downtime.
    • Mention zero downtime and continuous business availability.
    • Give the hardware maintenance and load balancing use cases.

Block-Level vs File-Level Storage Virtualization

Overview: A database server using block storage can format a volume and choose where to write each block.

Block-Level Storage Virtualization (SAN)

  • In Block-Level Virtualization, the storage system presents raw blocks of disk sectors (called Logical Unit Numbers - LUNs) to the server…
  • How the Server Sees It: The operating system views it as a completely new, unformatted internal physical hard drive.
  • Communication Protocols: Fibre Channel (FC), iSCSI, FCoE.
  • Top Characteristics: Extremely low latency, highest read/write IOPS (Input/Output Operations Per Second).
  • Best Use Case: High-performance database engines (Oracle, MySQL, Microsoft SQL Server).

File-Level Storage Virtualization (NAS)

  • In File-Level Virtualization, the storage device manages its own file system and shares files and folders across standard local area…
  • How the Server Sees It: The operating system views it as a Network Shared Drive (like mapped network drives).
  • Communication Protocols: NFS (Network File System for Linux), SMB/CIFS (Server Message Block for Windows).
  • Top Characteristics: Easy multi-user file sharing, simple user permissions management.
  • Best Use Case: Shared company file drives, digital asset management, document repositories.

Comparison Table: Block-Level vs. File-Level Virtualization

  • How Data is Stored: Raw individual 512-byte / 4KB disk blocks
  • File System Location: Managed on the Client Server OS
  • Speed & Performance: Ultra-fast; lowest latency
  • Network Used: Dedicated Fiber Optic / iSCSI SAN
  • Sharing: Usually assigned to a single server at a time
  • Common Protocols: iSCSI, Fibre Channel (FC)
  • Block device Server formats and addresses blocks
  • File share Storage device manages named files

View diagram · Storage interfaces

💡 DAVV Exam Tip

  • Question (10 Marks): “Differentiate between Block-Level and File-Level Storage Virtualization with practical examples.”
    • Draw the distinction: SAN (Block) vs.
    • Include the 8-point comparison table above.
    • Give the AWS examples: EBS for block storage, EFS for file storage.