Cloud Computing Computation as Utility. Computer utilities Leonard Kleinrock, ARPANET, 1969: ”We...
-
Upload
anne-smith -
Category
Documents
-
view
215 -
download
0
Transcript of Cloud Computing Computation as Utility. Computer utilities Leonard Kleinrock, ARPANET, 1969: ”We...
![Page 1: Cloud Computing Computation as Utility. Computer utilities Leonard Kleinrock, ARPANET, 1969: ”We will probably see the spread of computer utilities, which.](https://reader036.fdocuments.us/reader036/viewer/2022062519/5697c00e1a28abf838cca0c1/html5/thumbnails/1.jpg)
Cloud Computing
Computation as Utility
![Page 2: Cloud Computing Computation as Utility. Computer utilities Leonard Kleinrock, ARPANET, 1969: ”We will probably see the spread of computer utilities, which.](https://reader036.fdocuments.us/reader036/viewer/2022062519/5697c00e1a28abf838cca0c1/html5/thumbnails/2.jpg)
Computer utilities
• Leonard Kleinrock, ARPANET, 1969:• ”We will probably see the spread of computer
utilities, which like electricity will service individual homes and offices.”
CS@AU Henrik B Christensen 2
Leonard with an Interface Message Processor, the first generation of routers
ARPANET was the precursor to the internet
![Page 3: Cloud Computing Computation as Utility. Computer utilities Leonard Kleinrock, ARPANET, 1969: ”We will probably see the spread of computer utilities, which.](https://reader036.fdocuments.us/reader036/viewer/2022062519/5697c00e1a28abf838cca0c1/html5/thumbnails/3.jpg)
Why Utility?
• Ok, you have made your Android quizz game, but how many servers do you need to support?– 1? 10? 1.000?– Depends on no. of users, and usage patterns
• And what about resilience of the servers?– Put them under my desk?– Backup?
• Computation as a utility– Electricity and water I pay per usage
– How many spare CPU cycles do you have at home?
CS@AU Henrik B Christensen 3
![Page 4: Cloud Computing Computation as Utility. Computer utilities Leonard Kleinrock, ARPANET, 1969: ”We will probably see the spread of computer utilities, which.](https://reader036.fdocuments.us/reader036/viewer/2022062519/5697c00e1a28abf838cca0c1/html5/thumbnails/4.jpg)
Utilization problem
• Either you– Waste hardware resources or– Cannot provide service during peaks–
CS@AU Henrik B Christensen 4
![Page 5: Cloud Computing Computation as Utility. Computer utilities Leonard Kleinrock, ARPANET, 1969: ”We will probably see the spread of computer utilities, which.](https://reader036.fdocuments.us/reader036/viewer/2022062519/5697c00e1a28abf838cca0c1/html5/thumbnails/5.jpg)
Cloud Definitions
CS@AU Henrik B Christensen 5
![Page 6: Cloud Computing Computation as Utility. Computer utilities Leonard Kleinrock, ARPANET, 1969: ”We will probably see the spread of computer utilities, which.](https://reader036.fdocuments.us/reader036/viewer/2022062519/5697c00e1a28abf838cca0c1/html5/thumbnails/6.jpg)
Ambrust et al.
CS@AU Henrik B Christensen 6
![Page 7: Cloud Computing Computation as Utility. Computer utilities Leonard Kleinrock, ARPANET, 1969: ”We will probably see the spread of computer utilities, which.](https://reader036.fdocuments.us/reader036/viewer/2022062519/5697c00e1a28abf838cca0c1/html5/thumbnails/7.jpg)
Buyya et al.
CS@AU Henrik B Christensen 7
![Page 8: Cloud Computing Computation as Utility. Computer utilities Leonard Kleinrock, ARPANET, 1969: ”We will probably see the spread of computer utilities, which.](https://reader036.fdocuments.us/reader036/viewer/2022062519/5697c00e1a28abf838cca0c1/html5/thumbnails/8.jpg)
Vaquero et al.
• Based up review of a lot of definitions:
• Clouds are a large pool of easily usable and accessible virtualized resources (such as hardware, development platforms and/or
services). These resources can be dynamically re-configured to adjust to a variable load (scale), allowing also for an optimum
resource utilization. This pool of resources is typically exploited by a pay-per-use model in which guarantees are offered by the
Infrastructure Provider by means of customized SLAs.
CS@AU Henrik B Christensen 8
![Page 9: Cloud Computing Computation as Utility. Computer utilities Leonard Kleinrock, ARPANET, 1969: ”We will probably see the spread of computer utilities, which.](https://reader036.fdocuments.us/reader036/viewer/2022062519/5697c00e1a28abf838cca0c1/html5/thumbnails/9.jpg)
Comparing?
• Similarities? Differences?
CS@AU Henrik B Christensen 9
Clouds are a large pool of easily usable and accessible virtualized resources (such as hardware, development platforms and/or services). These resources can be dynamically re-configured to adjust to a variable load (scale), allowing also for an optimum resource utilization. This pool of resources is typically exploited by a pay-per-use model in which guarantees are offered by the Infrastructure Provider by means of customized SLAs.
![Page 10: Cloud Computing Computation as Utility. Computer utilities Leonard Kleinrock, ARPANET, 1969: ”We will probably see the spread of computer utilities, which.](https://reader036.fdocuments.us/reader036/viewer/2022062519/5697c00e1a28abf838cca0c1/html5/thumbnails/10.jpg)
NIST characteristics
• Comparing
CS@AU Henrik B Christensen 10
![Page 11: Cloud Computing Computation as Utility. Computer utilities Leonard Kleinrock, ARPANET, 1969: ”We will probably see the spread of computer utilities, which.](https://reader036.fdocuments.us/reader036/viewer/2022062519/5697c00e1a28abf838cca0c1/html5/thumbnails/11.jpg)
A key enabling technology:Virtualization
CS@AU Henrik B Christensen 11
![Page 12: Cloud Computing Computation as Utility. Computer utilities Leonard Kleinrock, ARPANET, 1969: ”We will probably see the spread of computer utilities, which.](https://reader036.fdocuments.us/reader036/viewer/2022062519/5697c00e1a28abf838cca0c1/html5/thumbnails/12.jpg)
CS @ AU Henrik Bærbak Christensen 12
Credits
• Some slides from– E6998 - Virtual Machines
Lecture 2CPU Virtualization
• Scott Devine• VMware, Inc.
![Page 13: Cloud Computing Computation as Utility. Computer utilities Leonard Kleinrock, ARPANET, 1969: ”We will probably see the spread of computer utilities, which.](https://reader036.fdocuments.us/reader036/viewer/2022062519/5697c00e1a28abf838cca0c1/html5/thumbnails/13.jpg)
CS @ AU Henrik Bærbak Christensen 13
What is it?
• vir•tu•al (adj): – existing in essence or effect, though not in actual
fact
• Example– ScummVM is a program which allows you to run
certain classic graphical point-and-click adventure games, provided you already have their data files. The clever part about this: ScummVM just replaces the executables shipped with the games, allowing you to play them on systems for which they were never designed!
![Page 14: Cloud Computing Computation as Utility. Computer utilities Leonard Kleinrock, ARPANET, 1969: ”We will probably see the spread of computer utilities, which.](https://reader036.fdocuments.us/reader036/viewer/2022062519/5697c00e1a28abf838cca0c1/html5/thumbnails/14.jpg)
CS @ AU Henrik Bærbak Christensen 14
A Physical Machine• Hardware
– Processors, devices, memory, etc.
• Software– Built to the given hardware (Instruction Set Architecture, e.g.
x86)– Built to given OS (App. Programming Interface, e.g. Win XP)– OS controls hardware
![Page 15: Cloud Computing Computation as Utility. Computer utilities Leonard Kleinrock, ARPANET, 1969: ”We will probably see the spread of computer utilities, which.](https://reader036.fdocuments.us/reader036/viewer/2022062519/5697c00e1a28abf838cca0c1/html5/thumbnails/15.jpg)
CS @ AU Henrik Bærbak Christensen 15
A Virtual Machine• Hardware Abstraction
– Virtual processor, memory, devices, etc.
• Virtualization Software– Indirection: Decouple hardware and OS– Multiplex physical hardware across guest VMs
![Page 16: Cloud Computing Computation as Utility. Computer utilities Leonard Kleinrock, ARPANET, 1969: ”We will probably see the spread of computer utilities, which.](https://reader036.fdocuments.us/reader036/viewer/2022062519/5697c00e1a28abf838cca0c1/html5/thumbnails/16.jpg)
Enabling technology
• Virtualization allows cloud providers to rent you a machine easily and quickly
– No buying equipment, no installing OS, no hooking network cables
– Just launch a new VM…• Typically through a web interface
CS@AU Henrik B Christensen 16
![Page 17: Cloud Computing Computation as Utility. Computer utilities Leonard Kleinrock, ARPANET, 1969: ”We will probably see the spread of computer utilities, which.](https://reader036.fdocuments.us/reader036/viewer/2022062519/5697c00e1a28abf838cca0c1/html5/thumbnails/17.jpg)
Example: Amazon EC2
CS@AU Henrik Bærbak Christensen 17
![Page 18: Cloud Computing Computation as Utility. Computer utilities Leonard Kleinrock, ARPANET, 1969: ”We will probably see the spread of computer utilities, which.](https://reader036.fdocuments.us/reader036/viewer/2022062519/5697c00e1a28abf838cca0c1/html5/thumbnails/18.jpg)
Example: DigitalOcean
CS@AU Henrik B Christensen 18
![Page 19: Cloud Computing Computation as Utility. Computer utilities Leonard Kleinrock, ARPANET, 1969: ”We will probably see the spread of computer utilities, which.](https://reader036.fdocuments.us/reader036/viewer/2022062519/5697c00e1a28abf838cca0c1/html5/thumbnails/19.jpg)
Example: Private Cloud/ESXi
CS@AU Henrik Bærbak Christensen 19
![Page 20: Cloud Computing Computation as Utility. Computer utilities Leonard Kleinrock, ARPANET, 1969: ”We will probably see the spread of computer utilities, which.](https://reader036.fdocuments.us/reader036/viewer/2022062519/5697c00e1a28abf838cca0c1/html5/thumbnails/20.jpg)
One thing for sure…
• Terminology is victim of branding and trends
– Droplet? Instance? Container?
–
CS@AU Henrik Bærbak Christensen 20
![Page 21: Cloud Computing Computation as Utility. Computer utilities Leonard Kleinrock, ARPANET, 1969: ”We will probably see the spread of computer utilities, which.](https://reader036.fdocuments.us/reader036/viewer/2022062519/5697c00e1a28abf838cca0c1/html5/thumbnails/21.jpg)
Service Models & Operations
CS@AU Henrik B Christensen 21
![Page 22: Cloud Computing Computation as Utility. Computer utilities Leonard Kleinrock, ARPANET, 1969: ”We will probably see the spread of computer utilities, which.](https://reader036.fdocuments.us/reader036/viewer/2022062519/5697c00e1a28abf838cca0c1/html5/thumbnails/22.jpg)
Service Models
• SaaS: Software as a service– End user applications accessible in the cloud, typically
through web browsers or mobile apps– Exercise: Give examples
• PaaS: Platform as a service– Programming libraries, services, tools allowing
applications to be build utilizing cloud features– Exercise: Give examples
CS@AU Henrik B Christensen 22
![Page 23: Cloud Computing Computation as Utility. Computer utilities Leonard Kleinrock, ARPANET, 1969: ”We will probably see the spread of computer utilities, which.](https://reader036.fdocuments.us/reader036/viewer/2022062519/5697c00e1a28abf838cca0c1/html5/thumbnails/23.jpg)
Service Models
• IaaS: Infrastructure as a Service– Provide virtual processing and storage capacity, i.e.
the actual computing infrastructure
– Exercise: Give examples
CS@AU Henrik B Christensen 23
![Page 24: Cloud Computing Computation as Utility. Computer utilities Leonard Kleinrock, ARPANET, 1969: ”We will probably see the spread of computer utilities, which.](https://reader036.fdocuments.us/reader036/viewer/2022062519/5697c00e1a28abf838cca0c1/html5/thumbnails/24.jpg)
Comparing
• Why are some cloud service models much easier to spot than others?
CS@AU Henrik B Christensen 24
![Page 25: Cloud Computing Computation as Utility. Computer utilities Leonard Kleinrock, ARPANET, 1969: ”We will probably see the spread of computer utilities, which.](https://reader036.fdocuments.us/reader036/viewer/2022062519/5697c00e1a28abf838cca0c1/html5/thumbnails/25.jpg)
Example: NetFlix
• Adrian Cockcroft / GOTO 2012
CS@AU Henrik B Christensen 25
http://gotocon.com/dl/goto-aar-2012/slides/AdrianCockcroft_GloballyDistributedCloudApplicationsAtNetflix.pdf
![Page 26: Cloud Computing Computation as Utility. Computer utilities Leonard Kleinrock, ARPANET, 1969: ”We will probably see the spread of computer utilities, which.](https://reader036.fdocuments.us/reader036/viewer/2022062519/5697c00e1a28abf838cca0c1/html5/thumbnails/26.jpg)
Deployment models
• Examples– Public cloud: Give me an example– Private cloud: Give me an example
CS@AU Henrik B Christensen 26
![Page 27: Cloud Computing Computation as Utility. Computer utilities Leonard Kleinrock, ARPANET, 1969: ”We will probably see the spread of computer utilities, which.](https://reader036.fdocuments.us/reader036/viewer/2022062519/5697c00e1a28abf838cca0c1/html5/thumbnails/27.jpg)
Obstacles/Opportunities
• Armbrust et al.– Business Continuity and Service Availability
• If your cloud provider fails – you fail
– Data Lock-in• Storage using propriatary API (Amazon S3 etc.) makes
‘getting your data back’ hard
– Data Confidentiality/Auditability• Who peeks into my data?
– Data Transfer Bottlenecks• Sending data is costly. Shipping disks are cheaper!
CS@AU Henrik B Christensen 27
![Page 28: Cloud Computing Computation as Utility. Computer utilities Leonard Kleinrock, ARPANET, 1969: ”We will probably see the spread of computer utilities, which.](https://reader036.fdocuments.us/reader036/viewer/2022062519/5697c00e1a28abf838cca0c1/html5/thumbnails/28.jpg)
Obstacles/Opportunities
• Ambrust et al.– Performance Unpredictability
• Multiple VMs (one the same physical machine) can limit IO – i.e. cross-VM penalties
– Scaleable Storage• Storage is not as easily scaled as other resources
– ? Is this an issue of yesterday?
– Bugs in Large Scale Dist. Systems• How do you debug?• NetFlix: Monkeys and Gorillas
CS@AU Henrik B Christensen 28
![Page 29: Cloud Computing Computation as Utility. Computer utilities Leonard Kleinrock, ARPANET, 1969: ”We will probably see the spread of computer utilities, which.](https://reader036.fdocuments.us/reader036/viewer/2022062519/5697c00e1a28abf838cca0c1/html5/thumbnails/29.jpg)
Obstacles/Opportunities
• Ambrust et al.– Scaling Quickly
• What to do with idling machines? Shutting down means longer time to start...
– Reputation Fate Sharing• Spamming -> black listed IP addresses.• Will you overtake these?
– Software Licensing• Pay as you go licenses for commercial SW
CS@AU Henrik B Christensen 29
![Page 30: Cloud Computing Computation as Utility. Computer utilities Leonard Kleinrock, ARPANET, 1969: ”We will probably see the spread of computer utilities, which.](https://reader036.fdocuments.us/reader036/viewer/2022062519/5697c00e1a28abf838cca0c1/html5/thumbnails/30.jpg)
Operations
• Architecture ofcloud provider
CS@AU Henrik B Christensen 30