3 Cloud Virtualization Technology

Introduction to Cloud Computing · Unit 3 · 10 hrs

Cloud Virtualization technology

Exam-focused notes for Cloud Virtualization technology (Introduction to Cloud Computing, CSC481): what the TU syllabus asks and how it has actually been tested, with 5 solved past questions from this unit.

Cloud Virtualization technology in short

This unit explains virtualization, the technology that makes multi-tenant cloud computing practical, covering its components, the different resources it can virtualize, the levels at which it can be implemented, hypervisor types, load balancing, and the hardware a virtualization deployment actually needs.

Cloud Virtualization technology: notes

Introduction to Virtualization

Virtualization in cloud computing is the technique of creating virtual versions of computing resources such as servers, storage devices, networks, and operating systems, by abstracting the underlying physical infrastructure and dividing it into multiple independent virtual environments. Each virtual environment can be used independently by a different user or application, even though several of them share the same underlying physical hardware.

Three components make this possible. The hypervisor, also called a virtual machine monitor (VMM), is the specialized software that runs on the physical server and is responsible for creating, allocating, and monitoring the virtual machines or containers that sit above it. A virtual machine (VM) is a virtualized instance of a server, complete with its own operating system and applications, that runs independently of other VMs sharing the same host and can be provisioned, migrated, or scaled as needed, including through live migration, which moves a running VM from one physical host to another with minimal interruption. A container is a lighter-weight alternative to a full VM: it is an isolated environment that shares the host operating system's kernel rather than running a complete guest operating system of its own, which makes it faster to start and less resource-hungry than a VM, though at the cost of weaker isolation between containers than between VMs.

Because many independent virtual machines or containers can be carved out of one physical server, virtualization is what makes multi-tenancy and elasticity practical at cloud scale: a provider can allocate a virtual slice of a server to one customer, reclaim it, and reassign the freed capacity to another customer, all without any of the customers touching physical hardware directly.

Types of Virtualization

Virtualization can be applied to different resources in a computing system, and cloud platforms commonly combine several types together:

  • Server virtualization: divides one physical server into multiple virtual machines, each running its own operating system and applications, so that several users or applications share the same physical server efficiently. Products such as VMware vSphere and Microsoft Hyper-V implement this. It gives higher server utilization, cheaper operating costs, reduced physical server complexity, and better application performance than dedicating one physical server to one workload. Server virtualization is itself implemented in one of four ways: full virtualization, where an unmodified guest operating system runs completely isolated from the hardware through the hypervisor; para-virtualization, where the guest operating system is modified to be aware it is virtualized and communicates directly with the hypervisor for more efficient resource management; hardware-assisted virtualization, which uses CPU features such as Intel VT-x or AMD-V to improve both performance and security; and container-based virtualization, which runs lightweight, isolated containers that share the host operating system's kernel instead of running a full guest operating system each.
  • Storage virtualization: pools an array of physical storage devices behind a virtual storage layer, so individual servers no longer need to know exactly where their data physically resides. Products such as EMC VMAX and OpenStack Cinder implement this. It centralizes storage management, simplifies administration, improves storage efficiency, and makes features such as replication and snapshotting easier to offer. It is implemented at two levels: block-level storage virtualization, which abstracts physical storage devices and presents them as logical volumes regardless of the underlying manufacturer, and file-level storage virtualization, which abstracts the underlying file systems and presents a unified, centrally managed file-based view across multiple storage devices.
  • Network virtualization: manages and monitors an entire computer network as a single administrative entity, allowing virtual networks to be created, allocated, managed, and configured independently of each other. Products such as VMware NSX and Cisco ACI implement this. It gives applications sharing the same physical network enhanced flexibility, scalability, and isolation from one another, and simplifies network management overall.
  • Desktop virtualization: delivers a user's complete desktop environment from a centralized server, so the environment runs on the server while the user accesses it remotely through a thin client or similar device. Products such as VMware Horizon and Citrix Virtual Apps and Desktops implement this. It centralizes management and delivery of desktops, reduces administration effort, improves security since data does not live on the end-user device, and lets users reach their desktop from a range of devices.
  • Application virtualization: abstracts an application from the underlying operating system by encapsulating it into a self-contained unit that can run on different operating systems without a traditional installation or the risk of conflicting with other installed software. Docker and Kubernetes are commonly associated with this style of virtualization. It simplifies deployment, increases portability and compatibility across environments, and makes more efficient use of resources than a fully installed application would.
  • Data virtualization: creates a unified view over data drawn from multiple sources, such as databases, files, or web services, without physically moving or copying that data. Products such as Denodo and Oracle Data Virtualization implement this. It gives applications a single logical access point to data that may be spread across many physical sources, reducing duplication and redundancy while supporting near real-time access and analysis.

What this unit covers

  • Introduction to Virtualization
  • different types of Virtualization
  • Implementation Levels of Virtualization Structures
  • Benefits of virtualization
  • server virtualization
  • virtualization software
  • Types of Hypervisor
  • Load balancing
  • Infrastructure requirement for virtualization

different types of Virtualization

2081 · 5 marks

Discuss the various types of virtualizations. [5]

Virtualization in cloud computing refers to the technique of creating virtual versions or representations of various computing resources, such as servers, storage devices, networks, and operating systems. It involves abstracting the physical infrastructure and dividing it into multiple virtual en...

Open this answer on its own page →

2079 · 10 marks

What is virtualization? Why is virtualization perfect of cloud computing? Discuss different types of virtualization.[10]

--- Virtualization in cloud computing refers to the technique of creating virtual versions or representations of various computing resources, such as servers, storage devices, networks, and operating systems. It involves abstracting the physical infrastructure and dividing it into multiple virtua...

Open this answer on its own page →

Implementation Levels of Virtualization Structures

2080 · 10 marks

Discuss different implementation levels of virtualization. What are the benefits of virtualization?[10]

Virtualization in cloud computing refers to the technique of creating virtual versions or representations of various computing resources, such as servers, storage devices, networks, and operating systems. It involves abstracting the physical infrastructure and dividing it into multiple virtual en...

Open this answer on its own page →

Load balancing

2080 · 5 marks

What is load balancing? How is load balancing done? [5]

Show solved answer

Load Balancing

Definition

Load balancing refers to the process of distributing a set of tasks over a set of resources with the aim of making their overall processing more efficient. It optimizes the response time and avoids unevenly overloading some compute nodes while other nodes are left idle. In the context of networking and cloud computing, it refers to distributing incoming network traffic across a group of backend servers.


How Load Balancing is Done

Load balancing is typically performed using the following approaches and techniques:

1. Load Balancer (Hardware/Software)

A dedicated load balancer sits between the client and the backend server pool. It receives all incoming requests and forwards them to an appropriate server based on a chosen algorithm.

Client Requests
      |
  [Load Balancer]
   /     |      \
[S1]   [S2]   [S3]   <-- Backend Servers

2. Common Load Balancing Algorithms

AlgorithmDescription
Round RobinRequests are distributed to each server in turn, one after another
Least ConnectionNew request is sent to the server with the fewest active connections
IP HashClient IP address is used to determine which server receives the request
Weighted Round RobinServers with higher capacity are assigned more requests proportionally
RandomRequests are assigned to servers randomly

3. Health Monitoring

The load balancer continuously monitors the health of backend servers. If a server goes down or becomes unresponsive, the load balancer stops sending traffic to it and redirects requests to healthy servers.

4. Session Persistence (Sticky Sessions)

In some cases, the load balancer ensures that a particular client is always directed to the same server during a session, maintaining session continuity.

5. DNS-Based Load Balancing

Multiple IP addresses are associated with a single domain name. DNS resolves the domain to different IPs for different clients, distributing the load geographically.


Benefits of Load Balancing

  • Improves response time and performance
  • Prevents any single server from becoming a bottleneck
  • Provides high availability and fault tolerance
  • Enables scalability by adding more servers to the pool
  • Keeps idle nodes from wasting resources

Summary: Load balancing distributes workloads evenly across multiple servers using algorithms like Round Robin or Least Connection, managed by a load balancer, ensuring efficiency, reliability, and optimal resource utilization.

Open this answer on its own page →

2079 · 5 marks

What is load balancing? How is load balancing done? [5]

Show solved answer

Load Balancing

Definition

Load balancing refers to the process of distributing a set of tasks over a set of resources with the aim of making their overall processing more efficient. It optimizes response time and avoids unevenly overloading some compute nodes while other nodes are left idle. In the context of networking and cloud computing, it refers to distributing incoming network traffic across a group of backend servers.


How Load Balancing is Done

Load balancing is typically performed using a load balancer, which sits between the client and the backend server pool. The following are the common methods/algorithms used to perform load balancing:

1. Round Robin

  • Requests are distributed to each server in a sequential, cyclic order.
  • Simple and easy to implement.
  • Works well when all servers have equal capacity.

2. Least Connection Method

  • The load balancer directs traffic to the server with the fewest active connections at that moment.
  • Suitable when requests have varying processing times.

3. IP Hash Method

  • The client's IP address is used to determine which server receives the request.
  • Ensures that a particular client is always directed to the same server (session persistence).

4. Weighted Round Robin

  • Each server is assigned a weight based on its capacity.
  • Servers with higher weights receive more requests than those with lower weights.
  • Useful when servers have different processing capabilities.

5. Resource-Based (Adaptive) Load Balancing

  • The load balancer checks the current load/health of each server (CPU usage, memory, etc.) before forwarding a request.
  • Requests are sent to the server with the most available resources.

Benefits of Load Balancing

BenefitDescription
Improved PerformanceDistributes workload evenly, reducing response time
High AvailabilityIf one server fails, traffic is redirected to others
ScalabilityNew servers can be added easily to handle more load
No Single Point of FailureEnsures continuous service availability

Summary

Load balancing is a critical technique in cloud computing and distributed systems that ensures efficient resource utilization, high availability, and optimal response time by intelligently distributing tasks or network traffic across multiple servers or nodes.

Open this answer on its own page →