2110414 - Large Scale Computing Systems 1

CLOUD COMPUTING OVERVIEW 2110414 Large Scale Computing Systems Natawut Nupairoj, Ph.D. Outline

2

 Overview

 Cloud Approaches

 Real-World Case Study

2110414 - Large Scale Computing Systems 3 Overview

2110414 - Large Scale Computing Systems What is Cloud Computing?

4

 Various definitions  Wikipedia  Web-based processing, whereby shared resources, , and information are provided to computers and other devices (such as smartphones) on demand over the Internet  Gartner  a style of computing in which massively scalable IT-related capabilities are provided 'as a service' using Internet technologies to multiple external customers

2110414 - Large Scale Computing Systems Common Understanding about Cloud Computing 5

 Web-enabled services (software/platform/infrastructure)

 Remote datacenter

 Shared resources via virtualization

 Outsource maintenance tasks to the hosting organizations

2110414 - Large Scale Computing Systems (Good Luck) Defining Cloud Computing

 Software-as-a-Service

 “My customer resource management (CRM) system is out on the Internet!”

 Grids vs. Clouds

 Shared Virtual Resources

 Batch Jobs vs. Online Applications

 Different Approaches to State Management

 Network Diagrams

 A service is “on a cloud somewhere”

 Virtualization Platforms & APIs

 Hardware can be manipulated with software

Source: F. Javadi, “Clearing the Air - Cloud Computing : Adobe Air, Google Gears and Mesh” Grid vs. Cloud

Grid Cloud Underlying concept Utility Computing Utility Computing Main benefit Solve computationally Provide a scalable complex problems standard environment for network-centric application development, testing and deployment Resource distribution / Negotiate and manage Simple user <-> provider allocation resource sharing; model; pay-per-use schedulers Domains Multiple domains Single domain Character / history Non-commercial, publicly Commercial funded

7 Source: F. Javadi, “Clearing the Air - Cloud Computing : Adobe Air, Google Gears and Microsoft Mesh” Evolution of Cloud Architecture

8

 Stand-Alone

 Client-Server

 Web-Based Application

 ASP

 Cloud Computing

2110414 - Large Scale Computing Systems A Brief History

Source: F. Javadi, “Clearing the Air - Cloud Computing : Adobe Air, Google Gears and Microsoft Mesh” Amazon S3 (March 2006) Amazon EC2 Salesforce (August 2006) AppExchange (March 2006)

Google App Engine (April 2008)

Facebook Platform (May 2007) (Oct 2008)

Source: F. Javadi, “Clearing the Air - Cloud Computing : Adobe Air, Google Gears and Microsoft Mesh” Example: Amazon EC2

11

 Elastic Cloud Computing

 virtual servers for rent

 called Amazon Machine Images (AMIs)

 based on Xen

 priced on per hour from $0.10 to $1

Source: K. Gan and L. McMurray, “Beginner’s Guide to Cloud Computing and the Good & Bad for Developers” Amazon EC2 Management Console

12

Source: iphp, “Get your own cloud server running in 15 minutes”, http://www.webdigi.co.uk/blog/2009/get_your_own_cloud_server_running_in_15_minutes/ Amazon EC2 Launch Wizard

13

Source: iphp, “Get your own cloud server running in 15 minutes”, http://www.webdigi.co.uk/blog/2009/get_your_own_cloud_server_running_in_15_minutes/ Example: Google Apps

14

 Web based office applications and collaboration

 Provide API for further customization and information accessing

 Application API

 Authentication API

 Etc.

 Google Gears for offline operations

2110414 - Large Scale Computing Systems 15 2110414 - Large Scale Computing Systems 16 2110414 - Large Scale Computing Systems Example: Salesforce.com

17

 Provide web-based CRM applications

 Customers just sign-up and do not have to maintain any infrastructure

 Currently have more than 80,000 customers (over 2,100,000 subscribers)

 Pricing from $5/user/month to $250/user/month

2110414 - Large Scale Computing Systems Salesforce.com CRM Functions

Human Customer Sales & IT Compliance Capital Finance Development Service Marketing Infrastructure and Risk Management

Workday HCMD Coupa Salesforce SFA Development IT Compliance/Ri Procure to Customer Domain Infrastructure sk Domain Salary.com Marketing Pay Service Support Salary Manager Program and Audit Controls Click to dial (CTI Concur T&E Salesforce Resource Portfolio Management Performance Integrations) Manager Content Management Management Management Event Manhattan Salesforce Agile Scrum Compliance Time-off Management Space & Ideas and Bug Manager IT Help Desk Lease Opportunity to Management Plateau Volunteer Management Quote LiveOps Learning QA Test tracking Contract Management Quote to cash Director Asset ADP Payroll Management Management Professional Sales iemployee Time Services Compensation Intranet Tracking Management Checkout E- Google Apps commerce Live Chat (Google) Benefits of Cloud Computing

19

 No Capital Expenditure (CapEx)

 Pay as you go

 Pay only for what you need

 Elastic Capacity

 Faster time to market

 Focus on your business

Source: S. Brunozzi, “2010 architecting for the cloud”, http://www.slideshare.net/simone.brunozzi/2010-architecting-for-the-cloud-4719195, 2010 Benefits of Cloud Computing

20

Source: S. Brunozzi, “2010 architecting for the cloud”, http://www.slideshare.net/simone.brunozzi/2010-architecting-for-the-cloud-4719195, 2010

2110414 - Large Scale Computing Systems Benefits of Cloud Computing

21

Source: S. Brunozzi, “2010 architecting for the cloud”, http://www.slideshare.net/simone.brunozzi/2010-architecting-for-the-cloud-4719195, 2010

2110414 - Large Scale Computing Systems Benefits of Cloud Computing

22

Source: S. Brunozzi, “2010 architecting for the cloud”, http://www.slideshare.net/simone.brunozzi/2010-architecting-for-the-cloud-4719195, 2010

2110414 - Large Scale Computing Systems 23 Cloud Approaches

2110414 - Large Scale Computing Systems Platform as a Service Cloud-based User Utility Computing (PaaS) Applications

Source: F. Javadi, “Clearing the Air - Cloud Computing : Adobe Air, Google Gears and Microsoft Mesh” Cloud Ecosystem

 End-user applications, Software-as-a-Service (SaaS)

 Platform-as-a-Service (PaaS)

 Infrastructure-as-a-Service (IaaS)

AppExchange Apps NASDAQ Market Replay End-User Applications End-User Applications Facebook Apps OpenSocial Apps Jungle Disk MLB

enomaly RightScale zimory Platform as a Service (PaaS) Brokers, Tools and Frameworks Salesforce AppExchange cohesiveFT Aptana cloud Mosso

Live Mesh Joyent Google App Engine Amazon Web Services Infrastructure as a Service (IaaS) Facebook Platform Rackspace flexiscale 3tera

Source: F. Javadi, “Clearing the Air - Cloud Computing : Adobe Air, Google Gears and Microsoft Mesh” 26 Source: katescomment.com Infrastructure as a Service (IaaS)

27

 Provide computer infrastructure as a service

 Virtual Servers / Storages

 Network equipments: Load balancers, Firewalls, etc.

 “Utility computing”, pay per use

 Simple to scale and manage

 Example:

 Amazon EC2, S3

 Rackspace Mosso

 GoGrid

Source: http://microreviews.org/types-of-cloud-computing/

2110414 - Large Scale Computing Systems Platform as a Service (PaaS)

28

 Provide infrastructure, system software stacks, and development tools

 Web servers, database servers, etc.

 Many vendors provide services with API

 Google Calendar, etc.

 Examples

 Google AppEngine

 Yahoo! Maps Source: http://www.zoho.com/creator/paas.html

2110414 - Large Scale Computing Systems Software as a Service (SaaS)

29

 Complete web-based software

 “Pay-as-you-go” model

 Allow customization via parameter configuring

 Examples

 Salesforce.com

 Google Docs

 Gmail, hotmail

2110414 - Large Scale Computing Systems 30

2110414 - Large Scale Computing Systems Cloud Ecosystem

Public Virtual Private Cloud Cloud

External

Internal

Private Cloud Private Cloud

Enterprise

Source: F. Javadi, “Clearing the Air - Cloud Computing : Adobe Air, Google Gears and Microsoft Mesh” 31 Source: F. Javadi, “Clearing the Air - Cloud Computing : Adobe Air, Google Gears and Microsoft Mesh” From On-Premise to Cloud Platforms

Source: F. Javadi, “Clearing the Air - Cloud Computing : Adobe Air, Google Gears and Microsoft Mesh” From On-Premise to Cloud Platforms

Source: F. Javadi, “Clearing the Air - Cloud Computing : Adobe Air, Google Gears and Microsoft Mesh” From On-Premise to Cloud Platforms

Application runs Application runs Application on-premises at a hoster runs using cloud services Buy my own hardware, and Co-location “cloud fabric” manage my own or data center Managed (elastic, servers infini-scale)

Source: F. Javadi, “Clearing the Air - Cloud Computing : Adobe Air, Google Gears and Microsoft Mesh” “Packaged” Hosted “Software as a

Buy Application “Packaged” Service”

An application that I buy An application that I buy A hosted pplication “off the shelf” and run “off the shelf” and then that I buy from a

myself run at a hoster vendor Bild vs. Buy vs. Bild Self Hosted Hosted Cloud Platform “Home Built” “Home Built” An application that I An application that I An application that I develop myself, but develop and run myself develop myself, but run Build run in the cloud at a hoster

On premises On premises vs. Cloud Cloud

Source: F. Javadi, “Clearing the Air - Cloud Computing : Adobe Air, Google Gears and Microsoft Mesh” All acceptable options (trade off) “Packaged” Hosted “Software as a

Buy Application “Packaged” Service”

An application that I buy An application that I buy A hosted pplication “off the shelf” and run “off the shelf” and then that I buy from a myself run at a hoster vendor

Maximum Control Bild vs. Buy vs. Bild Self Hosted Hosted Cloud Platform “Home Built” “Home Built” An application that I An application that I An application that I develop myself, but develop and run myself develop myself, but run Maximum Build run in the cloud at a hoster Economy of Scale

On premises On premises vs. Cloud Cloud

Source: F. Javadi, “Clearing the Air - Cloud Computing : Adobe Air, Google Gears and Microsoft Mesh” “Packaged” Hosted “Software as a

Buy ApplicationERP “Packaged” Service”

Issue Tracking “Too costly to run this myself, An application that I buy An application that I buy A hosted pplication “off the shelf” and run but I’ve“off the made shelf” and too then many that I buy from a Email

myself customizations”run at a hoster vendor Bild vs. Buy vs. Bild Self Hosted Hosted Cloud Platform “HomeHR System Built” “Home Built” An application that I Molecule Research An application that I An application that I develop myself, but develop and run myself develop myself, but run Build run in the cloud Clinical Trial at a hoster

On premises On premises vs. Cloud Cloud

Source: F. Javadi, “Clearing the Air - Cloud Computing : Adobe Air, Google Gears and Microsoft Mesh” “Packaged” Hosted “Software as a

Buy Application “Packaged”ERP Service”

Issue Tracking An application that I buy An application that I buy A hosted pplication “off the shelf” and run “off the shelf” and then that I buy from a Email myself run at a hoster vendor “CRM and Email are commodity services – They have no customizations, and it’s cheaper for Bild vs. Buy vs. Bild someone else to run these” Self Hosted Hosted Cloud Platform “HomeHR System Built” “Home Built” An application that I Molecule Research An application that I An application that I develop myself, but develop and run myself develop myself, but run Build run in the cloud Clinical Trial at a hoster

On premises On premises vs. Cloud Cloud

Source: F. Javadi, “Clearing the Air - Cloud Computing : Adobe Air, Google Gears and Microsoft Mesh” “Packaged” Hosted “Software as a

Buy Application “Packaged”ERP Service”

An application that I buy An application that I buy A hostedIssue Trackingpplication “off the shelf” and run “off the shelf” and then that I buy from a myself run at a hoster vendorEmail “I can’t afford to maintain this

Bild vs. Buy vs. Bild old HR application written in Self Hosted VB – it’sHosted driving me mad!” Cloud Platform “HomeHR System Built” “Home Built” An application that I Molecule Research An application that I An application that I develop myself, but develop and run myself develop myself, but run Build run in the cloud Clinical Trial at a hoster “…but due to privacy issues, I prefer keeping my HR data On premises on-premises”On premises vs. Cloud Cloud

Source: F. Javadi, “Clearing the Air - Cloud Computing : Adobe Air, Google Gears and Microsoft Mesh” “Packaged” Hosted “Software as a

Buy Application “Packaged”ERP Service”

An application that I buy An application that I buy A hostedIssue Trackingpplication “off the shelf” and run “off the shelf” and then HR System that I buy from a

myself run at a hoster vendorEmail Bild vs. Buy vs. Bild Self Hosted Hosted Cloud Platform “Home Built” “Home Built” An application that I Molecule Research “I wish I had access to An application that I An application that I develop myself, but develop and run myself cheaperdevelop myself,compute but run and storage Build run in the cloud Clinical Trial when I atneed a hoster it”

On premises On premises vs. Cloud Cloud

Source: F. Javadi, “Clearing the Air - Cloud Computing : Adobe Air, Google Gears and Microsoft Mesh” “Packaged” Hosted “Software as a

Buy Application “Packaged”ERP Service”

An application that I buy An application that I buy A hostedIssue Trackingpplication “off the shelf” and run “off the shelf” and then HR System that I buy from a

myself run at a hoster vendorEmail Bild vs. Buy vs. Bild Self Hosted Hosted Cloud Platform “Home Built” “Home Built” An application that I Molecule Research An application that I An application that I develop myself, but develop and run myself develop myself, but run Build run in the cloud Clinical Trial at a hoster

On premises On premises vs. Cloud Cloud

Source: F. Javadi, “Clearing the Air - Cloud Computing : Adobe Air, Google Gears and Microsoft Mesh” “Packaged” Hosted “Software as a

Buy Application “Packaged”ERP Service”

An application that I buy An application that I buy A hostedIssue Trackingpplication “off the shelf” and run “off the shelf” and then HR System that I buy from a

myself run at a hoster vendorEmail Bild vs. Buy vs. Bild Self Hosted Hosted Cloud Platform “Home Built” “Home Built” “THIS is where I want to An application that I Molecule Research An application that I spend myAn application IT resources that I – I’m develop myself, but develop and run myself develop myself, but run Build run in the cloud Clinical Trial going to doubleat a hoster down on this application!”

On premises On premises vs. Cloud Cloud

Source: F. Javadi, “Clearing the Air - Cloud Computing : Adobe Air, Google Gears and Microsoft Mesh” “Packaged” Hosted “Software as a

Buy Application “Packaged”ERP Service”

An application that I buy An application that I buy A hostedIssue Trackingpplication “off the shelf” and run “off the shelf” and then HR System that I buy from a

myself run at a hoster vendorEmail Bild vs. Buy vs. Bild Self Hosted Hosted Cloud Platform “Home Built” “Home Built” An application that I Molecule Research An application that I An application that I develop myself, but develop and run myself develop myself, but run Build run in the cloud Clinical Trial at a hoster

On premises On premises vs. Cloud Cloud

Source: F. Javadi, “Clearing the Air - Cloud Computing : Adobe Air, Google Gears and Microsoft Mesh” 45 Real-World Case Study: Animoto

2110414 - Large Scale Computing Systems 46 2110414 - Large Scale Computing Systems Case Study: Animoto

47

 Automatic VDO creation from still pictures

 SaaS on IaaS

 10x users’ growth in 3 days (from 25k to 250k)

 Total number of servers owned by Animoto = 0

 The most expensive piece of equipment in the office is the espresso machine Source: R. Smith, “The Cloud/Electric Generator Analogy”,  Utilize Amazon EC2 InformationWeek Analytic, Jan 2009

2110414 - Large Scale Computing Systems References

48

 F. Javadi, “Clearing the Air - Cloud Computing : Adobe Air, Google Gears and Microsoft Mesh”

 K. Gan and L. McMurray, “Beginner’s Guide to Cloud Computing and the Good & Bad for Developers”

 iphp, “Get your own cloud server running in 15 minutes”, http://www.webdigi.co.uk/blog/2009/get_your_own_cloud_server_running_in_15 _minutes/, June 2009

 S. Brunozzi, “2010 architecting for the cloud”, http://www.slideshare.net/simone.brunozzi/2010-architecting-for-the-cloud- 4719195, 2010

 G. Barton, “Animoto – The Poster Child for AWS & EC2”, http://bartongeorge.net/2009/03/25/animoto-the-poster-child-for-aws-ec2/

2110414 - Large Scale Computing Systems