cse 451: operating systems spring 2012 module 26 cloud computing ed lazowska...

21
CSE 451: Operating Systems Spring 2012 Module 26 Cloud Computing Ed Lazowsk a lazowsk [email protected] shingto n.edu

Upload: edgar-poole

Post on 17-Jan-2016

226 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CSE 451: Operating Systems Spring 2012 Module 26 Cloud Computing Ed Lazowska lazowska@cs.washington.edu Allen Center 570

CSE 451:

Operating

Systems

Spring 2012

Module 26

Cloud Computing

Ed Lazowsk

a

[email protected]

du

Allen Center

570

Page 2: CSE 451: Operating Systems Spring 2012 Module 26 Cloud Computing Ed Lazowska lazowska@cs.washington.edu Allen Center 570

© 2012 Gribble, Lazowska, Levy, Zahorjan 2

Page 3: CSE 451: Operating Systems Spring 2012 Module 26 Cloud Computing Ed Lazowska lazowska@cs.washington.edu Allen Center 570

© 2012 Gribble, Lazowska, Levy, Zahorjan 3

Page 4: CSE 451: Operating Systems Spring 2012 Module 26 Cloud Computing Ed Lazowska lazowska@cs.washington.edu Allen Center 570

© 2012 Gribble, Lazowska, Levy, Zahorjan 4

Velcro

Page 5: CSE 451: Operating Systems Spring 2012 Module 26 Cloud Computing Ed Lazowska lazowska@cs.washington.edu Allen Center 570

© 2012 Gribble, Lazowska, Levy, Zahorjan 5

• A datacenter has 50 - 250 containers• A container has 1,000 - 2,000 servers• A server has two processors, 2 disks, tons of

memory, battery backup• Processors are chosen for power efficiency, not

performance

Page 6: CSE 451: Operating Systems Spring 2012 Module 26 Cloud Computing Ed Lazowska lazowska@cs.washington.edu Allen Center 570

© 2012 Gribble, Lazowska, Levy, Zahorjan 6

Personal computing

Office applications

Databases and storage

Email

Math and science

Web browser

Page 7: CSE 451: Operating Systems Spring 2012 Module 26 Cloud Computing Ed Lazowska lazowska@cs.washington.edu Allen Center 570

© 2012 Gribble, Lazowska, Levy, Zahorjan 7

Cloud email accessed through the browser

Office applications

Email

Math and science

Web browser

Databases and storage

Email

Page 8: CSE 451: Operating Systems Spring 2012 Module 26 Cloud Computing Ed Lazowska lazowska@cs.washington.edu Allen Center 570

© 2012 Gribble, Lazowska, Levy, Zahorjan 8

… with the cloud provider’s domain name …

Page 9: CSE 451: Operating Systems Spring 2012 Module 26 Cloud Computing Ed Lazowska lazowska@cs.washington.edu Allen Center 570

© 2012 Gribble, Lazowska, Levy, Zahorjan 9

… or with your own

Page 10: CSE 451: Operating Systems Spring 2012 Module 26 Cloud Computing Ed Lazowska lazowska@cs.washington.edu Allen Center 570

© 2012 Gribble, Lazowska, Levy, Zahorjan 10

Why not office applications too?

Email

Math and science

Office applications

Web browser

EmailDatabases and storage

Page 11: CSE 451: Operating Systems Spring 2012 Module 26 Cloud Computing Ed Lazowska lazowska@cs.washington.edu Allen Center 570

© 2012 Gribble, Lazowska, Levy, Zahorjan 11

Page 12: CSE 451: Operating Systems Spring 2012 Module 26 Cloud Computing Ed Lazowska lazowska@cs.washington.edu Allen Center 570

© 2012 Gribble, Lazowska, Levy, Zahorjan 12

Why not everything else?

Email

Web browser

Math and science

Office applications

Databases and storage

Email

Page 13: CSE 451: Operating Systems Spring 2012 Module 26 Cloud Computing Ed Lazowska lazowska@cs.washington.edu Allen Center 570

© 2012 Gribble, Lazowska, Levy, Zahorjan 13

Page 14: CSE 451: Operating Systems Spring 2012 Module 26 Cloud Computing Ed Lazowska lazowska@cs.washington.edu Allen Center 570

© 2012 Gribble, Lazowska, Levy, Zahorjan 14

Consider …

• Sharing is easy• Someone else does backup• Someone else handles software updates• There’s 7x24x365 operations support, auxiliary

power, redundant network connections, geographical diversity

• Scalability – both up and down – is instantaneous• Many fewer demands on the local operating system

and machine

Page 15: CSE 451: Operating Systems Spring 2012 Module 26 Cloud Computing Ed Lazowska lazowska@cs.washington.edu Allen Center 570

© 2012 Gribble, Lazowska, Levy, Zahorjan 15

Amazon Elastic Compute Cloud (EC2)

• $0.68 per hour for– 4 cores of 2.5 GHz 64-bit 2007 Xeon or Opteron– 15 GB memory– 1.69 TB scratch storage

• Need it 24x7 for a year?– $3900

• $0.085 per hour for– 1 core of 1.2 GHz 32-bit Intel or AMD– 1.7 GB memory– 160 GB scratch storage

• Need it 24x7 for a year?– $490

Page 16: CSE 451: Operating Systems Spring 2012 Module 26 Cloud Computing Ed Lazowska lazowska@cs.washington.edu Allen Center 570

© 2012 Gribble, Lazowska, Levy, Zahorjan 16

• This includes– Purchase + replacement– Housing– Power– Operation– Reliability– Security– Instantaneous expansion and contraction

• 1000 processors for 1 day costs the same as 1 processor for 1000 days!

Page 17: CSE 451: Operating Systems Spring 2012 Module 26 Cloud Computing Ed Lazowska lazowska@cs.washington.edu Allen Center 570

© 2012 Gribble, Lazowska, Levy, Zahorjan 17

Page 18: CSE 451: Operating Systems Spring 2012 Module 26 Cloud Computing Ed Lazowska lazowska@cs.washington.edu Allen Center 570

© 2012 Gribble, Lazowska, Levy, Zahorjan 18

Page 19: CSE 451: Operating Systems Spring 2012 Module 26 Cloud Computing Ed Lazowska lazowska@cs.washington.edu Allen Center 570

© 2012 Gribble, Lazowska, Levy, Zahorjan 19Slide courtesy of Werner Vogels

Page 20: CSE 451: Operating Systems Spring 2012 Module 26 Cloud Computing Ed Lazowska lazowska@cs.washington.edu Allen Center 570

© 2012 Gribble, Lazowska, Levy, Zahorjan 20Slide courtesy of Werner Vogels

Page 21: CSE 451: Operating Systems Spring 2012 Module 26 Cloud Computing Ed Lazowska lazowska@cs.washington.edu Allen Center 570

© 2012 Gribble, Lazowska, Levy, Zahorjan 21Slide courtesy of Werner Vogels