CC UNIT-4 PPT
CC UNIT-4 PPT
Virtualization is a core technology in cloud computing that enables multiple virtual instances to run on a
single physical machine, optimizing resource utilization, scalability, and efficiency.
Access: A client can request access to a cloud service from any location.
Application: A cloud has multiple application instances and directs requests to an instance based
on conditions.
CPU: Computers can be partitioned into a set of virtual machines with each machine being
Storage: Data is stored across storage devices and often replicated for redundancy.
Load Balancing & Virtualization
Cloud computing relies on virtualized network access, directing users to available
resources.
When a request from a client or service requester arrives, the load balancer uses a
scheduling algorithm to assign where the request is sent.
Typical scheduling algorithms in use today are round robin and weighted round
robin, fastest response time, least connections and weighted least connections, and
custom assignments based on other factors.
Advanced Load Balancing
Advanced load balancers manage workloads by analyzing resource usage, response time, and
queue length to distribute tasks efficiently.
They offer features like health monitoring, traffic prioritization, security, and data compression.
It assigns a Virtual IP (VIP) to a server pool based on set rules and operates at both the network
and application layers. Also called content or multilayer switches, ADCs provide services like
content caching, SSL offloading, security, and advanced routing.
They improve performance through network and application optimization, making them key for
accelerating web services.
Virtualization in Cloud Computing
Definition:
Virtualization in cloud computing is the process of creating virtual versions of
computing resources, such as servers, storage, networks, and applications.
It allows multiple virtual environments to run on a single physical system,
improving resource utilization and efficiency.
Virtualization in Cloud Computing
Host Machine: The machine on which the virtual machine is going to be built is
known as Host Machine.
Drawback 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.
Virtualization in Cloud Computing
Types of Virtualization in Cloud Computing:
Server Virtualization – Divides a physical server into multiple VMs, each running its own OS and
applications.
Storage Virtualization – Combines multiple storage devices into a single virtual storage unit for better
management and accessibility.
Network Virtualization – Creates multiple virtual networks on a single physical network to enhance
security and flexibility.
Desktop Virtualization – Hosts user desktops on remote servers, allowing access from anywhere.
A hypervisor allows a single host computer to handle numerous guest virtual machines (VMs) by
When utilized as a hypervisor, the hardware is referred to as the Host, and the multiple VMs that
1. Type-1 Hypervisor: - This runs directly on the host machine’s physical hardware, so it’s also
2. Type-2 Hypervisor: – runs on the operating system of the physical host machine; hence, they are
Type-1 Hypervisor:
This hypervisor is installed directly on top of the physical server’s hardware, there is no
operating system or any other software layer in between. What we have in this case is:
A physical server/machine
Hypervisor installed on the hardware
Guest virtual machines
Virtualization in Cloud Computing
Type-1 Hypervisor:
Type-1 hypervisors are actually a very basic OS on top of which we run virtual machines.
So, the physical machine on which the hypervisor is running can only be used for virtualization
These hypervisors require a separate management console to perform activities like instance creation,
migration, etc.
The management console can be web-based or a separate package that you can install on another
machine.
Using this console, you can connect to the hypervisor to manage your virtual environment operations.
Virtualization in Cloud Computing
Type-1 Hypervisor:
Advantages:
4. This is why Type-1 hypervisors are commonly used in enterprise environments, where
Type-2 Hypervisor:
A Type-2 hypervisor, also known as a Hosted Hypervisor, is software that runs on top of a host operating
Unlike Type-1 hypervisors that run directly on hardware, Type-2 hypervisors rely on the host OS for resource
1. A physical server
These hypervisors are usually used in environments where there are a small number of servers.
They do not need a separate management console to create and manage the virtual machines.
These operations can typically be done on the server that has the hypervisor hosted.
Type-2 Hypervisor:
2. Hypervisor Layer – The hypervisor creates and manages virtual machines, assigning system
3. Guest OS Layer – Each VM runs its own OS and applications, independent of the host OS.
Virtualization in Cloud Computing
Type-2 Hypervisor:
1. Simple management: They essentially act as management consoles. There is no need to install a
separate software package to manage the virtual machines running on type-2 hypervisors.
2. Useful for testing purposes: They are convenient for testing any new software or research projects.
You can simply run multiple instances with different OS to test how the software works in each
environment.
Emulation:
It enables running applications designed for one platform on a completely different platform.
Example:
Para Virtualization:
In para virtualization, the guest operating system is aware of its virtualized environment and
Paravirtualization eliminates the need for hardware emulation, resulting in lower overhead and
However, para virtualization requires modifications to the guest operating system to support
paravirtualized drivers.
Full Virtualization:
In full virtualization, the guest operating system is unaware that it’s running in a virtualized
environment.
The hypervisor presents a virtualized hardware environment to the guest operating system,
Full virtualization provides broad compatibility with unmodified guest operating systems but may
FULL PARA
FEATURE EMULATION
VIRTUALIZATION VIRTUALIZATION
Guest OS Modification No No Yes
3. VAA Implementation –
VAAs can segment applications into read-only and modifiable components, reducing data
replication needs.
The stateless cloud model stores application state separately, enabling flexible deployment across
Capacity planners determine which resource (CPU, memory, disk, or network) limits
Metrics like Total Workload (WT), Average Workload (WAVG), and Peak Workload
Tools like RRDTool, Task Manager, and sar (Linux) assist in tracking these metrics
CAPACITY PLANNING
Systems are tested under heavy loads to determine breaking points and required adjustments.
Cloud networks face variability in performance due to factors like ISP bandwidth, network congestion,
Packet sniffers like Wireshark and TCPdump are used for network monitoring.
Capacity planning ensures efficient use of cloud resources to avoid over-provisioning and
unnecessary costs.
Amazon EC2 instance types provide different performance levels, requiring careful selection based
on workloads
CAPACITY PLANNING
The Capacity planning is not just about optimizing performance but ensuring that cloud
infrastructure can handle demand effectively while balancing cost and efficiency.