introduction to cloud computing and big data - part2

122
Cloud Computing Amir H. Payberah [email protected] Amirkabir University of Technology (Tehran Polytechnic) Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 1 / 80

Upload: amir-payberah

Post on 17-Jul-2015

116 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Introduction to cloud computing and big data - part2

Cloud Computing

Amir H. [email protected]

Amirkabir University of Technology(Tehran Polytechnic)

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 1 / 80

Page 2: Introduction to cloud computing and big data - part2

What is Cloud Computing?

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 2 / 80

Page 3: Introduction to cloud computing and big data - part2

Cloud Disclaimers

We’ve redefined Cloud Computing to include everything that wealready do. I don’t understand what we would do differently otherthan change the wording of some of our ads.

- Larry Ellison (Oracle CEO)

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 3 / 80

Page 4: Introduction to cloud computing and big data - part2

Cloud Disclaimers

It’s stupidity. It’s worse than stupidity: it’s a marketing hype cam-paign. Somebody is saying this is inevitable - and whenever you hearsomebody saying that, it’s very likely to be a set of businesses cam-paigning to make it true.

- Richard Stallman

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 4 / 80

Page 5: Introduction to cloud computing and big data - part2

Cloud Definition (1/3)

I Cloud Computing refers to both

1 the applications delivered as services over the Internet, and2 the hardware and systems software in the datacenters that provide

those services.

I The services themselves have long been referred to as Software asa Service (SaaS).

I The datacenter hardware and software is what we will call a Cloud.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 5 / 80

Page 6: Introduction to cloud computing and big data - part2

Cloud Definition (1/3)

I Cloud Computing refers to both1 the applications delivered as services over the Internet, and

2 the hardware and systems software in the datacenters that providethose services.

I The services themselves have long been referred to as Software asa Service (SaaS).

I The datacenter hardware and software is what we will call a Cloud.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 5 / 80

Page 7: Introduction to cloud computing and big data - part2

Cloud Definition (1/3)

I Cloud Computing refers to both1 the applications delivered as services over the Internet, and2 the hardware and systems software in the datacenters that provide

those services.

I The services themselves have long been referred to as Software asa Service (SaaS).

I The datacenter hardware and software is what we will call a Cloud.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 5 / 80

Page 8: Introduction to cloud computing and big data - part2

Cloud Definition (1/3)

I Cloud Computing refers to both1 the applications delivered as services over the Internet, and2 the hardware and systems software in the datacenters that provide

those services.

I The services themselves have long been referred to as Software asa Service (SaaS).

I The datacenter hardware and software is what we will call a Cloud.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 5 / 80

Page 9: Introduction to cloud computing and big data - part2

Cloud Definition (1/3)

I Cloud Computing refers to both1 the applications delivered as services over the Internet, and2 the hardware and systems software in the datacenters that provide

those services.

I The services themselves have long been referred to as Software asa Service (SaaS).

I The datacenter hardware and software is what we will call a Cloud.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 5 / 80

Page 10: Introduction to cloud computing and big data - part2

Cloud Definition (2/3)

I When a Cloud is made available in a pay-as-you-go manner to thepublic, we call it a Public Cloud.

I The service being sold is Utility Computing.• Amazon Web Services, Google App Engine, and Microsoft Azure

I Private Cloud refers to internal datacenters of a business or otherorganization that are not made available to the public.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 6 / 80

Page 11: Introduction to cloud computing and big data - part2

Cloud Definition (2/3)

I When a Cloud is made available in a pay-as-you-go manner to thepublic, we call it a Public Cloud.

I The service being sold is Utility Computing.• Amazon Web Services, Google App Engine, and Microsoft Azure

I Private Cloud refers to internal datacenters of a business or otherorganization that are not made available to the public.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 6 / 80

Page 12: Introduction to cloud computing and big data - part2

Cloud Definition (2/3)

I When a Cloud is made available in a pay-as-you-go manner to thepublic, we call it a Public Cloud.

I The service being sold is Utility Computing.• Amazon Web Services, Google App Engine, and Microsoft Azure

I Private Cloud refers to internal datacenters of a business or otherorganization that are not made available to the public.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 6 / 80

Page 13: Introduction to cloud computing and big data - part2

Cloud Definition (3/3)

Cloud Computing is the sum of SaaS and Utility Computing, butdoes not normally include Private Clouds.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 7 / 80

Page 14: Introduction to cloud computing and big data - part2

I Based on the NIST definition, the cloud model is composed of:

• Five characteristics

• Three service models

• Four deployment models

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 8 / 80

Page 15: Introduction to cloud computing and big data - part2

Cloud Characteristics

[http://cdn.katescomment.com/wordpress/wp-content/uploads/2010/02/CloudCube1.png]

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 9 / 80

Page 16: Introduction to cloud computing and big data - part2

Cloud Characteristics

I On-demand self-service

I Broad network access

I Resource pooling

I Measured service

I Rapid elasticity

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 10 / 80

Page 17: Introduction to cloud computing and big data - part2

Cloud Characteristics - On-demand Self-Service

I A consumer can unilaterally provision computing capabilities withouthuman interaction with the service provider.

I Computing capabilities• Server time, network storage, number of servers, ...

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 11 / 80

Page 18: Introduction to cloud computing and big data - part2

Cloud Characteristics - Broad Network Access

I Capabilities are• Available over the network.• Accessed through standard mechanisms.

I Promote use by• Heterogeneous thin or thick client platforms, e.g., mobile phones,

laptops, ...

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 12 / 80

Page 19: Introduction to cloud computing and big data - part2

Cloud Characteristics - Resource Pooling

I Provider’s computing resources are pooled to serve multiple con-sumers.

I Computing resources• Storage, processing, memory, network bandwidth and virtual

machines

I Location independence• No control over the exact location of the resources

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 13 / 80

Page 20: Introduction to cloud computing and big data - part2

Cloud Characteristics - Resource Pooling

I Provider’s computing resources are pooled to serve multiple con-sumers.

I Computing resources• Storage, processing, memory, network bandwidth and virtual

machines

I Location independence• No control over the exact location of the resources

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 13 / 80

Page 21: Introduction to cloud computing and big data - part2

Cloud Characteristics - Measured Service

I Control and optimize resource use automatically.

I Metering capability of service/resource abstractions.• Storage, processing, bandwidth, active user accounts, ...

I Resource usage can be monitored, controlled, and reported providingtransparency for both the provider and consumer.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 14 / 80

Page 22: Introduction to cloud computing and big data - part2

Cloud Characteristics - Measured Service

I Control and optimize resource use automatically.

I Metering capability of service/resource abstractions.• Storage, processing, bandwidth, active user accounts, ...

I Resource usage can be monitored, controlled, and reported providingtransparency for both the provider and consumer.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 14 / 80

Page 23: Introduction to cloud computing and big data - part2

Cloud Characteristics - Measured Service

I Control and optimize resource use automatically.

I Metering capability of service/resource abstractions.• Storage, processing, bandwidth, active user accounts, ...

I Resource usage can be monitored, controlled, and reported providingtransparency for both the provider and consumer.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 14 / 80

Page 24: Introduction to cloud computing and big data - part2

Cloud Characteristics - Rapid Elasticity

I Capabilities can be rapidly and elastically provisioned, in some casesautomatically.

I To quickly scale out and rapidly released to quickly scale in.

I To the consumer, the capabilities available for provisioning oftenappear to be unlimited.

I Capabilities can be purchased in any quantity at any time.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 15 / 80

Page 25: Introduction to cloud computing and big data - part2

Cloud Characteristics - Rapid Elasticity

I Capabilities can be rapidly and elastically provisioned, in some casesautomatically.

I To quickly scale out and rapidly released to quickly scale in.

I To the consumer, the capabilities available for provisioning oftenappear to be unlimited.

I Capabilities can be purchased in any quantity at any time.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 15 / 80

Page 26: Introduction to cloud computing and big data - part2

Cloud Characteristics - Rapid Elasticity

I Capabilities can be rapidly and elastically provisioned, in some casesautomatically.

I To quickly scale out and rapidly released to quickly scale in.

I To the consumer, the capabilities available for provisioning oftenappear to be unlimited.

I Capabilities can be purchased in any quantity at any time.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 15 / 80

Page 27: Introduction to cloud computing and big data - part2

Cloud Characteristics - Rapid Elasticity

I Capabilities can be rapidly and elastically provisioned, in some casesautomatically.

I To quickly scale out and rapidly released to quickly scale in.

I To the consumer, the capabilities available for provisioning oftenappear to be unlimited.

I Capabilities can be purchased in any quantity at any time.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 15 / 80

Page 28: Introduction to cloud computing and big data - part2

More About Elasticity

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 16 / 80

Page 29: Introduction to cloud computing and big data - part2

Elasticity

I Cloud Computing’s ability to add or remove resources at a fine grainand with a lead time of minutes rather than weeks allows matchingresources to workload much more closely.

[Armbrust et al., Above the Clouds: A Berkeley View of Cloud Computing, Tech. Doc, 2009]

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 17 / 80

Page 30: Introduction to cloud computing and big data - part2

Over Provisioning

[Armbrust et al., Above the Clouds: A Berkeley View of Cloud Computing, Tech. Doc, 2009]

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 18 / 80

Page 31: Introduction to cloud computing and big data - part2

Under Provisioning

[Armbrust et al., Above the Clouds: A Berkeley View of Cloud Computing, Tech. Doc, 2009]

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 19 / 80

Page 32: Introduction to cloud computing and big data - part2

Dynamic Provisioning

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 20 / 80

Page 33: Introduction to cloud computing and big data - part2

Cloud Service Models

[http://cdn.katescomment.com/wordpress/wp-content/uploads/2010/02/CloudCube1.png]

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 21 / 80

Page 34: Introduction to cloud computing and big data - part2

Service Models

I Software as a Service (SaaS)

I Platform as a Service (PaaS)

I Infrastructure as a Service (IaaS)

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 22 / 80

Page 35: Introduction to cloud computing and big data - part2

I Assume, you just moved to a city andyou are looking for a place to live.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 23 / 80

Page 36: Introduction to cloud computing and big data - part2

I What is your choice?

• Built a new house?• Buy an empty house?• Live in a hotel?

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 24 / 80

Page 37: Introduction to cloud computing and big data - part2

I What is your choice?• Built a new house?

• Buy an empty house?• Live in a hotel?

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 24 / 80

Page 38: Introduction to cloud computing and big data - part2

I What is your choice?• Built a new house?• Buy an empty house?

• Live in a hotel?

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 24 / 80

Page 39: Introduction to cloud computing and big data - part2

I What is your choice?• Built a new house?• Buy an empty house?• Live in a hotel?

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 24 / 80

Page 40: Introduction to cloud computing and big data - part2

I Let’s built a new house!

I You can fully controleverything your like yournew house to have.

I But that is a hard work.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 25 / 80

Page 41: Introduction to cloud computing and big data - part2

I Let’s built a new house!

I You can fully controleverything your like yournew house to have.

I But that is a hard work.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 25 / 80

Page 42: Introduction to cloud computing and big data - part2

I What if you buy an emptyhouse?

I You can customize some partof your house.

I But never change the originalarchitecture.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 26 / 80

Page 43: Introduction to cloud computing and big data - part2

I What if you buy an emptyhouse?

I You can customize some partof your house.

I But never change the originalarchitecture.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 26 / 80

Page 44: Introduction to cloud computing and big data - part2

I How about live in a hotel?

I Live in a hotel will be agood idea if the only thingyou care is enjoy your life.

I There is nothing you cando with the house exceptliving in it.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 27 / 80

Page 45: Introduction to cloud computing and big data - part2

I How about live in a hotel?

I Live in a hotel will be agood idea if the only thingyou care is enjoy your life.

I There is nothing you cando with the house exceptliving in it.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 27 / 80

Page 46: Introduction to cloud computing and big data - part2

Let’s translate it toCloud Computing

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 28 / 80

Page 47: Introduction to cloud computing and big data - part2

Service Models

I Infrastructure as a Service (IaaS): similar to build a new house.

I Platform as a Service (PaaS): similar to buy an empty house.

I Software as a Service (SaaS): similar to live in a hotel.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 29 / 80

Page 48: Introduction to cloud computing and big data - part2

IaaS - (1/3)

I Vendor provides computing resources.• Processing, storage, network, ...

I Consumer is provided customized virtual machines.

I Consumer has control over:• OS, memory• Storage• Servers and deployment configurations

I Example: Amazon Web Services (AWS), Rackspace, ...

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 30 / 80

Page 49: Introduction to cloud computing and big data - part2

IaaS - (1/3)

I Vendor provides computing resources.• Processing, storage, network, ...

I Consumer is provided customized virtual machines.

I Consumer has control over:• OS, memory• Storage• Servers and deployment configurations

I Example: Amazon Web Services (AWS), Rackspace, ...

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 30 / 80

Page 50: Introduction to cloud computing and big data - part2

IaaS - (1/3)

I Vendor provides computing resources.• Processing, storage, network, ...

I Consumer is provided customized virtual machines.

I Consumer has control over:• OS, memory• Storage• Servers and deployment configurations

I Example: Amazon Web Services (AWS), Rackspace, ...

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 30 / 80

Page 51: Introduction to cloud computing and big data - part2

IaaS - (1/3)

I Vendor provides computing resources.• Processing, storage, network, ...

I Consumer is provided customized virtual machines.

I Consumer has control over:• OS, memory• Storage• Servers and deployment configurations

I Example: Amazon Web Services (AWS), Rackspace, ...

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 30 / 80

Page 52: Introduction to cloud computing and big data - part2

IaaS - (2/3)

I System architecture

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 31 / 80

Page 53: Introduction to cloud computing and big data - part2

IaaS - (3/3)

I Advantages:• Infrastructure scalability• Native integrated management: performance, resource

consumption/utilization, load• Economical cost: hardware, IT support

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 32 / 80

Page 54: Introduction to cloud computing and big data - part2

PaaS - (1/3)

I Vendor provides development environment.• Tools and technology selected by vendor.• Control over data life-cycle.

I Example: Google app engine, Microsoft Azure

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 33 / 80

Page 55: Introduction to cloud computing and big data - part2

PaaS - (1/3)

I Vendor provides development environment.• Tools and technology selected by vendor.• Control over data life-cycle.

I Example: Google app engine, Microsoft Azure

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 33 / 80

Page 56: Introduction to cloud computing and big data - part2

PaaS - (2/3)

I System architecture

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 34 / 80

Page 57: Introduction to cloud computing and big data - part2

PaaS - (3/3)

I Advantages:• Rapid development and deployment• Small startup cost

I Disadvantages:• Choice of development technology is limited to vendor

provided/supported tools and services

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 35 / 80

Page 58: Introduction to cloud computing and big data - part2

SaaS - (1/4)

I Vendor provides applications accessed over the network.

I Example: Google Docs, Salesforce.com

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 36 / 80

Page 59: Introduction to cloud computing and big data - part2

SaaS - (1/4)

I Vendor provides applications accessed over the network.

I Example: Google Docs, Salesforce.com

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 36 / 80

Page 60: Introduction to cloud computing and big data - part2

SaaS - (2/4)

I System architecture

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 37 / 80

Page 61: Introduction to cloud computing and big data - part2

SaaS - (3/4)

I Web Service

I Web 2.0 is the trend of using the full potential of the web.

I Viewing the Internet as a computing platform.

I Running interactive applications through a web browser.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 38 / 80

Page 62: Introduction to cloud computing and big data - part2

SaaS - (4/4)

I Advantages:• Easy to use• Scalability startup• Lower cost• Upgrades

I Disadvantages:• Dependency on network, cloud service provider• Performance: limited client bandwidth• User privacy

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 39 / 80

Page 63: Introduction to cloud computing and big data - part2

IaaS - PaaS - SaaS

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 40 / 80

Page 64: Introduction to cloud computing and big data - part2

IaaS - PaaS - SaaS

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 41 / 80

Page 65: Introduction to cloud computing and big data - part2

Cloud Deployment Models

[http://cdn.katescomment.com/wordpress/wp-content/uploads/2010/02/CloudCube1.png]

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 42 / 80

Page 66: Introduction to cloud computing and big data - part2

Deployment Models

I Public cloud

I Private cloud

I Community cloud

I Hybrid cloud

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 43 / 80

Page 67: Introduction to cloud computing and big data - part2

Public Cloud

I Infrastructure is made available to the general public.

I Owned by an organization selling cloud services.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 44 / 80

Page 68: Introduction to cloud computing and big data - part2

Private Cloud

I Infrastructure is operated solely for an organization.

I Managed by the organization or by a third party.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 45 / 80

Page 69: Introduction to cloud computing and big data - part2

Community Cloud

I Supports a specific community.

I Infrastructure is shared by several organizations.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 46 / 80

Page 70: Introduction to cloud computing and big data - part2

Hybrid Cloud

I Infrastructure is a composition of two or more clouds deploymentmodels.

I Enables data and application portability.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 47 / 80

Page 71: Introduction to cloud computing and big data - part2

Cloud Providers

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 48 / 80

Page 72: Introduction to cloud computing and big data - part2

Main Players

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 49 / 80

Page 73: Introduction to cloud computing and big data - part2

Cloud Platform Services

I Computing

• Platform as a Service (PaaS)• Infrastructure as a Service (IaaS)

I Storage

• Relational storage: with support SQL• NoSQL databases: massively scalable, but not support SQL• Blobs: storage for Binary Large OBjects in the cloud, e.g., videos,

backups, ...

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 50 / 80

Page 74: Introduction to cloud computing and big data - part2

Cloud Platform Services

I Computing• Platform as a Service (PaaS)• Infrastructure as a Service (IaaS)

I Storage• Relational storage: with support SQL• NoSQL databases: massively scalable, but not support SQL• Blobs: storage for Binary Large OBjects in the cloud, e.g., videos,

backups, ...

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 50 / 80

Page 75: Introduction to cloud computing and big data - part2

Amazon Web Services (AWS)

Computing Storage

Provider IaaS PaaS Relational NoSQL Blobs

AWS

Elastic

Compute

Cloud (EC2)

Elastic

Beanstalk

Relational

Database

Service (RDS)

SimpleDB

DynamoDB

Simple

Storage

Service (S3)

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 51 / 80

Page 76: Introduction to cloud computing and big data - part2

Google

Computing Storage

Provider IaaS PaaS Relational NoSQL Blobs

AWS

Elastic

Compute

Cloud (EC2)

Elastic

Beanstalk

Relational

Database

Service (RDS)

SimpleDB

DynamoDB

Simple

Storage

Service (S3)

Google App Engine Datastore Blobstore

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 52 / 80

Page 77: Introduction to cloud computing and big data - part2

Microsoft

Computing Storage

Provider IaaS PaaS Relational NoSQL Blobs

AWS

Elastic

Compute

Cloud (EC2)

Elastic

Beanstalk

Relational

Database

Service (RDS)

SimpleDB

DynamoDB

Simple

Storage

Service (S3)

Google App Engine Datastore Blobstore

MicrosoftWindows

Azure

Windows

Azure Tables

SQL

Azure

Windows

Azure Blobs

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 53 / 80

Page 78: Introduction to cloud computing and big data - part2

Cloud Platforms

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 54 / 80

Page 79: Introduction to cloud computing and big data - part2

Cloud Platforms

I Tools to deploy a cloud infrastructure plan.

I These tools provide different services, i.e., IaaS, PaaS, and SaaS.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 55 / 80

Page 80: Introduction to cloud computing and big data - part2

OpenStack

I Open source cloud computing platform.

I It controls large pools of compute, storage, and networking resourcesthroughout a datacenter.

I All managed through a dashboard through a web interface.

I Launched by NASA and Rackspace in 2010.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 56 / 80

Page 81: Introduction to cloud computing and big data - part2

OpenStack

I Open source cloud computing platform.

I It controls large pools of compute, storage, and networking resourcesthroughout a datacenter.

I All managed through a dashboard through a web interface.

I Launched by NASA and Rackspace in 2010.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 56 / 80

Page 82: Introduction to cloud computing and big data - part2

OpenStack

I Open source cloud computing platform.

I It controls large pools of compute, storage, and networking resourcesthroughout a datacenter.

I All managed through a dashboard through a web interface.

I Launched by NASA and Rackspace in 2010.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 56 / 80

Page 83: Introduction to cloud computing and big data - part2

OpenStack

I Open source cloud computing platform.

I It controls large pools of compute, storage, and networking resourcesthroughout a datacenter.

I All managed through a dashboard through a web interface.

I Launched by NASA and Rackspace in 2010.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 56 / 80

Page 84: Introduction to cloud computing and big data - part2

OpenStack Architecture

[http://www.openstack.org/software/]

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 57 / 80

Page 85: Introduction to cloud computing and big data - part2

OpenStack Compute - Nova

I OpenStack Compute: cloud computing controller, called Nova.

I Provision and manage large networks of virtual machines.

I Compute resources are accessible via APIs for developers, web in-terfaces for administrators and users.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 58 / 80

Page 86: Introduction to cloud computing and big data - part2

OpenStack Compute - Nova

I OpenStack Compute: cloud computing controller, called Nova.

I Provision and manage large networks of virtual machines.

I Compute resources are accessible via APIs for developers, web in-terfaces for administrators and users.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 58 / 80

Page 87: Introduction to cloud computing and big data - part2

OpenStack Compute - Nova

I OpenStack Compute: cloud computing controller, called Nova.

I Provision and manage large networks of virtual machines.

I Compute resources are accessible via APIs for developers, web in-terfaces for administrators and users.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 58 / 80

Page 88: Introduction to cloud computing and big data - part2

OpenStack Storage - Swift/Cinder

I OpenStack Storage: object and block storage for use with serversand applications, called Swift and Cinder.

I Swift: distributed storage system for static data, e.g., VM images,photo storage, email storage.

• Redundancy, backup, archive and failover management

I Cinder: block storage, e.g., databases, and file systems

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 59 / 80

Page 89: Introduction to cloud computing and big data - part2

OpenStack Storage - Swift/Cinder

I OpenStack Storage: object and block storage for use with serversand applications, called Swift and Cinder.

I Swift: distributed storage system for static data, e.g., VM images,photo storage, email storage.

• Redundancy, backup, archive and failover management

I Cinder: block storage, e.g., databases, and file systems

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 59 / 80

Page 90: Introduction to cloud computing and big data - part2

OpenStack Storage - Swift/Cinder

I OpenStack Storage: object and block storage for use with serversand applications, called Swift and Cinder.

I Swift: distributed storage system for static data, e.g., VM images,photo storage, email storage.

• Redundancy, backup, archive and failover management

I Cinder: block storage, e.g., databases, and file systems

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 59 / 80

Page 91: Introduction to cloud computing and big data - part2

OpenStack Networking - Neutron

I OpenStack Networking: network and IP management, called Neu-tron.

• Provides flexible networking models.• Manages IP addresses, allowing for dedicated static IPs or DHCP.• Software Define Network (SDN)• Different network services, e.g., intrusion detection systems, load

balancing, firewalls and virtual private networks.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 60 / 80

Page 92: Introduction to cloud computing and big data - part2

OpenStack Administration - Horizon (1/3)

I OpenStack Administration: administration interface (dashboard),called Horizon.

• Automate complex deployments

• Control provisioning

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 61 / 80

Page 93: Introduction to cloud computing and big data - part2

OpenStack Administration - Horizon (2/3)

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 62 / 80

Page 94: Introduction to cloud computing and big data - part2

OpenStack Administration - Horizon (3/3)

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 63 / 80

Page 95: Introduction to cloud computing and big data - part2

Virtualization

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 64 / 80

Page 96: Introduction to cloud computing and big data - part2

Virtualization

I Technique for hiding the physical characterizes of computing re-sources from the way other systems, applications or end users inter-act with them.

I Offer a different interface.

I Virtualized interface is not necessarily simpler.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 65 / 80

Page 97: Introduction to cloud computing and big data - part2

Virtualization

I Technique for hiding the physical characterizes of computing re-sources from the way other systems, applications or end users inter-act with them.

I Offer a different interface.

I Virtualized interface is not necessarily simpler.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 65 / 80

Page 98: Introduction to cloud computing and big data - part2

Virtualization

I Technique for hiding the physical characterizes of computing re-sources from the way other systems, applications or end users inter-act with them.

I Offer a different interface.

I Virtualized interface is not necessarily simpler.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 65 / 80

Page 99: Introduction to cloud computing and big data - part2

Different Types of Virtualization

I Process-level virtualization

I OS-level virtualization

I System-level virtualization

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 66 / 80

Page 100: Introduction to cloud computing and big data - part2

Process-Level Virtualization (1/2)

I Usually implemented on top of an OS.

I Application has to be written specifically for the VM.

I The virtual machine runs one application (one process).

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 67 / 80

Page 101: Introduction to cloud computing and big data - part2

Process-Level Virtualization (1/2)

I Usually implemented on top of an OS.

I Application has to be written specifically for the VM.

I The virtual machine runs one application (one process).

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 67 / 80

Page 102: Introduction to cloud computing and big data - part2

Process-Level Virtualization (1/2)

I Usually implemented on top of an OS.

I Application has to be written specifically for the VM.

I The virtual machine runs one application (one process).

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 67 / 80

Page 103: Introduction to cloud computing and big data - part2

Process-Level Virtualization (2/2)

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 68 / 80

Page 104: Introduction to cloud computing and big data - part2

OS-Level Virtualization (1/2)

I The virtual machine runs a set of userland processes.

I Userland domains are separated.

I Kernel is the same for all userland domains.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 69 / 80

Page 105: Introduction to cloud computing and big data - part2

OS-Level Virtualization (1/2)

I The virtual machine runs a set of userland processes.

I Userland domains are separated.

I Kernel is the same for all userland domains.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 69 / 80

Page 106: Introduction to cloud computing and big data - part2

OS-Level Virtualization (1/2)

I The virtual machine runs a set of userland processes.

I Userland domains are separated.

I Kernel is the same for all userland domains.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 69 / 80

Page 107: Introduction to cloud computing and big data - part2

OS-Level Virtualization (2/2)

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 70 / 80

Page 108: Introduction to cloud computing and big data - part2

System-Level Virtualization (1/3)

I Emulates a computer similar to a real physical one.• With CPU(s), memory, disk(s), network interface(s), etc.

I The virtual machine runs a full OS.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 71 / 80

Page 109: Introduction to cloud computing and big data - part2

System-Level Virtualization (1/3)

I Emulates a computer similar to a real physical one.• With CPU(s), memory, disk(s), network interface(s), etc.

I The virtual machine runs a full OS.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 71 / 80

Page 110: Introduction to cloud computing and big data - part2

System-Level Virtualization (2/3)

I Full virtualization vs. Paravirtualization.

I Full virtualization: the guest OS is not aware it is being virtualizedand requires no modification.

I Paravirtualization: the guest OS should be modified in order to beoperated in the virtual environment.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 72 / 80

Page 111: Introduction to cloud computing and big data - part2

System-Level Virtualization (2/3)

I Full virtualization vs. Paravirtualization.

I Full virtualization: the guest OS is not aware it is being virtualizedand requires no modification.

I Paravirtualization: the guest OS should be modified in order to beoperated in the virtual environment.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 72 / 80

Page 112: Introduction to cloud computing and big data - part2

System-Level Virtualization (2/3)

I Full virtualization vs. Paravirtualization.

I Full virtualization: the guest OS is not aware it is being virtualizedand requires no modification.

I Paravirtualization: the guest OS should be modified in order to beoperated in the virtual environment.

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 72 / 80

Page 113: Introduction to cloud computing and big data - part2

System-Level Virtualization (3/3)

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 73 / 80

Page 114: Introduction to cloud computing and big data - part2

Hypervisor

I In the system-level virtualization, virtual machines are managed byanother software layer.

I It is called hypervisor or Virtual Machine Manager (VMM).

I Two types of hypervisors:• Type 1: runs directly on hardware (Native/Bare-Metal)• Type 2: hosted on top of another operating system (Hosted)

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 74 / 80

Page 115: Introduction to cloud computing and big data - part2

Hypervisor

I In the system-level virtualization, virtual machines are managed byanother software layer.

I It is called hypervisor or Virtual Machine Manager (VMM).

I Two types of hypervisors:• Type 1: runs directly on hardware (Native/Bare-Metal)• Type 2: hosted on top of another operating system (Hosted)

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 74 / 80

Page 116: Introduction to cloud computing and big data - part2

Hypervisor

I In the system-level virtualization, virtual machines are managed byanother software layer.

I It is called hypervisor or Virtual Machine Manager (VMM).

I Two types of hypervisors:• Type 1: runs directly on hardware (Native/Bare-Metal)• Type 2: hosted on top of another operating system (Hosted)

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 74 / 80

Page 117: Introduction to cloud computing and big data - part2

Bare Metal Hypervisor

I Xen, ...

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 75 / 80

Page 118: Introduction to cloud computing and big data - part2

Hosted Hypervisor

I VMWare, KVM, Virtualbox, ...

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 76 / 80

Page 119: Introduction to cloud computing and big data - part2

Summary

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 77 / 80

Page 120: Introduction to cloud computing and big data - part2

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 78 / 80

Page 121: Introduction to cloud computing and big data - part2

References:

I Michael Armbrust, Above the Clouds: A Berkeley View of CloudComputing, Technical Document, 2009

I Peter Mell et al., The NIST Definition of Cloud Computing, NationalInstitute of Standards and Technology, 2011

I VMWare, Understanding Full Virtualization, Paravirtualization, andHardware Assist, 2007

I Daniel Firestone, A Comparison of Public Clouds: Amazon WebServices, Windows Azure and Google App Engine, 2011

I http://docs.openstack.org

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 79 / 80

Page 122: Introduction to cloud computing and big data - part2

Questions?

Amir H. Payberah (Tehran Polytechnic) Cloud Computing 1393/6/24 80 / 80