Unit 3 Virtualization
Unit 3 Virtualization
MULLANA (AMBALA)
Programme: BCA
Course: BCA-603: Cloud Computing
Unit-3
Virtualization in Cloud Computing
Virtualization is used to create a virtual version of an underlying service with the help of
Virtualization, multiple operating systems and applications can run on the same machine and
its same hardware at the same time, increasing the utilization and flexibility of hardware. It was
initially developed during the mainframe era.
It is one of the main cost-effective, hardware-reducing, and energy-saving techniques used by
cloud providers. Virtualization allows sharing of a single physical instance of a resource or an
application among multiple customers and organizations at one time. It does this by assigning
a logical name to physical storage and providing a pointer to that physical resource on demand.
Fig 1: Virtualization
The term virtualization is often synonymous with hardware virtualization, which plays a
fundamental role in efficiently delivering Infrastructure-as-a-Service (IaaS) solutions for cloud
computing. Moreover, virtualization technologies provide a virtual environment for not only
executing applications but also for storage, memory, and networking
• Host Machine: The machine on which the virtual machine is going to be built is known
as Host Machine.
MAHARISHI MARKANDESHWAR (DEEMED TO BE UNIVERSITY),
MULLANA (AMBALA)
Programme: BCA
Course: BCA-603: Cloud Computing
Programme: BCA
Course: BCA-603: Cloud Computing
• Reduced downtime. VMs move between physical hosts with minimal downtime,
which makes it easier to ensure the availability of critical services. You can run multiple
redundant VMs alongside each other and set up failover between them to ensure zero
downtime during disruptive incidents.
Disadvantages of Virtualization
• High Initial Investment: Clouds have a very high initial investment, but it is also true
that it will help in reducing the cost of companies.
• Learning New Infrastructure: As the companies shifted from Servers to Cloud, it
requires highly skilled staff who have skills to work with the cloud easily and for this,
you have to hire new staff or provide training to current staff.
• Risk of Data: Hosting data on third-party resources can lead to putting the data at risk,
it has the chance of getting attacked by any hacker or cracker very easily.
Characteristics of Virtualization
• Increased Security: The ability to control the execution of a guest program in a
completely transparent manner opens new possibilities for delivering a secure,
controlled execution environment. All the operations of the guest programs are
generally performed against the virtual machine, which then translates and applies them
to the host programs.
• Managed Execution: In particular, sharing, aggregation, emulation, and isolation are
the most relevant features.
• Sharing: Virtualization allows the creation of a separate computing environment
within the same host.
• Aggregation: It is possible to share physical resources among several guests, but
virtualization also allows aggregation, which is the opposite process.
• Emulation: Guest programs are executed within an environment that is controlled
by the virtualization layer, which ultimately is a program. Also, a completely different
environment with respect to the host can be emulated, thus allowing the execution of
guest programs requiring specific characteristics that are not present in the physical
host.
• Isolation: Virtualization allows providing guests—whether they are operating
systems, applications, or other entities—with a completely separate environment, in
which they are executed. The guest program performs its activity by interacting with
an abstraction layer, which provides access to the underlying resources. The virtual
machine can filter the activity of the guest and prevent harmful operations against the
host.
MAHARISHI MARKANDESHWAR (DEEMED TO BE UNIVERSITY),
MULLANA (AMBALA)
Programme: BCA
Course: BCA-603: Cloud Computing
Programme: BCA
Course: BCA-603: Cloud Computing
• Cost Savings: Virtualization can help organizations save money by reducing the need
for additional physical hardware, lowering electricity bills, and streamlining IT
operations. This can result in significant cost savings over time.
Types of Virtualization
1. Application Virtualization: App virtualization abstracts software apps from the underlying OS
and encapsulates them into self-contained packages that run in isolation from the host environment.
Virtualized packages contain everything the app needs to run, including all the necessary files,
libraries, and dependencies.
Each virtualized app operates within a sandbox to prevent conflicts with other apps and
system configurations. As a result, app virtualization helps resolve compatibility issues. For
example, you can use this type of virtualization to run a Windows app on Linux or vice versa.
There are three types of app virtualization:
• Local app virtualization. In this approach, the entire app runs in a runtime environment
on the endpoint device. Users install and execute the app locally, but the app operates
within a virtualized environment isolated from the OS and other programs.
• App streaming. In this method, the app resides on a server that streams small software
components or necessary data to the endpoint device. As a result, the app executes on
the endpoint without requiring a complete install, reducing the resource requirements on
the device.
• Server-based app virtualization (or app publishing). In this approach, the app runs
entirely on a server or remote infrastructure. The server only transmits the app's user
interface elements to the client device via a web browser or client interface.
Virtualized apps consume fewer system resources compared to traditional installations.
These apps do not require users to modify system files or registry settings on incompatible
devices, which leads to improved performance on host systems.
2. Network Virtualization: This allows multiple virtual networks to run on the same
physical network, each operating independently. You can quickly set up virtual switches,
routers, firewalls, and VPNs, making network management more flexible and efficient.
MAHARISHI MARKANDESHWAR (DEEMED TO BE UNIVERSITY),
MULLANA (AMBALA)
Programme: BCA
Course: BCA-603: Cloud Computing
4. Storage Virtualization: This combines storage from different servers into a single system,
making it easier to manage. It ensures smooth performance and efficient operations even
when the underlying hardware changes or fails.
Storage virtualization abstracts physical storage resources (hard drives, SSDs, storage arrays,
etc.) from the underlying hardware, allowing admins to manage them as a single pool of
storage. Virtualized storage pools operate as a cohesive storage resource, which enables:
• More efficient use of storage capacity.
MAHARISHI MARKANDESHWAR (DEEMED TO BE UNIVERSITY),
MULLANA (AMBALA)
Programme: BCA
Course: BCA-603: Cloud Computing
5. Data Virtualization: This brings data from different sources together in one place without
needing to know where or how it’s stored. It creates a unified view of the data, which can be
accessed remotely via cloud services. Companies like Oracle and IBM offer solutions for
this.
Data virtualization abstracts and integrates data from different databases, data warehouses, and
services. As a result, you abstract the physical location, format, and structure of data from
underlying data sources, presenting it in a logical, unified view to users and apps.
Data virtualization removes the complexities of data storage and retrieval, making it easy to
access and utilize data. This type of virtualization also makes it simple to integrate data from
disparate sources, including:
• Different database types.
• Flat files.
• Web services.
• Cloud storage platforms.
Data virtualization also often includes aggregation, transformation, and enrichment of on-the-
fly data. These features allow users to combine and manipulate data from different sources to
meet specific business needs.
Hypervisor
A hypervisor is a form of virtualization software used in Cloud hosting to divide and allocate
the resources on various pieces of hardware. The program which provides partitioning,
isolation, or abstraction is called a virtualization hypervisor. The hypervisor is a hardware
virtualization technique that allows multiple guest operating systems (OS) to run on a single
host system at the same time. A hypervisor is sometimes also called a virtual machine
manager (VMM).
Types of Hypervisor
TYPE-1 Hypervisor:
MAHARISHI MARKANDESHWAR (DEEMED TO BE UNIVERSITY),
MULLANA (AMBALA)
Programme: BCA
Course: BCA-603: Cloud Computing
The hypervisor runs directly on the underlying host system. It is also known as a “Native
Hypervisor” or “Bare metal hypervisor”. It does not require any base server operating system.
It has direct access to hardware resources. Examples of Type 1 hypervisors include VMware
ESXi, Citrix XenServer, and Microsoft Hyper-V hypervisor.
TYPE-2 Hypervisor:
A Host operating system runs on the underlying host system. It is also known as ‘Hosted
Hypervisor”. Such kind of hypervisors doesn’t run directly over the underlying hardware
rather they run as an application in a Host system (physical machine). Basically, the software
is installed on an operating system. Hypervisor asks the operating system to make hardware
calls. An example of a Type 2 hypervisor includes VMware Player or Parallels Desktop.
Hosted hypervisors are often found on endpoints like PCs. The type-2 hypervisor is very
useful for engineers, and security analysts (for checking malware, or malicious source code
and newly developed applications).
Programme: BCA
Course: BCA-603: Cloud Computing
its own virtual network with complete control over its resources, providing a more secure
and private environment for their cloud-based applications and data.