Cloud Computing UNIT 2.Pptx
Cloud Computing UNIT 2.Pptx
UNIT 2
SYLLABUS
Virtualization
Cloud computing heavily relies on virtualization to provide on-demand
computing resources and services, ensuring flexibility, efficiency, and
high availability.
Virtualization is a core technology in cloud computing that enables the
abstraction of physical resources, such as servers, storage, and
networks, into virtual resources.
Running multiple virtual computers simultaneously on a single set of
physical resources supports optimum resource utilization making it a
dynamic system in nature and enhancing security of the system
through resource abstraction.
A software module called ‘hypervisor’ plays critical role in virtualization
Virtual software mimics the functions of physical hardware to run
multiple virtual machines simultaneously on a single physical machine.
What is Virtualization
Virtualization refers to the representation of physical computing
resources in simulated form having made through the software.
This special layer of software (installed over active physical machines)
is referred as layer of virtualization. This layer transforms the physical
computing resources into virtual form which users use to satisfy their
computing needs.
The virtualization is the logical separation of physical resources from
direct access of users to fulfill their service needs
VIRTUALIZING PHYSICAL COMPUTING RESOURCES
A virtualized component can only be operational when a physical
resource empowers it from the back end. For example, a virtual processor
can only work when there is a physical processor linked with it.
The layers of virtualization transforms these physical computing devices
into virtual form and presents them before user
VIRTUALIZING PHYSICAL COMPUTING RESOURCES
The software for virtualization consists of a set of control programs.
It offers all of the physical computing resources in custom made
simulated (virtual) form which users can utilize to build virtual
computing setup or virtual computers or virtual machines (VM).
Users can install operating system over virtual computer just like they do
it over physical computer. Operating system installed over virtual
computing environment is known as guest operating system.
When virtualization technique is in place, the guest OS executes as if it
were running directly on the physical machine.
VIRTUALIZING PHYSICAL COMPUTING RESOURCES
Comparison between non-virtualized and virtualized
machine environments
Non-Virtualized Machine Virtualized Machine Environment
Environment
At a moment, one single OS can run Multiple OS can run simultaneously
on a physical machine. on one physical machine.
Application and hardware system Virtual Machines isolates
remain tightly coupled. applications from the underlying
hardware.
Resource utilization rate is low in Resource utilization improves as
most of the times multiple VMs share same set of
physical resources.
These increase cost of business due They are cost-effective if planned
to low resource utilization. properly.
They have the inflexible approach. They provide lot of flexibility to
system designers
Hypervisor
A hypervisor, also known as a Virtual
Machine Monitor (VMM), is a software or
firmware layer that enables virtualization
by allowing multiple virtual machines
(VMs) to run on a single physical
machine.
It abstracts and allocates hardware
resources (CPU, memory, storage, and
networking) dynamically among VMs,
ensuring efficient and isolated execution.
Types of Hypervisor
A hypervisor, also known as a virtual machine monitor, is a process that
creates and runs virtual machines. A hypervisor allows one host computer
to support multiple guest by virtually sharing its resources, like memory and
processing.
This is the core piece of technology which is used by the Cloud service
providers to virtualize the infrastructure in a datacenter to offer compute,
storage, network etc as a services.
Type1 Hypervisor
Type1 Hypervisor (bare metal )
The Type 1 hypervisor is installed and runs directly on top of the server
hardware platform.
This type is referred to as either bare-metal or native hypervisors.
Type 1 hypervisors are generally more advanced and offer more
features than a Type 2 and are found in the cloud datacenters as
well as in the enterprise datacenters.
Because the Type 1 hypervisor is running directly on top of the
bare-metal hardware and not as an application on another
operating system, it offers much higher performance, less overhead,
and more security than a Type 2 hypervisor.
Type 2 Hypervisor
• The Type 2 hypervisor is installed as an application on an already
existing operating system and allows to install the VMs in the
application.
• For example, a PC running Windows can install a Type 2 hypervisor
and run it as any other application. Then, inside the hypervisor,
multiple operating systems or VMs can be run. VMware workstation
and VirtualBox from Oracle are examples of Type 2 hypervisors.
• Type 2 hypervisors are good for testing applications and in situations
where dedicating a server to be virtualized is not desirable.
• This type of hypervisor does not offer the higher performance of a
Type 1 since the Type 2 has the additional overhead of running on
top of another operating system such as Windows or Linux and not
directly on top of the bare-metal server hardware.
Types of Hypervisor
1. Type 1 Hypervisor (Bare-Metal Hypervisor)
Runs directly on the host machine’s hardware.
Offers better performance and efficiency since it does not require
an underlying operating system.
Common in enterprise and cloud environments.
Examples: VMware ESXi, Microsoft Hyper-V, KVM, Xen.
2. Type 2 Hypervisor (Hosted Hypervisor)
Runs on top of an existing operating system (OS).
Relies on the host OS to manage hardware resources.
Suitable for development, testing, and personal use.
Examples: Oracle VirtualBox, VMware Workstation, Parallels
Desktop.
Types of Hypervisor
Proprietary vs Opensource Hypervisors
• Hypervisors can be proprietary, they were developed and sold by
private corporations such as Microsoft or VMware.
• Examples of proprietary hypervisors are Hyper-V developed by
Microsoft and ESXi from VMware.
• Open source hypervisors are free for use by the public. Open source
software is in the public domain, and there are no licensing fees.
• Some examples of fully functional open source hypervisors are KVM
by Red Hat, VirtualBox from Oracle, and XenServer by Citrix.
• They provide complete virtualization of systems that allow for one or
more VMs to run on the same server hardware platforms as the
proprietary hypervisors.
Virtualization Benefits
Virtualization brings several benefits to data center operators and service
providers:
1. Resource efficiency
2. Easier management
3. Minimal downtime
4. Faster provisioning
Virtualization Benefits
Virtualization brings several benefits to data center operators and service
providers:
1. Resource efficiency: Before virtualization, IT staff would allocate a
dedicated physical CPU to each application server, buying and
setting up a separate server for every application.
This approach, favoring one application and one operating system
per computer, was adopted for its reliability. Invariably, each physical
server would be underused. In contrast, server virtualization enables
you to run several applications—each on its own VM with its own OS—
on a single physical computer without sacrificing reliability. This
enables maximum use of the physical hardware’s computing
capacity.
Virtualization Benefits
Virtualization brings several benefits to data center operators and service
providers:
Easier management: Replacing physical computers with
software-defined VMs makes it easier to use and manage policies
written in software. This allows you to create automated IT service
management workflows. For example, automated deployment and
configuration tools enable administrators to define collections of virtual
machines and applications as services, in software templates. This
means that they can install those services repeatedly and consistently
without cumbersome, time-consuming and error-prone manual setup.
Admins can use virtualization security policies to mandate certain
security configurations based on the role of the virtual machine.
Policies can even increase resource efficiency by retiring unused virtual
machines to save on space and computing power.
Virtualization Benefits
Minimal downtime: OS and application crashes can cause downtime
and disrupt user productivity. Admins can run multiple redundant
virtual machines alongside each other and failover between them
when problems arise. Running multiple redundant physical servers is
more expensive.
Faster provisioning: Buying, installing and configuring hardware for
each application is time-consuming. If the hardware is already in
place, provisioning virtual machines to run all your applications is
significantly faster. You can even automate it using management
software and build it into existing workflows.
Server Virtualization
Server virtualization is a process that creates and abstracts multiple
virtual instances on a single server. It uses software to create virtual
machines (VMs) that simulate physical computers.
Traditional computer hardware and software designs typically
supported single applications. Often, this forced servers to each run a
single workload, wasting unused processors, memory capacity and
other hardware resources such as network bandwidth.
The advent of server virtualization changed all this. Virtualization adds
a layer of software, called a hypervisor, to a computer, which
abstracts the underlying hardware from all the software that runs
above. Virtualization translates physical resources into virtual -- logical
-- equivalents.
The key here is resource utilization. With server virtualization, multiple
virtual instances of an operating system run on a single physical
server.
Server Virtualization
Server Virtualization
The importance of server virtualization has been profound because it
addresses the two problems
1. Virtualization lowers the physical server count, enabling an
organization to reduce the number of physical servers in the data
center. The lower server count also conserves data center space,
power and cooling; this can often forestall or even eliminate the
need to build new data center facilities.
2. Virtualization platforms routinely provide powerful capabilities
such as centralized VM management, VM migration -- enabling a
VM to easily move from one system to another -- and
workload/data protection through backups and snapshots.
Server Virtualization
Server Virtualization is accomplished by a hypervisor, a specialized
software product which must be installed on a physical computer.
There are numerous hypervisors in the enterprise space, including
Microsoft Hyper-V and VMware vSphere.
Although virtualization makes it possible to create multiple logical
computers from a single physical computer, the actual number of
VMs that can be created is limited by the physical resources present
on the host computer, and the computing demands imposed by the
enterprise applications running in those VMs.
For example, a computer with four CPUs and 64 GB of memory might
host up to four VMs each with one vCPU and 16 GB of virtualized
memory.
Server Virtualization
What are the benefits of server virtualization