Cloud Computing
Cloud Computing
1.1 Introduction
delivering annl:
Cloudcomputing is atransformative computing paradigm that involves
technologies that are :l
services over the internet. Many of the underlying
cations and
time. Cloud computing invol
foundation of cloud computing have existed for quite some
resources on demand and providing th
provisioning of computing. networking and storage model. In this chapter we
pay as you go
resources as metered services to the users. in a
will lean about the various deployment models. service models. characteristics, driving
factors and challenges of cloud computing.
Rapid elasticity
Cloud computing resourcescan be provisioned rapidly and elastically. Cloud resources cau
be rapidly scaled up or down based on demand. Two types of scaling options exist:
Horizontal Scaling (scaling out): Horizontal scaling or scaling-out involves launc"
ing and provisioning additional server resources.
"Vertical Scaling (scaling up): Vertical scaling or scaling-up involves changing the
computing capacity assigned to the server resources while keeping the number of
server resources constant
Measured service
Outsourced Management
Cloud computing allows the users (individuals, large organizations, small and medium
enterprises and governments) to outsource the 1T infrastructure requirements to external
cloud providers. Thus, the consumers can save large upfront capital expenditures in setting
resources
up the IT infrastructure and pay only for the operational expenses for the cloud
infrastructure
used. The outsourced nature of the cloud services provides a reduction in the IT
management costs.
Reliability
reliability
Applications deployed in cloud computing environments generally have a higher
service. Cloud
since the underlying IT infrastructure is professionally managed by the cloud
levels for their cloud
serviceproviders specify and guarantee the reliability and availability
resources in the form of service level agreements (SLAs). Most cloud providers promise
achieve
99.99% uptime guarantee for the cloud resources, which may often be expensive to
with in-house IT infrastructure.
Multi-tenancy
Themulti-tenanted approach of the cloud allows multiple users to make use of the same shared
resources. Modern applications such as e-Commerce, Business-to-Business, Banking and
Infrastructure-as-a-Service (laaS)
laaS provides the users the capability to provision computing and storage resources. These
resources are provided to the users as virtual machine instances and virtual storage. Users can
start, stop, configure and manage the virtual machine instances and virtual storage. Users can
deploy operating systems and applications of their choice on the virtual resources provisioned
in the cloud. The cloud service provider manages the underlying
infrastructure. Virtual
resources provisioned by the users are billed based on a pay-per-use paradigm. Common
metering metrics used are the number of virtual machine hours used and/or the amount of
storage space provisioned.
Platform-as-a-Service (PaaS)
PaaS provides the users the capability to develop and deploy application in the cloud using
the development tools, application programming interfaces (APIs), software libraries and
services provided by the cloud service provider. The cloud service provider manages the
underlying cloud infrastructure including servers, network, operating systems and storage.
The users, themselves, are responsible for developing, deploying, configuring and managing
applications on the cloud infrastructure.
Software-as-a-Service (SaaS)
Saas provides the users a complete software application or the user interface to the the
application itsel. The cloud service provider manages the underlying cloud infrastructure
including servers, nelwork, operating systems, storage and application software, and the user
is unaware of he underlying architecture of the cloud.
Applications are provided to the user
through a thin client interface (e.g., a browser). SaaS applications are platform
and can be accessed from various client devices such as independent
workstations, laptop, tablets and
Smartphones, running different operating systems. Since the cloud service provider manages
both the application and data, the users are able to access the
Figure l.l shows the cloud computing service models andapplications
from anywhere.
Figure 1.2 lists the benefits,
characteristics and adoption of laaS, PaaS and SaaS.
Private cloud
In the private cloud deployment model, cloud infrastructure is operated for exclusive use of a
single organization. Private cloud services are dedicated for a single organization. Cloud
infrastructure can be setup on premise or ofr-premise and may be managed internally or by a
third-party. Private clouds are best suited for applications where security is very important
and organizations that want to have very tight control over their data.
Hybrid cloud
The hybrid cloud deployment model combines the services of multiple clouds (private or
public). The individual clouds retain their unique identities but are bound by standardized
or proprietary technology that enables data and application portability. Hybrid clouds are
best suited for organizations that want to take advantage of secured application and data
hosting on aprivate cloud, and at the same time benefit from cost savings by hosting shared
applications and data in public clouds.
Community cloud
In the comnmunity cloud deployment model, the cloudservices are shared by several orga
nizations that have the same policy and compliance considerations. Community clouds are
Cloud Computing - A Hands-On Approach
24
Introduction to Cloud Computine
laaS
PaaS
SaaS
Figure l.2: Benefits, characteristics and adoption of aaS, PaaS and SaaS
best suitedfor organ1zations that want access to the same applications and data. andwant the
cloud costs to be shared with the larger group.
Figures 1.3and 1.4 show the cloud deplovment models
Private Cloud
Provided by Internal/External
Available to Service Provider
Single
organization
Hybrid Cloud
Available to
Community Cloud
Available to
Several organizatiorns
supporting a specific
community
features for building scalable and reliable applications such as auto scaling and elastic
load balancing. Figure 1.5 shows a screenshot of Amazon EC2 dashboard.
Google Compute Engine (GCE) (4] is an laaS offering from Google. GCE provides
virtual machines of various computing capacities ranging from small instances (e.g., I
virtual core with 1.38 GCE unit and 1.7GB memory)to high memory machine types (e.g.,
8 virtual cores with 22 GCE units and52GB memorv). Figure 1.6 shows ascreenshot of
Google Compute Engine dashboard.
Windows Azure Virtual Machines [831 is an IaaS offering from Microsoft. Azure VMs
provides virtual machines of various computing capacities ranging from small instances
(1 virtual core with 1.75GB memorv) to memorv intensive machine types (8 virtual cores
with 56GB memory). Figure 1.7shows ascreenshot of Windows Azure Virtual Machines
dashboard.
My Resoutcet
tvents
l y3 3want ts launcho virtus! US East (. Vrgsa) tegion:
Enta
Servce Heettti
Events
Curnt Ktatus Dettte
TWOKK SECAA7
Secty 8oups Retaterd nks
An anazonoom conga
Google App Engine (GAE) [105] is a Platform-as-a- Service (PaaS) offering from Google.
GAE(TM) is a cloud-based web service for hosting web applications and storing data.
GAE allows users to build scalable and reliable applications that run on the same systems
that power Google'sown applications. GAE provides a software development kit (SDK)
for developing web applications software that can be deployed on GAE. Developers can
develop and test their applications with GAE SDK on a local machine and then upload it
toGAE with asimple click of a button. Applications hosted in GAE are easy to build,
maintain and scale. Users don't need to worry about launching additional computing
instances when the application load increases. GAE provides seamless scalability by
launching additional instances when application load increases. GAE provides dynamic
web serving based on common web technologies. Applications hosted in GAE can use
dynamic technologies.GAE provides automatic scaling and load balancing capability.
GAE supports applications written in several programming languages. With GAE's
Dieks
Create a new Instance Summary
Snapehots
myinstanee
rnages mytnstanee
Desctípfion
dablar-7hoozy-29130723
täRtadsta
}ones uscentratt-b
debian-7weezy813073
Additiosa isks
dashboard
Figure 1.6: Google Compute Engine
) 201+
Bahga & Madisetti,
14Cloud Services Examples 29
HWindows Axure
myinstance
DASHEOARO
senstace CRUPERCENTAGE
234
STATUS
cONFIGRE WER ENOPCINT MONITORNG) Starting
YNSIANCEStER RAES
SSH DETS
CIsks rainstarKecioud99.rat:%
TY HOST CACHE
Vers
ta
hesoures
Atntesn
Some of the tools included in the Salesforce Sales,Service and Marketing Clouds
include:
Accounts and contacts
" Leads
" Opportunities
Campaigns
Chatter
Analytics and Forecasts
saleyrce
L Ae thes
Arshdee Sinoh
Assgd
Ny Takt
Specialist
XRay, CT scan,
Diagnostic Lab MRI, etc. Physician
Provider
(Doctor)
Pharmacies Interaction
Information/Data Flow
Payers
(Governments, Private Health Insurance
Companies, Employers)
Energy
Systems
Green power
generation Cloud-based Framework for
predicting faults in energy systems
Faults Database
Data
Updation
Coilectors
Public/Private Cloud
Central State
Government Governments
Community Cloud
G2C G2B
BusinesS,
Citizens NGOS
can provide access to high quality educational material to students. Figure 1.15 shows a
generic use case of cloud for education. Cloud-based systems can help universities, colleges
and schools in cutting down the IT infrastructure costs and yet provide access to educational
services to a large number of students.
Faculty/Teachers
Public/Private Cloud
University/School
Information Management
Systems
University/College/
School
Faculty/Teachers/ Students
Researchers
Educators
ol significant
the workload levels can be provisioned on-demand. This will result in installationsand
savings. Centralized cloud-based virtual BBU clusters can replace on-site management
BBUs in distributed geographical locations. This will result in reduction of
2014
O
Madisetti,
Bahga &
1.5 Cloud-based Services & Applications 37
RRH RRH
RRH
BBU: Baseband Unit HSS: Home Subscriber Server
RRH: Remote Radio Head S-GW: Serving Gateway
MME: Mobility Management Entity P-GW: Packet Data Network Gateway
BBU
Fibre
Virtualized Core Network
Radio Access Network
MME HSS Internet
RRH
RRH RRH
S-GW P-GW
........
Fibre
BBU
operational expenses.
Figure 1.17 shows a use case of cloud-based NFV architecture for mobilecore network.
With NFV, the core network devices such as Mobility Management Entity (MME), Home
Subscriber Server (HSS), Serving Gateway (S-GW) and Packet Data Network Gateway
(P-GW) in 4G can be implemented in software and deployed on virtualized resources in
the cloud. This will reduce the total cost of ownership due to consolidation of network
component that run on industry standard networking hardware. Other benefits of using
cloud-based NFV architecture for mobile core network include improved resource utilization
efficiency. improved network resilience, improved flexibility in scaling up capacity.
Summary
In this chapter you learned the definition and characteristics of cloud computing. Cloud
computing offers Internet-based access to low cost computing and applications that are
provided using virtualized resources. On-demand service, remote accessibility through a
variety of networks, resource pooling, rapid elasticity and measured service are the key
characteristics of cloud conmputing. Cloud computing resources can be provisioned on
demandby the users. Cloud computing resources can be accessed over the network with
standard access mechanisms. Cloud resources are pooled to serve multiple users using
multi-tenancy.
Cloud computing has three service models - laaS, PaaS and SaaS. laaS provides the
users the capability toprovision computing and storage resources. PaaS provides the users
the capability to develop and deploy their own applications in the cloud. SaaS provides
applications hosted in the cloud through thin client interfaces.
Cloudcomputing is being increasingly adopted by individual users, small and large
enterprises, large organizations and governments. Cloud computing is being applied in
Cloud Computing -A Hands-On Approach
organic
scaling? cloud Madiseti,
Cloud systems, and Which
virtual verticaland Bahga
to
Introduction para- website. &
energy
between website?
and full,
governance, e-commerce
scaling
scaling.
between
difference the
computing. horizontal
of differencefor
education. SaaS. type an consider
each launch
andthe
PaaSis between
cloud use the to
you
etc. What
healthcare,
as systems, laaS, will isWhat wants will
computing
of Define
4. difference
multi-tenancy.
you models
company
consbetween virtualization.
Questions
Reviewand
transportation which
deployment
virtualization?
such cloudprosDistinguishthe in your
the
tenancy?
is
scenarios Assume
fields Define Define
List What
industry, and
various
1. 2. 3. 5. 6. 7.
38