CC Notes Unit2
CC Notes Unit2
Cloud Computing
Architecture constraints of Web Services
1. Uniform Interface:
• Resource-Based
• Self-descriptive Messages
2. Stateless:
It means that the necessary state to handle the request is contained within
the request itself and server would not store anything related to the session.
• Statelessness enables greater availability since the server does not have to
maintain, update or communicate that session state.
• There is a drawback when the client need to send too much data to the
server so it reduces the scope of network optimization and requires more
bandwidth.
3. Cacheable:
• Client will return the data from its cache for any subsequent request and
there would be no need to send the request again to the server.
4. Client-Server:
REST application should have a client-server architecture.
A Client is someone who is requesting resources and are not concerned with
data storage, which remains internal to each server, and server is someone
who holds the resources and are not concerned with the user interface or
user state.
• Client doesn't need to know anything about business logic and server
doesn't need to know anything about frontend UI.
5. Layered system:
• Each layer doesn't know any thing about any layer other than that of
immediate layer and there can be lot of intermediate servers between client
and the end server.
Publish-Subscribe Model
Basics of Virtualization
Virtualization needs
Money saving
Virtualization initiatives
• Virtual Networking
• Virtual disk
• Virtual machine
Types of Virtualization
Hardware Virtualization
• Usage:
• Usage:
Storage Virtualization
• Usage:
Server Virtualization
• When the virtual machine software or virtual machine manager (VMM) is
directly installed on the Server system is known as server virtualization.
• Usage:
This is used to run many legacy codes written for a different hardware
configuration.
• With this, a binary code that originally needed some additional layers to
run is now capable of running on the x86 machines.
True to its name HAL lets the virtualization perform at the level of the
hardware.
The virtual machine is formed at this level, which manages the hardware
using the virtualization process.
• Multiple users will not be able to use the same hardware and also use
multiple virtualization instances at the very same time.
Virtualization Structures
Th virtualization structure, the operating system manages the hardware
• Therefore, different operating systems such as Linux and Windows can run
on the same physical machine simultaneously.
• Hypervisor architecture
• Paravirtualization
Hypervisor architecture
• The hypervisor software sits directly between the physical hardware and its
OS.
• The hypervisor provides hypercalls for the guest OSes and applications.
• The device drivers and other changeable components are outside the
hypervisor.
Tools of Virtualization
Tools of Virtualization
Ganeti:
Virtualization of CPU
• Virtualization got its existence since the 1960s that became popular with
hardware virtualization or CPU virtualization.
• For Intel CPU's this feature is called Intel Virtualization technology or Intel
VT.
• CPU virtualization is disabled by default in the by US. BIOS and needs B iOS
and needs to
most common reason for doing this is to run multiple different operating
system on one machine.
Disaster Recovery
Disaster recovery defines the factors to ensure service availability and trust
and help to develop credibility for the cloud vendor.
A disaster recovery plan includes procedures that will ensure the optimum
availability of the critical business function.
• When disaster recovery plan fail, the failures primarily result from lack of
high availability, planning, preparation, and maintenance prior to the
occurrence of the disaster.