0% found this document useful (0 votes)
19 views

Unit 2

The document discusses cloud computing concepts including cloud architecture layers, virtualization, orchestration, service models like IaaS, PaaS and SaaS, and deployment types. It provides details on each layer of the cloud architecture, functions of virtualization, control software, orchestration and its benefits. Advantages and disadvantages of IaaS and PaaS are also outlined.

Uploaded by

Maqsood Ahmad
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)
19 views

Unit 2

The document discusses cloud computing concepts including cloud architecture layers, virtualization, orchestration, service models like IaaS, PaaS and SaaS, and deployment types. It provides details on each layer of the cloud architecture, functions of virtualization, control software, orchestration and its benefits. Advantages and disadvantages of IaaS and PaaS are also outlined.

Uploaded by

Maqsood Ahmad
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/ 54

UNIT II

Cloud Computing
Concepts
Cloud Concepts
• Cloud Computing Architecture
• Cloud Reference Model
• Cloud Layers
• Types of Clouds
• Services models
• Data centre Design and interconnection Network
• Architectural design of Compute Storage Clouds,
• "Cloud Programming and Software: Fractures of cloud programming"
Parallel and distributed programming paradigms
• Map Reduce, Hadoop
• High level Language for Cloud.,
CLOUD COMPUTING ARCHITECTURE
1. Physical Layer

• Foundation layer of the cloud infrastructure.


• Specifies entities that operate at this layer : Compute systems,
network devices and storage devices. Operating environment, protocol,
tools and processes.
• Functions of physical layer : Executes requests generated by the
virtualization and control layer.

2. Virtual Layer
• Deployed on the physical layer.
• Specifies entities that operate at this layer : Virtualization software,
resource pools, virtual resources.
• Functions of virtual layer : Abstracts physical resources and makes
them appear as virtual resources (enables multitenant environment).
Executes the requests generated by control layer.
The Concept of Virtualization:
• Developers require multiple operating systems to build different
systems in different environments. For testers, it will be an easier
option as they can check different systems in different environments.
3. Control Layer
• Deployed either on virtual layer or on physical layer
• Specifies entities that operate at this layer : control software
• Functions of control layer : Enables resource configuration,
resource pool configuration and resource provisioning. Executes
requests generated by service layer. Exposes resources to and
supports the service layer. Collaborates with the virtualization
software and enables resource pooling and creating virtual
resources, dynamic allocation and optimizing utilization of resources.
Control Software
• Software control is the process of the
physical storage in a definitive software
library of all software to ensure that only
correctly released, licensed, and authorized
versions of software are in use. Processes in
this category include the tracking of releases,
patches, service packs, and bug fixes.
4. Service Orchestration Layer
• Specifies the entites that operate at this layer : Orchestration
software.
• Functions of orchestration layer : Provides workflows for executing
automated tasks. Interacts with various entities to invoke
provisionning tasks.
What is Orchestration?
• Orchestration is the coordination and management of multiple
computer systems, applications and/or services, stringing together
multiple tasks in order to execute a larger workflow or process. These
processes can consist of multiple tasks that are automated and can
involve multiple systems.
• The goal of orchestration is to streamline and optimize the execution
of frequent, repeatable processes and thus to help data teams more
easily manage complex tasks and workflows. Anytime a process is
repeatable, and its tasks can be automated, orchestration can be used
to save time, increase efficiency, and eliminate redundancies. For
example, you can simplify data and machine learning with jobs
orchestration.
5. Service Layer
• Consumers interact and consume cloud resources via thos layer.
• Specifies the entities that operate at this layer : Service catalog
and self- service portal.
• Functions of service layer : Store information about cloud services
in service catalog and presents them to the consumers. Enables
consumers to access and manage cloud services via a self-service
portal.
Cross-layer function
1.Business continuity
• Specifies adoption of proactive and reactive measures to mitigate
the impact of downtime.
• Enables ensuring the availability of services in line with SLA.
• Supports all the layers to provide uninterrupted services.
2. Security
• Specifies the adoption of : Administrative mechanisms (security
and personnel policies, standard procedures to direct safe
execution of operations) and technical mechanisms (firewall,
intrusion detection and prevention systems, antivirus).
• Deploys security mechanisms to meet GRC requirements.
• Supports all the layers to provide secure services.
3. Service Management
• Specifies adoption of activities related to service portfolio management and
service operation Management.
A. Service portfolio management :
• Define the service roadmap, service features, and service levels
• Assess and prioritize where investments across the service portfolio are most
needed
• Establish budgeting and pricing
• Deal with consumers in supporting activities such as taking orders,
processing bills, and collecting payments
B. Service operation management :
• Enables infrastructure configuration and resource provisioning
• Enable problem resolution
• Enables capacity and availability management
• Enables compliance conformance
• Enables monitoring cloud services and their constituent elements
CLOUD DEPLOYMENT TYPES
Cloud Service Models
There are the following three types of cloud service models -
• Infrastructure as a Service (IaaS)
• Platform as a Service (PaaS)
• Software as a Service (SaaS)
Infrastructure as a Service (IaaS)
• IaaS is also known as Hardware as a Service (HaaS). It is a computing
infrastructure managed over the internet. The main advantage of
using IaaS is that it helps users to avoid the cost and complexity of
purchasing and managing the physical servers.
• It is one of the layers of the cloud computing platform. It allows
customers to outsource their IT infrastructures such as servers,
networking, processing, storage, virtual machines, and other
resources. Customers access these resources on the Internet using a
pay-as-per use model.
• IaaS cloud computing platform layer eliminates the need for every
organization to maintain the IT infrastructure.
• IaaS is offered in three models: public, private, and hybrid cloud.
Characteristics of IaaS
There are the following characteristics of IaaS -
• Resources are available as a service
• Services are highly scalable
• Dynamic and flexible
• GUI and API-based access
• Automated administrative tasks

• Example: DigitalOcean, Linode, Amazon Web Services (AWS),


Microsoft Azure, Google Compute Engine (GCE), Rackspace, and Cisco
Metacloud.
IaaS provider services

• Compute: Computing as a Service includes virtual central processing units


and virtual main memory for the Vms that is provisioned to the end-
users.
• Storage: IaaS provider provides back-end storage for storing files.
• Network: Network as a Service (NaaS) provides networking components
such as routers, switches, and bridges for the Vms.
• Load balancers: It provides load balancing capability at the infrastructure
layer.
Advantages of IaaS cloud computing layer
1. Shared infrastructure
• IaaS allows multiple users to share the same physical infrastructure.
2. Web access to the resources
• Iaas allows IT users to access resources over the internet.
3. Pay-as-per-use model
• IaaS providers provide services based on the pay-as-per-use basis. The users
are required to pay for what they have used.
4. Focus on the core business
• IaaS providers focus on the organization's core business rather than on IT
infrastructure.
5. On-demand scalability
• On-demand scalability is one of the biggest advantages of IaaS. Using IaaS,
users do not worry about to upgrade software and troubleshoot the issues
related to hardware components.
Disadvantages of IaaS cloud computing layer
1. Security
• Security is one of the biggest issues in IaaS. Most of the IaaS providers
are not able to provide 100% security.
2. Maintenance & Upgrade
• Although IaaS service providers maintain the software, but they do
not upgrade the software for some organizations.
3. Interoperability issues
• It is difficult to migrate VM from one IaaS provider to the other, so the
customers might face problem related to vendor lock-in.
Platform as a Service | PaaS
• Platform as a Service (PaaS) provides a runtime environment.
It allows programmers to easily create, test, run, and deploy
web applications. You can purchase these applications from
a cloud service provider on a pay-as-per use basis and access
them using the Internet connection.
• In PaaS, back end scalability is managed by the cloud service
provider, so end- users do not need to worry about
managing the infrastructure.
• PaaS includes infrastructure (servers, storage, and networking) and
platform (middleware, development tools, database management
systems, business intelligence, and more) to support the web
application life cycle.
• Example: Google App Engine, Force.com, Joyent, Azure.
PaaS providers Services
PaaS providers Services
• 1. Programming languages
• PaaS providers provide various programming languages for the
developers to develop the applications. Some popular programming
languages provided by PaaS providers are Java, PHP, Ruby, Perl, and
Go.
• 2. Application frameworks
• PaaS providers provide application frameworks to easily understand
the application development. Some popular application frameworks
provided by PaaS providers are Node.js, Drupal, Joomla, WordPress,
Spring, Play, Rack, and Zend.
• 3. Databases
• PaaS providers provide various databases such as ClearDB,
PostgreSQL, MongoDB, and Redis to communicate with the
applications.
Advantages of PaaS
1) Simplified Development
• PaaS allows developers to focus on development and innovation without worrying about
infrastructure management.
2) Lower risk
• No need for up-front investment in hardware and software. Developers only need a PC and
an internet connection to start building applications.
3) Prebuilt business functionality
• Some PaaS vendors also provide already defined business functionality so that users can
avoid building everything from very scratch and hence can directly start the projects only.
4) Instant community
• PaaS vendors frequently provide online communities where the developer can get the ideas
to share experiences and seek advice from others.
5) Scalability
• Applications deployed can scale from one to thousands of users without any changes to the
applications.
Disadvantages of PaaS cloud computing layer
1) Vendor lock-in
• One has to write the applications according to the platform provided
by the PaaS vendor, so the migration of an application to another
PaaS vendor would be a problem.
2) Data Privacy
• Corporate data, whether it can be critical or not, will be private, so if
it is not located within the walls of the company, there can be a risk in
terms of privacy of data.
3) Integration with the rest of the systems applications
• It may happen that some applications are local, and some are in the
cloud. So there will be chances of increased complexity when we
want to use data which in the cloud with the local data.
Popular PaaS Providers
Software as a Service (SaaS)
• SaaS is also known as "on-demand software". It is a software in which
the applications are hosted by a cloud service provider. Users can
access these applications with the help of internet connection and
web browser.
• SaaS is also known as "On-Demand Software". It is a software
distribution model in which services are hosted by a cloud service
provider. These services are available to end-users over the internet
so, the end-users do not need to install any software on their devices
to access these services.
SaaS Services
• Business Services - SaaS Provider provides various business services to
start-up the business. The SaaS business services include ERP (Enterprise
Resource Planning), CRM (Customer Relationship Management), billing,
and sales.
• Document Management - SaaS document management is a software
application offered by a third party (SaaS providers) to create, manage, and
track electronic documents.
Characteristics of SaaS
• There are the following 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

Example: BigCommerce, Google Apps, Salesforce, Dropbox, ZenDesk,


Cisco WebEx, ZenDesk, Slack, and GoToMeeting.
Advantages of SaaS
1. SaaS is easy to buy
2. One to Many
3. Less hardware required for SaaS
4. Low maintenance required for SaaS
5. No special software or hardware versions required
6. Multidevice support
7. API Integration
8. No client-side installation
Disadvantages of SaaS
1) Security
2) Latency issue
3) Total Dependency on Internet
4) Switching between SaaS vendors is difficult
Popular SaaS Providers
Data Center in Cloud Computing
What is a Data Center?
A data center - also known as a data center or data
center - is a facility made up of networked computers,
storage systems, and computing infrastructure that
businesses and other organizations use to organize,
process, store large amounts of data. And to broadcast.
A business typically relies heavily on applications,
services, and data within a data center, making it a focal
point and critical asset for everyday operations.
How do Data Centers work?
• A data center facility enables an organization to assemble its
resources and infrastructure for data processing, storage, and
communication, including:
• systems for storing, sharing, accessing, and processing data across the
organization;
• physical infrastructure to support data processing and data
communication; And
• Utilities such as cooling, electricity, network access, and
uninterruptible power supplies (UPS).
What are the main components of Data Centers?

• Elements of a data center are generally divided into three categories:

• Calculation
• enterprise data storage
• networking
How are Datacenters managed?
• Facilities Management. Management of a physical data center facility may
include duties related to the facility's real estate, utilities, access control,
and personnel.
• Datacenter inventory or asset management. Datacenter features include
hardware assets and software licensing, and release management.
• Datacenter Infrastructure Management. DCIM lies at the intersection of IT
and facility management and is typically accomplished by monitoring data
center performance to optimize energy, equipment, and floor use.
• Technical support. The data center provides technical services to the
organization, and as such, it should also provide technical support to the
end-users of the enterprise.
A Generic Cloud Architecture
CLOUD COMPUTING MAPREDUCE IN HADOOP
• What is MapReduce in Hadoop?
• MapReduce is a software framework and programming model used
for processing huge amounts of data.
• MapReduce program work in two phases, namely, Map and Reduce.
• Map tasks deal with splitting and mapping of data while Reduce tasks
shuffle and reduce the data.
• The programs of Map Reduce in cloud computing are parallel in
nature, thus are very useful for performing large-scale data analysis
using multiple machines in the cluster.
• The input to each phase is key-value pairs. In addition, every
programmer needs to specify two functions: map function and
reduce function.
MAP and REDUCE
MapReduce Architecture in Big Data
phases of MapReduce in Big Data
• Input Splits:
An input to a MapReduce in Big Data job is divided into fixed-size
pieces called input splits Input split is a chunk of the input that is
consumed by a single map
• Mapping
This is the very first phase in the execution of map-reduce program. In
this phase data in each split is passed to a mapping function to produce
output values. In our example, a job of mapping phase is to count a
number of occurrences of each word from input splits (more details
about input-split is given below) and prepare a list in the form of
<word, frequency>
• Shuffling
This phase consumes the output of Mapping phase. Its task is to
consolidate the relevant records from Mapping phase output. In our
example, the same words are clubed together along with their
respective frequency.
• Reducing
• In this phase, output values from the Shuffling phase are aggregated.
This phase combines values from Shuffling phase and returns a single
output value. In short, this phase summarizes the complete dataset.
• In our example, this phase aggregates the values from Shuffling phase
i.e., calculates total occurrences of each word.
How MapReduce Organizes Work?
Hadoop divides the job into tasks. There are two types of tasks:
• Map tasks (Splits & Mapping)
• Reduce tasks (Shuffling, Reducing)
The complete execution process (execution of Map and Reduce tasks,
both) is controlled by two types of entities called a
• Jobtracker: Acts like a master (responsible for complete execution of
submitted job)
• Multiple Task Trackers: Acts like slaves, each of them performing the
job
• For every job submitted for execution in the system, there is
one Jobtracker that resides on Namenode and there are multiple
tasktrackers which reside on Datanode.
Difference between PC/CC
Difference between CC/DC

You might also like