CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a...

69
CS15-319: Cloud Computing Lecture 2 Introduction to Cloud Computing Prof. Majd F. Sakr

Transcript of CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a...

Page 1: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

CS15-319: Cloud Computing

Lecture 2Introduction to Cloud Computing

Prof. Majd F. Sakr

Page 2: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Lecture Outline

2

Discussion On

Cloud Infrastructure

Service Models of Cloud Computing

The Cloud Stack

Types of Clouds and CMUQ’s Private Cloud

Software Service Models

© Carnegie Mellon University in Qatar

Page 3: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Lecture Outline

3

Discussion On

Cloud Infrastructure

Service Models of Cloud Computing

The Cloud Stack

Types of Clouds and CMUQ’s Private Cloud

Software Service Models

Cloud Infrastructure

© Carnegie Mellon University in Qatar

Page 4: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

What is a Server? Servers are computers that provide “services” to “clients”

They are typically designed for reliability and to service a large number of requests

Organizations typically require many physical servers to provide various services (Web, Email, Database, etc.)

Server hardware is becoming more powerful and compact

4© Carnegie Mellon University in Qatar

Page 5: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Compact Servers Organizations would like to conserve the amount of floor space

dedicated to their computer infrastructure

For large-scale installations, compact servers are used. This helps with: Floor Space Manageability Scalability Power and Cooling

5© Carnegie Mellon University in Qatar

Page 6: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Racks

Equipment (e.g., servers) are typically placed in racks

Equipment are designed in a modular fashion to fit into rack units(1U, 2U etc.)

A single rack can hold up to 42 1U servers

6

1U Server

7U Blade center

© Carnegie Mellon University in Qatar

Page 7: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Blades and Blade Enclosures

A blade server is a stripped down computer with a modular design

A blade enclosure holds multiple blade servers and provides power, interfaces and cooling for the individual blade servers

7© Carnegie Mellon University in Qatar

Page 8: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Blade Performance Consider bandwidth and latency between these layers

8

L3

Memory

Quad Core Processor

Disk

core core

corecore

L2

Quad Core Processor

core core

corecore

L2

L1

L1

© Carnegie Mellon University in Qatar

Page 9: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

…Performance across blades Consider bandwidth and latency across blades

9

Network is usually the bottleneck

© Carnegie Mellon University in Qatar

Page 10: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

What is a Data Center?

A data center is a facility used to house computer systems and associated components, such as networking and storage systems, cooling, uninterruptable power supply, air filters…

A data center typically houses a large number of heterogeneous networked computer systems

A data center can occupy one room of a building, one or more floors, or an entire building

10© Carnegie Mellon University in Qatar

Page 11: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Data Center Components

Air conditioning Keep all components in the manufacturer’s recommended

temperature range Redundant Power

UPS/Generators Multiple power feeds

Fire protection Physical security

CCTV/Access Control Monitoring Systems Connectivity

Multiple ISPs/Leased Lines

11© Carnegie Mellon University in Qatar

Page 12: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

The Network of a Modern Data Center

CR = L3 Core Router, AR = L3 Access Router, S = L2 Switch, LB = Load Balancer, A = Rack of 20 servers (Cisco with ~ 4,000 servers) 12

A A A… A A A…

S S

SLB

S S

S LB

AR AR

CR

AR AR

CR

Internet

Layer 2

Layer 3

© Carnegie Mellon University in Qatar

Page 13: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Communication In Data Centers Communication in data centers are most often based on networks running

the IP protocol suite

Data centers contain a set of routers and switches that transport traffic between the servers and to the outside world

Traffic in today’s data centers: 80% of the packets stay inside the data center Trend is towards even more internal communication

Typically, data centers run two kinds of applications: Outward facing (serving web pages to users) Internal computation (data mining and index computations–think of

MapReduce and HPC)

13© Carnegie Mellon University in Qatar

Page 14: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Communication Latency Propagation delay in the data center is essentially 0

Light goes a foot in a nanosecond

End to end latency comes from Switching latency

10G to 10G:~ 2.5 usec (store&fwd); 2 usec (cut-thru) Queuing latency

Depends on size of queues and network load

Typical times across a quiet data center: 10-20usec

14© Carnegie Mellon University in Qatar

Page 15: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Elasticity and Performance Bare data centers make it hard for applications to grow/shrink

VLANs can be used to isolate applications from each other IP addresses are topologically determined by

Access Routers

Reconfiguration of IPs and VLAN trunks is painful, error-prone, slow, and often manual

In addition, no performance isolation is provided: VLANs typically provide reachability isolation only One service sending/receiving too much traffic hurts all

services sharing its subtree

15© Carnegie Mellon University in Qatar

Page 16: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Power in Data Centers Pretty good data centers have efficiency of 1.7

0.7 Watts lost for each 1W delivered to the servers

How can we reduce power costs? Create servers that use less power?

Conventional server uses 200 to 500W Reductions have ripple effects across entire data center Mostly a problem for scientists to tackle!!

Eliminate power redundancy? Allow entire data centers to fail

Reduce power usage of network gear? Total power consumed by switches amortizes to 10-20W per server

16© Carnegie Mellon University in Qatar

Page 17: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Utilization In Data Centers Utilization of 10% to 30% is considered “good” in data centers

Causes: Uneven application fit:

Each server has CPU, memory, and disk: most applications exhaust one resource, stranding the others

Long provisioning timescales Uncertainty in demand:

Demand for a new service can spike quickly Risk management:

Not having spare servers to meet application demands leads to failure

17© Carnegie Mellon University in Qatar

Page 18: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

What About? Maximize useful work per dollar spent – 59% of dollars are spent on

servers with very low utilization (10%)

Turn the servers into a single large resource pool and let services “breathe” : dynamically expand and contract their footprint as needed

Two main requirements: Means for rapidly and dynamically satisfying application

fluctuating resource needs

Means for servers to quickly and reliably access shared and persistent data Data too large to copy during provisioning process

18

Enabled by Virtualization

Enabled by Programming Models and Distributed File Systems

© Carnegie Mellon University in Qatar

Page 19: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

A Cloud is … A data center hardware and software that

the vendors use to offer the computing resources and services

© Carnegie Mellon University in Qatar 19

Page 20: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Cloud Computing“Cloud Computing is the transformation of

IT from a product to a service”

Innovation Product Service

The “Cloud”

© Carnegie Mellon University in Qatar 20

Page 21: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Cloud Computing

Cloud Computing is the delivery of computing as a

service rather than a product,

whereby shared resources, software, and

information are provided to computers and other

devices,

as a metered service over a network.

21© Carnegie Mellon University in Qatar

Page 22: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Lecture Outline

22

Discussion On

Cloud Infrastructure

Service Models of Cloud Computing

The Cloud Stack

Types of Clouds and CMUQ’s Private Cloud

Software Service Models

Service Models of Cloud Computing

© Carnegie Mellon University in Qatar

Page 23: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

IT as a Service

How do you offer IT as a service? Different users have different needs Consider the needs of: Average End User Mobile Application Developer Enterprise System Architect

23

Let us look at some of the typical service models

© Carnegie Mellon University in Qatar

Page 24: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Cloud Service Models

24

• Software-as-a-Service• Applications running on browsersSaaSSaaS

• Platform-as-a-Service• A software platform that is made

available to developers to build cloud applications

PaaSPaaS• Infrastructure-as-a-Service

• Basic computing resources such as CPU/Memory/Disk, made available to users in the form of Virtual Machine Instances

IaaSIaaS

© Carnegie Mellon University in Qatar

Page 25: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

SaaS You are most familiar with this!

Software is delivered as a service over the Internet, eliminating the need to install and run the application on the customer's own computer

This simplifies maintenance and support

Examples: Gmail, YouTube, and Google Docs, among others

25

SaaS

PaaS

IaaS

© Carnegie Mellon University in Qatar

Page 26: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

SaaS Maturity Levels Distinguishing attributes: configurability, multi-tenant

efficiency, scalability

26

1 2 3 4

Tenant 1 Tenant 2 Tenant 1 Tenant 2 Tenant 1 Tenant 2 Tenant 1 Tenant 2

Tenant Load Balancer

instance 1 instance 2 instance instance instance instance instance

Configurable + Multi-tenant-efficient + Scalable• Same application but

distinct instance/customer• Each has its own

customized version of the application and run

its own instance

• (+):Efficient use of server resources without apparent

differences to end users

• (-): scalability limits

© Carnegie Mellon University in Qatar

Page 27: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

PaaS The Cloud provider exposes a set of

tools (a platform) which allows users to create SaaS applications

The SaaS application runs on the provider’s infrastructure

The cloud provider manages the underlying hardware and requirements

27

SaaS

PaaS

IaaS

© Carnegie Mellon University in Qatar

Page 28: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

PaaS Example I

Google App Engine

28

Build web applications on Google’s Infrastructure

© Carnegie Mellon University in Qatar

Page 29: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

PaaS Example II

The Facebook Developer Platform

29

Set of APIs that allow you to create Facebook Applications

© Carnegie Mellon University in Qatar

Page 30: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

IaaS (1/3)

The cloud provider leases to users Virtual Machine Instances (i.e., computer infrastructure) using the virtualization technology

The user has access to a standard Operating System environment and can install and configure all the layers above it

30

SaaS

PaaS

IaaS

Server

Server

Server

Server

Cloud Provider

Hypervisor

VM

OS

VM

OS

© Carnegie Mellon University in Qatar

Page 31: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

HARDWARE

IaaS (2/3) The virtualization technology is a major

enabler of IaaS

31

SaaS

PaaS

IaaS

© Carnegie Mellon University in Qatar

Page 32: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Virtualization

Workloads

Web 2.0Collaborative

Innovation

SoftwareDevelopment

VirtualClassroom

DataIntensive

Processing

High VolumeTransactions

VirtualStorage

VirtualNetworks

VirtualServers

Physical Layer

Racks, BladeCenter

Storage NetworkingServers

VirtualApplications &

Middleware

VirtualClients

Power Systems

Request Driven Provisioning & Service Management

Dynamic Scheduling

MonitoringCapacity Planning

SLA

ServiceCatalog

RequestUI

OperationsUI

IaaS (3/3)

32© Carnegie Mellon University in Qatar

Page 33: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

IaaS Example Amazon Web Service Elastic Compute Cloud (EC2)

33© Carnegie Mellon University in Qatar

Page 34: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Other Service Models

Hardware-as-a-Service Communication-as-a-Service XaaS “X” as a Service

34© Carnegie Mellon University in Qatar

Page 35: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Datacenter-as-a-Service Increasing Number of Servers

Manpower, Electricity, Cooling, Security? Management Nightmare

Why not give it to someone else?

35© Carnegie Mellon University in Qatar

Page 36: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Lecture Outline

36

Discussion On

Cloud Infrastructure

Service Models of Cloud Computing

The Cloud Stack

Types of Clouds and CMUQ’s Private Cloud

Software Service Models

The Cloud Stack

© Carnegie Mellon University in Qatar

Page 37: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

The Cloud Stack

Networking

Storage

Servers

Virtualization

Operating System

Middleware

Runtime

DataApplications

© Carnegie Mellon University in Qatar 37

Page 38: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Applications Cloud applications can range

from Web applications to scientific computational jobs

Networking

Storage

Servers

Virtualization

Operating System

Middleware

Runtime

Data

Applications

© Carnegie Mellon University in Qatar 38

Page 39: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Data Data Management New generation cloud-

specific databases and management systems E.g., Hbase, Cassandra,

Hive, Pig etc.Networking

Storage

Servers

Virtualization

Operating System

Middleware

Runtime

Data

Applications

© Carnegie Mellon University in Qatar 39

Page 40: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Runtime Environment Runtime platforms to support

cloud programming models E.g., MPI, MapReduce,

Pregel etc.

Networking

Storage

Servers

Virtualization

Operating System

Middleware

Runtime

Data

Applications

© Carnegie Mellon University in Qatar 40

Page 41: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Middleware for Clouds Management platforms that

enable: Resource Management Monitoring Provisioning Identity Management and

SecurityNetworking

Storage

Servers

Virtualization

Operating System

Middleware

Runtime

Data

Applications

© Carnegie Mellon University in Qatar 41

Page 42: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Operating Systems Standard Operating Systems

used in Personal Computing Packaged with libraries and

software for quick deployment and provisioning

E.g., Amazon Machine Images (AMI) contain OS as well as required software packages as a “snapshot” for instant deployment

Networking

Storage

Servers

Virtualization

Operating System

Middleware

Runtime

Data

Applications

© Carnegie Mellon University in Qatar 42

Page 43: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Virtualization Key Component Resource Virtualization Amazon EC2 is based on the

Xen virtualization platform

Networking

Storage

Servers

Virtualization

Operating System

Middleware

Runtime

Data

Applications

© Carnegie Mellon University in Qatar 43

Page 44: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Cloud Service Layers in the Service Levels

44

Networking

Storage

Servers

Virtualization

Operating System

Middleware

Runtime

Data

Applications

Networking

Storage

Servers

Virtualization

Operating System

Middleware

Runtime

Data

Applications

Networking

Storage

Servers

Virtualization

Operating System

Middleware

Runtime

Data

Applications

Networking

Storage

Servers

Virtualization

Operating System

Middleware

Runtime

Data

Applications

Use

r Man

aged

Use

r Man

aged

Use

r Man

aged

Vendor M

anaged

Vendor M

anaged

Vendor M

anaged

Packaged Software

IaaS PaaS SaaS

SaaS

PaaS

IaaS

© Carnegie Mellon University in Qatar

Page 45: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Lecture Outline

45

Discussion On

Cloud Infrastructure

Service Models of Cloud Computing

The Cloud Stack

Types of Clouds and CMUQ’s Private Cloud

Software Service Models

Types of Clouds and CMUQ’s Private Cloud

© Carnegie Mellon University in Qatar

Page 46: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Types of Clouds (1/4)

Public Private Hybrid

46© Carnegie Mellon University in Qatar

Page 47: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Types of Clouds (2/4) Public (external) cloud Open market for on demand computing and IT resources Concerns: Limited SLA, reliability, availability, security,

trust and confidence Examples: IBM, Google, Amazon, …

47© Carnegie Mellon University in Qatar

Page 48: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Types of Clouds (3/4)

Private (Internal) cloud For enterprises/corporations with large

scale IT

48© Carnegie Mellon University in Qatar

Page 49: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Types of Clouds (4/4) Hybrid cloud Extend the private cloud(s) by connecting it to other external

cloud vendors to make use of their available cloud services

Cloud Burst Use the local cloud, and when you need more resources,

burst into the public cloud

49© Carnegie Mellon University in Qatar

Page 50: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

The Qloud:CMUQ’s Private Cloud

Page 51: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

CMU-Q’s Research Data Center

51© Carnegie Mellon University in Qatar

Page 52: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

52

One of Qloud Hardware (1/3) IBM Bladecenter H

Advanced Management Module Two Nortel Gigabit Switches 112 cores 7TB of storage 14 Blades

© Carnegie Mellon University in Qatar

Page 53: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

53

One of Qloud Hardware (2/3) Each Blade

8 GB RAMspeed is 667MHz

300 GB SAS SCS 1 disk

300 GB SAS SCS 1 disk

Intel Xeon(R) CPU (8-core)

3.16GHz & 64-bit

Bandwidth: 21.3GB/s

Bandwidth: 600MB/s

Intel Xeon(R) CPU (8-core)

3.16GHz & 64-bit

© Carnegie Mellon University in Qatar

Page 54: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

……….

13 VM hosts Blade #14 (Control)

54

One of Qloud Hardware (3/3) Qloud Network

2 1-Gbit switches Each blade is connected to each of the switches

1 Gbit switch1 Gbit switch

© Carnegie Mellon University in Qatar

Page 55: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Qloud Stack

Networking

Storage

Servers

Virtualization

Operating System

Middleware

Runtime

DataApplications

Storage/Blade = 2 x 300 GB SAS & RAM/Blade = 8 GB RAM

14 IBM Quad Core (E5420) Blades

Vmware vSphere 4.1/ESXi 4.1

64-Bit Fedora 13

Ganglia cluster monitoring system and the VMware vSphere Client

Apache Hadoop 0.20.1

HDFS

Bayesian Classification, K-Means, etc.

© Carnegie Mellon University in Qatar 55

Page 56: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

A New Cloud at CMU-Q

56

Total Installed Capacity:20 Servers

240 Cores, 960 GB Memory, 18 TB local storage, 20 TB

SAN StorageVMWare vSphere 4.x

Virtualization Environment

© Carnegie Mellon University in Qatar

Page 57: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Lecture Outline

57

Discussion On

Cloud Infrastructure

Service Models of Cloud Computing

The Cloud Stack

Types of Clouds and CMUQ’s Private Cloud

Software Service ModelsSoftware Service Models

© Carnegie Mellon University in Qatar

Page 58: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Economics of Cloud Computing

Evolution of Software Service Models What is the Value Proposition for Cloud

Computing? How did Cloud Computing emerge from

business / industry rather than from Academia?

58© Carnegie Mellon University in Qatar

Page 59: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Cost of Information Technology

When you are using IT there are three primary costs associated with it: Software Cost (Media + License cost/user) Support Cost (Vendor Support, Updates and

Patches etc.) Management Cost (IT Infrastructure costs,

Manpower, etc.)

59© Carnegie Mellon University in Qatar

Page 60: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Traditional Model Classical Model Software provider develops software and

charges a license fee per user for the client The provider may charge a support fee /user The management of the software is the

clients responsibility Up to 4x the cost of the actual software per year! Infrastructure, Manpower, software maintenance

Traditional Software – Oracle etc.

60© Carnegie Mellon University in Qatar

Page 61: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Software Service Models

61

Traditional

$4000 /user(one-time)

$800 /user /year

Software Cost

Support Cost

Management CostUp to 4x the

cost of Software!

Deployment Location

Client Side

© Carnegie Mellon University in Qatar

Page 62: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Open Source Model “Free” Model Software provider packages Open Source

Software and provides it at little or no cost to the client

The provider makes money on support –charges a higher fee than traditional model

The cost of Managing the software remains the same as Traditional Model Up to 4x the cost of the actual software per year! Infrastructure, Manpower, software maintenance

62© Carnegie Mellon University in Qatar

Page 63: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Software Service Models

63

Traditional Open Source

$4000 /user(one-time)

$800 /user /year

$0 /user

$1600 /user /year

Software Cost

Support Cost

Management Cost Up to 4x the cost of Software!

Deployment Location

Client Side

© Carnegie Mellon University in Qatar

Page 64: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Outsourcing Model

Primary cost of Software Management is in Manpower Why not delegate the management of

software to a country with cheaper labor costs India, China etc.

Outsource the management of software for a flat fee – keep IT management costs under control

64© Carnegie Mellon University in Qatar

Page 65: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Software Service Models

65

Traditional Open Source Outsourcing

$4000 /user(one-time)

$800 /user /year

$0 /user

$1600 /user /year

$4000 /user(one-time)

$800 /user /year

< 1300 /user /month

Software Cost

Support Cost

Management Cost Up to 4x the cost of Software!

Deployment Location

Client SideClient or

Provider Side

© Carnegie Mellon University in Qatar

Page 66: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Hybrid and Hybrid+ Model Business Software Requirements do not change often. ERP/Financials/CRM etc.

Why reinvent the wheel? Standardize, Specialize and Repeat Create a flexible version of the Software that can be

quickly configured and deployed. Automate support through remote access.

Sell easy to deploy software to many clients. Decrease the Margin Increase the Customers

Hybrid+ is more advanced – charge a flat monthly fee for the software, support and management

66© Carnegie Mellon University in Qatar

Page 67: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Software Service Models

67

Traditional Open Source Outsourcing Hybrid Hybrid+

$4000 /user(one-time)

$800 /user /year

$0 /user

$1600 /user /year

$4000 /user(one-time)

$800 /user /year

$4000 /user(one-time)

$800 /user /year

$300 / user month

Bid < 1300 /user /month

$150 /user /month

Software Cost

Support Cost

Management Cost Up to 4x the cost of Software!

Deployment Location

Client Side Client or Provider Side

© Carnegie Mellon University in Qatar

Page 68: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Software as a Service Cloud Computing

Develop Web Application Offer to customers over Internet No deployment costs Amortize Management and Support costs

over many clients

68© Carnegie Mellon University in Qatar

Page 69: CS15-319: Cloud Computing - Carnegie Mellon … · CS15-319: Cloud Computing ... A data center is a facility used to house computer systems and ... Data Applications Networking Storage

Software Service Models

69

Traditional Open Source Outsourcing Hybrid Hybrid+ SaaS

$4000 /user(one-time)

$800 /user /year

$0 /user

$1600 /user /year

$4000 /user(one-time)

$800 /user /year

$4000 /user(one-time)

$800 /user /year

$300 / user month

< $100 /user /month

Bid < 1300 /user /month

$150 /user /month

Software Cost

Support Cost

Management Cost Up to 4x the cost of Software!

Deployment Location

Client Side Client or Provider Side Provider Side

© Carnegie Mellon University in Qatar