Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
55 views18 pages

Cloud Computing - Chapter 2

Uploaded by

anchalak329
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
55 views18 pages

Cloud Computing - Chapter 2

Uploaded by

anchalak329
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 18

CLOUD COMPUTING CLOUD ARCHITECTURE

Chapter 2

CLOUD ARCHITECTURE
TYPES OF CLOUD COMPUTING
• Deployment Model
1. Private Cloud
2. Public Cloud
3. Community Cloud
4. Hybrid Cloud
• Service Model
1. Infrastructure as a Service [Iaas]
2. Platform as a Service [PaaS]
3. Software as a Service [Saas]
------------------------------------------------------------------------------------
CLOUD SERVICE MODELS
1. Infrastructure as a Service [Iaas]
2. Platform as a Service [PaaS]
3. Software as a Service [Saas]

INFRASTRUCTURE AS A SERVICE (IAAS):


▪ IaaS is also known as Hardware as a Service (HaaS).
▪ This service provide infrastructure over internet.
▪ IaaS Cloud Service used by System Administrators and Network Architectures.
▪ It provides network equipment, storage, devices, database and web servers.
▪ IaaS delivers infrastructure on an outsource basis.
▪ IaaS Could Service Providers: Amazon Web Services (AWS), Microsoft
Azure, Google Compute Engine (GCE), Rackspace, and Cisco Metacloud.

Characteristics of IaaS
➢ Resources are available as a service
➢ Services are highly scalable
➢ Dynamic and flexible
➢ GUI and API-based access
➢ Automated administrative tasks

Advantages
➢ Resources are highly scalable
➢ Cost depends on consumption
➢ Dynamic and Flexible
➢ Automated administrative task
➢ Security
➢ Maintenance : It helps users to avoid the cost and complexity of purchasing
and managing the physical server

JANHAVI N L, Ass. Prof., Dept. of B.C.A, VVFGC, Tumkur 1


CLOUD COMPUTING CLOUD ARCHITECTURE

Disadvantages
➢ Limited control over infrastructure
➢ Limited access

PLATFORM AS A SERVICE (PAAS)


▪ PaaS Cloud Service used by Programmer/Developers.
▪ PaaS Provides a platform and environment to allow developers to build
applications and services over the internet.
▪ Programmer can develop, test, run, and manage the applications.
▪ It provides network, servers, operating systems, and storage.
▪ PaaS services are hosted in cloud & access via web browser.
▪ PaaS Could Service Providers: Amazon Web services Elastic Beanstalk,
▪ Salesforce, Windows Azure, Google App Engine, cloud Bees and IBM smart
cloud.

Characteristics of PaaS
➢ Accessible to various users via the same development application.
➢ Integrates with web services and databases.
➢ Builds on virtualization technology, so resources can easily be scaled up or
down as per the organization's need.
➢ Support multiple languages and frameworks.
➢ Provides an ability to "Auto-scale"

Advantages of PaaS:
➢ Simple and convenient for users
➢ Cost-Effective
➢ Efficiently managing the lifecycle: Building, testing, deploying, managing,
and updating.
➢ Efficiency: It allows for higher-level programming with reduced complexity

Disadvantages
➢ Limited control over infrastructure: developer don not have control over
infrastructure.
➢ Dependence on the provider: Users are dependent on the PaaS provider for
the availability, scalability, and reliability of the platform, which can be a risk
if the provider experiences outages or other issues.
➢ Limited flexibility:

SOFTWARE AS A SERVICE (SAAS)


▪ SaaS also called as Web-based software, on-demand software, or hosted
software.
▪ SaaS Cloud Service used by End Users.
▪ Delivering services and applications over the Internet.

JANHAVI N L, Ass. Prof., Dept. of B.C.A, VVFGC, Tumkur 2


CLOUD COMPUTING CLOUD ARCHITECTURE

▪ Instead of installing and maintaining software & hardware done by vendors, we


simply access it via the Internet.
▪ SaaS applications can be run directly from a web browser without any
downloads or installations required.

Characteristics of SaaS
➢ Managed from a central location
➢ Hosted on a remote server
➢ Accessible over the internet
➢ Users are not responsible for hardware and software updates. Updates are
applied automatically.
➢ The services are purchased on the pay-as-per-use basis

Advantages
➢ Cost-Effective
➢ Reduced time
➢ Accessibility
➢ Automatic updates
➢ Scalability

Disadvantages
➢ Limited customization
➢ Dependence on internet connectivity
➢ Limited control over data

DIFFERENCE BETWEEN IAAS, PAAS, AND SAAS

--------------------------------------------------------------------------------------

JANHAVI N L, Ass. Prof., Dept. of B.C.A, VVFGC, Tumkur 3


CLOUD COMPUTING CLOUD ARCHITECTURE

CLOUD DEPLOYMENT MODELS


There are the following 4 types of cloud that you can deploy according to the
organization's needs
1. Private Cloud
2. Public Cloud
3. Community Cloud
4. Hybrid Cloud

PRIVATE CLOUD
▪ It’s a one-on-one environment for a single user (customer).
▪ It is also called “internal cloud”.
▪ It refers to the ability to access systems and services within a given border or
organization.
▪ Companies that look for cost efficiency and greater control over data &
resources will find the private cloud.
▪ Private Cloud will be integrated with your data center and managed by your IT
team. Alternatively, you can also choose to host it externally.

Advantages of Private Cloud


➢ Private cloud provides a high level of security and privacy to the users.
➢ Private cloud offers better performance with improved speed and space
capacity.
➢ It is suitable for organizations that require a separate cloud for their
personal use and data security is the first priority.

Disadvantages of Private Cloud


➢ Skilled people are required to manage and operate cloud services.
➢ Private cloud is accessible within the organization, so the area of operations
is limited

JANHAVI N L, Ass. Prof., Dept. of B.C.A, VVFGC, Tumkur 4


CLOUD COMPUTING CLOUD ARCHITECTURE

PRIVATE CLOUD
▪ It is accessible to the public.
▪ Public deployment models are perfect for organizations with growing and
fluctuating demands.
▪ It also makes a great choice for companies with low-security concerns.
▪ Cloud service provider provides services like or networking services, compute
virtualization & storage available on the public internet.
▪ Cloud model is owned by the entity that delivers the cloud services.
▪ Its configuration and deployment are quick and easy, making it an ideal choice
for test environments.

Advantages of Public Cloud


➢ Public cloud is owned at a lower cost than the private and hybrid cloud.
➢ Public cloud is maintained by the cloud service provider, so do not need to
worry about the maintenance.
➢ It is accessible by the general public, so there is no limit to the number of
users.

Disadvantages of Public Cloud


➢ Public Cloud is less secure because resources are shared publicly.
➢ Performance depends upon the high-speed internet network link to the cloud
provider.
➢ The Client has no control of data.

COMMUNITY CLOUD
▪ The community cloud operates in a way that is similar to the public cloud.
▪ There's just one difference - it allows access to only a specific set of users who
share common objectives and use cases.
▪ This type of deployment model of cloud computing is managed and hosted
internally or by a third-party vendor.

JANHAVI N L, Ass. Prof., Dept. of B.C.A, VVFGC, Tumkur 5


CLOUD COMPUTING CLOUD ARCHITECTURE

Advantages of Community Cloud


➢ Community cloud is cost-effective because the whole cloud is being shared
by several organizations or communities.
➢ It provides better security than the public cloud.

Disadvantages of Community Cloud


➢ Community cloud is not a good choice for every organization.
➢ Security features are not as good as the private cloud.

HYBRID CLOUD
▪ Hybrid cloud is a combination of two or more cloud architectures.
▪ With a hybrid solution, you may host the app in a safe environment while
taking advantage of the public cloud’s cost savings.
▪ Organizations can move data and applications between different clouds using a
combination of two or more cloud deployment methods, depending on their
needs.

JANHAVI N L, Ass. Prof., Dept. of B.C.A, VVFGC, Tumkur 6


CLOUD COMPUTING CLOUD ARCHITECTURE

Advantages of Hybrid Cloud


➢ Hybrid cloud is suitable for organizations that require more security than
the public cloud.
➢ Hybrid cloud helps you to deliver new products and services more
quickly.
➢ Hybrid cloud provides an excellent way to reduce the risk.

Disadvantages of Hybrid Cloud


• In Hybrid Cloud, security feature is not as good as the private cloud.
• Managing a hybrid cloud is complex because it is difficult to manage more
than one type of deployment model.

Public Private Community


Factors Hybrid Cloud
Cloud Cloud Cloud

Complex, Complex,
Complex,
requires a requires a
Initial requires a
Easy professional professional
Setup professional
team to team to
team to setup
setup setup

Scalability
and High High Fixed High
Flexibility

Distributed Between public


Cost- Cost-
Costly cost among and private
Comparison Effective
members cloud

Reliability Low Low High High

Data
Low High High High
Security

Data
Low High High High
Privacy

------------------------------------------------------------------------------------

JANHAVI N L, Ass. Prof., Dept. of B.C.A, VVFGC, Tumkur 7


CLOUD COMPUTING CLOUD ARCHITECTURE

CLOUD COMPUTING ARCHITECTURE


Cloud computing architecture is a combination of service-oriented
architecture and event-driven architecture.

Cloud computing architecture is divided into the following two parts –


1. Front End
2. Back End

Front End
• The front end is used by the client.
• It contains client-side interfaces and applications that are required to access
the cloud computing platforms.
• The front end includes web servers (including Chrome, Firefox, internet
explorer, etc.), thin & fat clients, tablets, and mobile devices.
• It also provides GUI to end users in order to perform respective task.

Back End
• The back end is used by the service provider.
• It manages all the resources that are required to provide cloud computing
services.
• It includes data storage, security mechanism, virtual machines, deploying
models, servers, traffic control mechanisms, etc.

Components of Cloud Computing Architecture


➢ Client Infrastructure
Client Infrastructure is a Front end component. It provides GUI (Graphical
User Interface) to interact with the cloud.

JANHAVI N L, Ass. Prof., Dept. of B.C.A, VVFGC, Tumkur 8


CLOUD COMPUTING CLOUD ARCHITECTURE

➢ Application
The application may be any software or platform that a client wants to
access.

➢ Service
A Cloud Services manages that which type of service you access according
to the client’s requirement.
Cloud computing offers the following three type of services: IaaS, Paas &
SaaS.

➢ Storage
It provides a huge amount of storage capacity in the cloud to store and
manage data.

➢ Infrastructure
It provides services on the host level, application level, and network level.
Cloud infrastructure includes hardware and software components such as
servers, storage, network devices, virtualization software, and other storage
resources that are needed to support the cloud computing model.

➢ Management
Management is used to manage components such as application, service,
runtime cloud, storage, infrastructure, and other security issues in the backend
and establish coordination between them.

➢ Security
Security is an in-built back end component of cloud computing. It
implements a security mechanism in the back end.

➢ Internet
The Internet is medium through which front end and back end can interact
and communicate with each other.
------------------------------------------------------------------------------------

JANHAVI N L, Ass. Prof., Dept. of B.C.A, VVFGC, Tumkur 9


CLOUD COMPUTING CLOUD ARCHITECTURE

LAYERED ARCHITECTURE OF CLOUD


These three development layers are implemented with virtualization and
standardization of hardware and software resources provisioned in the cloud.
The architecture of a cloud is developed at three layers: infrastructure,
platform, and application, as demonstrated in figure.

Infrastructure layer
▪ Infrastructure layer is deployed first to support IaaS services.
▪ This infrastructure layer serves as the foundation for building the platform layer
of the cloud for supporting PaaS services.
▪ Built with virtualized compute, storage, and network resources.
▪ Provide the flexibility demanded by users.
▪ Virtualization realizes automated provisioning of resources and optimizes the
infrastructure management process.

Platform layer
▪ Foundation for implementing the application layer for SaaS applications.
▪ The platform layer is for general-purpose and repeated usage of the collection
of software resources.
▪ This layer provides users with an environment to develop their applications, to
test operation flows, and to monitor execution results and performance.
▪ Virtualized cloud platform serves as a “system middleware” between the
infrastructure and application layers of the cloud.
▪ The platform should be able to assure users that they have scalability,
dependability, and security protection

JANHAVI N L, Ass. Prof., Dept. of B.C.A, VVFGC, Tumkur 10


CLOUD COMPUTING CLOUD ARCHITECTURE

Application layer
▪ The application layer is formed with a collection of all needed software modules
for SaaS applications.
▪ Service applications in this layer include daily office management work, such a
information retrieval, document processing, and calendar and authentication
services.
▪ The application layer is generally used by enterprises in business marketing and
sales, consumer relationship management (CRM), financial transactions, and
supply chain management.
-------------------------------------------------------------------------------------
VIRTUALIZATION
Definition:
Virtualization is the "creation of a virtual version of something, such
as a server, a desktop, a storage device, an operating system or network
resources".
Virtualization is a technique, which allows sharing a single physical
instance of a resource or an application among multiple customers or
organizations.
With the help of Virtualization, we can run multiple resources on the same
hardware simultaneously.
Example: Running multiple operating systems on a single machine but sharing all
the hardware resources. Using Hypervisor software we can have different virtual
system on same hardware.

A Virtual machine provides an environment that is logically separated from


the underlying hardware.
The machine on which the virtual machine is going to create is known
as Host Machine and that virtual machine is referred as a Guest Machine.

JANHAVI N L, Ass. Prof., Dept. of B.C.A, VVFGC, Tumkur 11


CLOUD COMPUTING CLOUD ARCHITECTURE

FEATURES 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.
------------------------------------------------------------------------------------

TYPES OF VIRTUALIZATIONS
➢ Hardware Virtualization.
➢ Operating system Virtualization.
➢ Server Virtualization.
➢ Storage Virtualization.
➢ Application Virtualization.

Hardware Virtualization
▪ When the virtual machine software or virtual machine manager (VMM) is
directly installed on the hardware system is known as hardware virtualization.
▪ The main job of hypervisor is to control and monitoring the processor, memory
and other hardware resources.
▪ After virtualization of hardware system we can install different operating
system on it and run different applications on those OS.

JANHAVI N L, Ass. Prof., Dept. of B.C.A, VVFGC, Tumkur 12


CLOUD COMPUTING CLOUD ARCHITECTURE

▪ Hardware virtualization is mainly done for the server platforms, because


controlling virtual machines is much easier than controlling a physical server.

Server Virtualization
▪ Server Virtualization is the process of dividing a physical server into several
virtual servers, called virtual private servers.
▪ Each virtual private server can run independently.
▪ The concept of Server Virtualization widely used in the IT infrastructure to
minimizes the costs by increasing the utilization of existing resources.
▪ Each VM runs its own operating system, applications, and services, and they
are isolated from each other.

Application Virtualization
▪ In this virtualization process, the application runs without the need of installing
it into the system, as they run on a virtual environment.
▪ Local application virtualization runs on the host device but runs in a virtual
environment, not in the hardware.
▪ Server-based application virtualization runs only on the server-side and sends
the only interface to the client system.
▪ Application virtualization, the application is on the server-side, and it sends
some components to the host device according to the requirement.

Storage Virtualization
▪ Storage virtualization is the process of grouping the physical storage from
multiple network storage devices so that it looks like a single storage device.

▪ Storage virtualization is also implemented by using software applications.


▪ Storage virtualization is mainly done for back-up and recovery purposes.

Operating System Virtualization


▪ When the virtual machine software or virtual machine manager (VMM) is
installed on the Host operating system instead of directly on the hardware
system is known as operating system virtualization.
▪ Operating System Virtualization is mainly used for testing the applications on
different platforms of OS.
▪ Operating system virtualization allows multiple instances of an operating
system to run on a single physical server.

JANHAVI N L, Ass. Prof., Dept. of B.C.A, VVFGC, Tumkur 13


CLOUD COMPUTING CLOUD ARCHITECTURE

Virtualization and Cloud Computing

Sl.
Cloud Computing Virtualization
No.

Cloud computing is used to provide While It is used to make various


1. pools and automated resources that simulated environments through a
can be accessed on-demand. physical hardware system.

Cloud computing setup is tedious, While virtualization setup is simple


2.
complicated. as compared to cloud computing.

While virtualization is low scalable


3. Cloud computing is high scalable.
compared to cloud computing.

While virtualization is less flexible


4. Cloud computing is Very flexible.
than cloud computing.

In the condition of disaster recovery,


While it relies on single peripheral
5. cloud computing relies on multiple
device.
machines.

In cloud computing, the workload is In virtualization, the workload is


6.
stateless. stateful.

The total cost of cloud computing is The total cost of virtualization is


7.
higher than virtualization. lower than Cloud Computing.

PROS AND CONS OF VIRTUALIZATION

Advantages Disadvantages

Overhead: Additional resource


Security: Protection from unauthorized
requirements that may impact
access and cyber-attacks.
performance.

Complexity: Adds complexity to IT


More Economical: Cost-saving and
infrastructure management,
environmentally friendly.
troubleshooting, and security.

Licensing: Some software vendors


Enabling Agile: Supports flexible and
may require additional licensing
efficient operations.
fees for virtualized environments.

JANHAVI N L, Ass. Prof., Dept. of B.C.A, VVFGC, Tumkur 14


CLOUD COMPUTING CLOUD ARCHITECTURE

Single Point of Failure: A physical


Efficient and Flexible Data Transfer: Easy to
server failure can impact the
locate, transfer, and retrieve data.
availability of critical applications.

Security: New security risks, such


No Risk of System Failure: Clustering
as VM escape attacks, require
ensures operational continuity.
additional security measures.

-------------------------------------------------------------------------------------
MICROSOFT HYPER-V
▪ Hyper-V is an infrastructure virtualization solution developed by Microsoft for
server virtualization.
▪ Hyper-V is currently shipped as a component of Windows Server 2008 R2 that
installs the hypervisor as a role within the server.
▪ Architecture Hyper-V supports multiple and concurrent execution of guest
operating systems by means of partitions.
▪ A partition is a completely isolated environment in which an operating system is
installed and run.
Below provides an overview of the architecture of Hyper-V,

Hyper-V takes control of the hardware, and the host operating system
becomes a virtual machine instance with special privileges, called the parent
partition.

JANHAVI N L, Ass. Prof., Dept. of B.C.A, VVFGC, Tumkur 15


CLOUD COMPUTING CLOUD ARCHITECTURE

HYPERVISOR
The hypervisor is the component that directly manages the underlying
hardware (processors and memory).
It is logically defined by the following components:
➢ Hypercalls interface:
▪ This is the entry point for all the partitions for the execution of sensitive
instructions.
▪ This is an implementation of the Para virtualization approach already
discussed with Xen.
▪ This interface is used by drivers in the partitioned operating system to
contact the hypervisor using the standard Windows calling convention.
▪ The parent partition also uses this interface to create child partitions.

➢ Memory service routines (MSRs):


▪ These are the set of functionalities that control the memory and its access
from partitions.
▪ By leveraging hardware-assisted virtualization, the hypervisor uses the
Input/output Memory Management Unit (I/O MMU or IOMMU) to fast-track
access to devices from partitions by translating virtual memory addresses.

➢ Advanced programmable interrupt controller (APIC):


▪ This component represents the interrupt controller, which manages the
signals coming from the underlying hardware when some event occurs
(timer expired, I/O ready, exceptions and traps).
▪ Each virtual processor is equipped with a synthetic interrupt controller
(SynIC), which constitutes an extension of the local APIC.
▪ The hypervisor is responsible of dispatching, when appropriate, the physical
interrupts to the synthetic interrupt controllers.

➢ Scheduler:
▪ This component schedules the virtual processors to run on available physical
processors.
▪ The scheduling is controlled by policies that are set by the parent partition.

➢ Address manager:
▪ This component is used to manage the virtual network addresses that
are allocated to each guest operating system.

➢ Partition manager:
▪ This component is in charge of performing partition creation, finalization,
destruction, enumeration, and configurations.
Its services are available through the hypercalls interface API previously discussed.

JANHAVI N L, Ass. Prof., Dept. of B.C.A, VVFGC, Tumkur 16


CLOUD COMPUTING CLOUD ARCHITECTURE

PARENT PARTITION
▪ The parent partition (also called the root partition) is the only one that has
direct access to the hardware.
▪ It runs the virtualization stack, hosts all the drivers required to configure guest
operating systems, and creates child partitions through the hypervisor.
▪ The parent partition executes the host operating system and implements the
virtualization stack that complements the activity of the hypervisor in running
guest operating systems.
▪ The parent partition is also the one that manages the creation, execution, and
destruction of child partitions.

CHILD PARTITIONS
▪ Child partitions are used to host guest operating systems and do not have
access to the underlying hardware, but their interaction with it is controlled by
either the parent partition or the hypervisor itself.
▪ Child partitions are used to execute guest operating systems.
▪ These are isolated environments that allow secure and controlled execution of
guests.
▪ For each child partition created, a Virtual Machine Worker Process (VMWP) is
instantiated in the parent partition, which manages the child partitions by
interacting with the hypervisor through the VID.

Virtualization Infrastructure Driver (VID):


It controls access to the hypervisor and allows the management of virtual
processors and memory.

There are three fundamental components:


➢ VMBus,
➢ Virtual Service Providers (VSPs), and
➢ Virtual Service Clients (VSCs).

VMBus implements the channel and defines the protocol for communication
between partitions.
VSPs are kernel-level drivers that are deployed in the parent partition and provide
access to the corresponding hardware devices.
These interact with VSCs, which represent the virtual device drivers (also called
synthetic drivers) seen by the guest operating systems in the child partitions.
Operating systems supported by Hyper-V utilize this preferred communication
channel to perform I/O for storage, networking, graphics, and input subsystems.

JANHAVI N L, Ass. Prof., Dept. of B.C.A, VVFGC, Tumkur 17


CLOUD COMPUTING CLOUD ARCHITECTURE

Difference between Full and Para Virtualization

Features Full Virtualization ParaVirtualization

The interaction of the guest


It is the first generation of operating system with the
Definition software solutions for server hypervisor to improve
virtualization. performance and productivity is
known as paravirtualization.

It is less secure than It is more secure than full


Security
paravirtualization. virtualization.

Its performance is slow than Its performance is high than full


Performance
paravirtualization. virtualization.

The Guest OS has to be modified


Guest OS It supports all the Guest OS
in paravirtualization, and only a
Modification without any change.
few OS support it.

Guest OS
It enables the Guest OS to It enables the Guest OS to
hypervisor
run independently. interact with the hypervisor.
independent

Potable and It is more portable and


It is less portable and compatible.
Compatible compatible.

Isolation It offers optimum isolation. It offers less isolation.

It is less efficient than It is more simplified than full


Efficient
paravirtualization. virtualization.

Characteristic It is software based. It is cooperative virtualization.

It is used in Microsoft,
Examples VMware, and Parallels It is mainly used in Hyper - V
systems.

JANHAVI N L, Ass. Prof., Dept. of B.C.A, VVFGC, Tumkur 18

You might also like