cloud 101

179
Clouds 101 Understanding the state of cloud computing Wednesday, May 26, 2010

Upload: alistair-croll

Post on 17-May-2015

1.485 views

Category:

Technology


0 download

DESCRIPTION

Slides from the Cloud 101 workshop at Gov 2.0 in Washington, DC on May 25, 2010

TRANSCRIPT

Page 1: Cloud 101

Clouds 101Understanding the state of cloud computing

Wednesday, May 26, 2010

Page 2: Cloud 101

http://www.flickr.com/photos/jamesjordan/2751393381/Wednesday, May 26, 2010

Cloud computing is an approach to computing that’s more flexible and lets organizations focus on their core business by insulating them from much of the underlying IT work.

Page 3: Cloud 101

http://www.flickr.com/photos/juniorvelo/3577399832/Wednesday, May 26, 2010

At its most basic, it’s computing as a utility – pay for what you need, when you need it, rather than paying for it all up front.

Page 4: Cloud 101

Wednesday, May 26, 2010

This is what Nicolas Carr talked about in his book The Big Switch.

Page 5: Cloud 101

Wednesday, May 26, 2010

But clouds can be confusing. Part of the reason is that they’re a big deal, which means everyone wants to be a part of them – even companies who have nothing to do with clouds.

Page 6: Cloud 101

http://www.flickr.com/photos/creative_tools/4339787963/http://www.flickr.com/photos/dnorman/168643407/

Wednesday, May 26, 2010

I’m going to try and clear some of this up for you.

Page 7: Cloud 101

Part one:Disruption and the democratization of IT

Wednesday, May 26, 2010

Page 8: Cloud 101

http://www.flickr.com/photos/horiavarlan/4290549806/Wednesday, May 26, 2010

First, let’s talk about disruption.

Page 9: Cloud 101

http://www.flickr.com/photos/harshlight/3235469361Wednesday, May 26, 2010

Once, IT was a monopoly.

Page 10: Cloud 101

http://www.flickr.com/photos/theclevelandkid24/4251408727/Wednesday, May 26, 2010

Today, it’s a free market. The line of business has tremendous choice in what it owns, runs, and uses.

Page 11: Cloud 101

http://www.flickr.com/photos/hyku/2039448524/Wednesday, May 26, 2010

The boardroom loves this: instead of managing machines, they manage services.

Page 12: Cloud 101

http://www.flickr.com/photos/ukanda/4455286483/Wednesday, May 26, 2010

But enterprise IT doesn’t like it much, because it forces them to compete, and puts them side-by-side with organizations that spend their entire day doing detailed usage and billing.

Page 13: Cloud 101

http://en.wikipedia.org/wiki/Adam_SmithWednesday, May 26, 2010

It’s not all bad, though. There’s a lot to be learned from a transition from monopoly to a free market.

Page 14: Cloud 101

Two reasons.

Wednesday, May 26, 2010

There were a couple of reasons IT was a monopoly for so long.

Page 15: Cloud 101

http

://w

ww

.flic

kr.c

om/p

hoto

s/br

ewbo

oks/

3319

7303

27/

(16MB)Wednesday, May 26, 2010

First, the machines were expensive. That meant they were a scarce resource, and someone had to control what we could do with them.

Page 16: Cloud 101

http

://w

ww

.flic

kr.c

om/p

hoto

s/ar

gonn

e/45

6339

4851

/

Wednesday, May 26, 2010

Second, they were complicated. It took a very strange sect of experts to understand them. AVIDAC, Argonne's first digital computer, began operation in January 1953. It was built by the Physics Division for $250,000. Pictured is pioneer Argonne computer scientist Jean F. Hall.

AVIDAC stands for "Argonne Version of the Institute's Digital Automatic Computer" and was based on the IAS architecture developed by John von Neumann.

Page 17: Cloud 101

http://www.flickr.com/photos/ebeam/3586287989/Wednesday, May 26, 2010

This was also a result of scarcity. When computers and humans interact, they need to meet each other halfway. But it takes a lot of computing power to make something that’s easy to use;

Page 18: Cloud 101

http://www.flickr.com/photos/ecastro/3053916892/Wednesday, May 26, 2010

in the early days of computing, humans were cheap and machines weren’t

Page 19: Cloud 101

http://www.flickr.com/photos/binaryape/458758810/Wednesday, May 26, 2010

So we used punched cards,

Page 20: Cloud 101

http://50ans.imag.fr/images/galerie/Source/IBM-1130-1.jpgWednesday, May 26, 2010

and switches,

Page 22: Cloud 101

http://www.flickr.com/photos/flem007_uk/4211743886/Wednesday, May 26, 2010

Think about what a monopoly means.

Page 23: Cloud 101

http

://w

ww

.flic

kr.c

om/p

hoto

s/ca

vem

an_9

2223

/353

1128

799/

Wednesday, May 26, 2010

A monopoly was once awarded for a big project beyond the scope of any one organization, but needed for the public good.

Page 24: Cloud 101

http://www.flickr.com/photos/athomeinscottsdale/2850893998/Wednesday, May 26, 2010

Sometimes, nobody wants the monopoly—like building the roads.

Page 25: Cloud 101

Wednesday, May 26, 2010

For the most part, governments have a monopoly on roadwork, because it’s something we need, but the benefits are hard to quantify or charge back for.

Page 26: Cloud 101

http://www.flickr.com/photos/leokoivulehto/2257818167/Wednesday, May 26, 2010

(IT’s been handed many of these thankless tasks over the years, and the business has never complained.)

Page 27: Cloud 101

http://www.flickr.com/photos/crobj/4148482980/Wednesday, May 26, 2010

The only time we can charge back for roads are when the resource is specific and billable: a toll highway, a bridge.

Page 28: Cloud 101

http://en.wikipedia.org/wiki/File:Bell_System_hires_1900_logo.PNG

Wednesday, May 26, 2010

Sometimes, we form a company with a monopoly, or allow one to operate, in order to build something or allow an inventor to recoup investment. This is how we got the telephone system, or railways.

Page 29: Cloud 101

For much of its history, AT&T and its Bell System functioned as a legally sanctioned, regulated monopoly.

The US accepted this principle, initially in a 1913 agreement known as the Kingsbury Commitment.

Anti-trust suit filed in 1949 led in 1956 to a consent decree whereby AT&T agreed to restrict its activities to the regulated business of the national telephone system and government work.

Changes in telecommunications led to a U.S. government antitrust suit in 1974.

In 1982 when AT&T agreed to divest itself of the wholly owned Bell operating companies that provided local exchange service.

In 1984 Bell was dead. In its place was a new AT&T and seven regional Bell operating companies (collectively, the RBOCs.)

http://www.corp.att.com/history/history3.htmlWednesday, May 26, 2010

When monopolies are created with a specific purpose, that’s good. But when they start to stagnate and restrict competition, we break them apart.

Page 30: Cloud 101

http://www.flickr.com/photos/ktylerconk/4096965228/Wednesday, May 26, 2010

In fact, there’s a lot of antitrust regulation that prevents companies from controlling too much of something because they can stifle innovation and charge whatever they want. That’s one of the things the DOJ does.

Page 31: Cloud 101

First: Monopoly good.

Wednesday, May 26, 2010

In other words, early on monopolies are good because they let us undertake hugely beneficial, but largely unbillable, tasks.

Page 32: Cloud 101

Then: Monopoly bad.

Wednesday, May 26, 2010

Later, however, they’re bad because they reduce the level of creativity and experimentation.

Page 33: Cloud 101

http://www.flickr.com/photos/wikidave/2867257631/

Wednesday, May 26, 2010

Today, computing is cheap. We can buy many times the compute power of the Apollo missions with a swipe of a credit card.

Page 34: Cloud 101

http://www.flickr.com/photos/mbrubeck/4460320021/

Wednesday, May 26, 2010

It’s also not complicated. Everyone can use a computer. Because today, the computer is cheap and the human’s expensive we spend so much time on user interfaces, from GUIs to augmented reality to touchscreens to voice control to geopresence.

Page 35: Cloud 101

http://www.flickr.com/photos/raneko/4203965136/Wednesday, May 26, 2010

What used to take a long time to procure, configure, and deploy is now a mouseclick.

Page 36: Cloud 101

http

://w

ww

.flic

kr.c

om/p

hoto

s/19

6464

81@

N06

/426

3667

827/

Wednesday, May 26, 2010

The way data centers are designed must reflect this shift from IT-as-a-monopoly to IT-as-an-enabler

Page 37: Cloud 101

http://www.flickr.com/photos/seier/3349428961/Wednesday, May 26, 2010

That means building a set of platforms that can adapt and adjust:

Page 38: Cloud 101

http

://w

ww

.flic

kr.c

om/p

hoto

s/ju

lia_m

anze

rova

/932

0555

26/

Wednesday, May 26, 2010

From rack-and-stack servers to click-and-drag deployment

Page 39: Cloud 101

http://www.flickr.com/photos/webtreatsetc/4323914169

Wednesday, May 26, 2010

From underused bare metal to on-demand virtual machines

Page 40: Cloud 101

http://www.flickr.com/photos/reservasdecoches/3199872487/Wednesday, May 26, 2010

From procurement and process to self-service and quick decommissioning.

Page 41: Cloud 101

http://www.flickr.com/photos/flem007_uk/4211743434/

Wednesday, May 26, 2010

The lesson of monopolies is an important one. When a monopoly set out to build a railroad, it didn’t spend a lot of time asking potential travelers what they wanted.

Page 42: Cloud 101

http://ww

w.flickr.com

/photos/dok1/4547024596/

Wednesday, May 26, 2010

When you’re building something huge and expensive, you build what you want, and expect people to be grateful for it.

Page 43: Cloud 101

http://www.flickr.com/photos/mmbrown/3102707594/Wednesday, May 26, 2010

But today’s IT user is driving IT requirements.

Page 44: Cloud 101

Wednesday, May 26, 2010

They can shop around—choosing SaaS, clouds, and internal IT according to their business requirements.

Page 45: Cloud 101

http://www.codeproject.com/KB/miscctrl/ScriptStudio.aspx Wufoo.com

Wednesday, May 26, 2010

They’re increasingly able to build the applications themselves, but expect IT to deliver smooth, fast platforms on which to experiment.

Page 46: Cloud 101

http://www.flickr.com/photos/commensa/4027055357Wednesday, May 26, 2010

As the line of business looks more and more like a consumer in a competitive market—and less and less like a grateful customer of a monopoly—IT has to change its offerings.

Page 47: Cloud 101

HARDWARE

PLATFORMS

APPS

USERS

Wednesday, May 26, 2010

It’s an inversion of the traditional IT “pyramid”, where the hardware dictates the platforms, which in turn dictates, the apps, which dictates what users can do.

Page 48: Cloud 101

HARDWARE

PLATFORMS

APPS

USERS

Wednesday, May 26, 2010

Today, what users want to do drives the apps they use, which drives the platforms and the hardware.

Page 49: Cloud 101

http://www.flickr.com/photos/scriptingnews/3471500626/Wednesday, May 26, 2010

We’ve had big changes since that time. The first was client-server computing: the idea that not everything lived in a mainframe, and some things worked well on the desktop. Software like Visicalc—the first spreadsheet—were useful for businesses, even those who couldn’t afford a mainframe.

Page 50: Cloud 101

http://en.wikipedia.org/wiki/File:NCSA_Mosaic.PNGWednesday, May 26, 2010

A second big change was the Web. This browser-based model made computing accessible to the masses. As a result, it became part of society, and everyone knew how to work it. These days, you don’t have to teach a new hire how to use a web browser: they know what links do; what the back button is; and so on.

Page 51: Cloud 101

!"#$%%&&&'()*+,'*-.%#!-/-0%#)1234566)*/%789:;7<=>%?Wednesday, May 26, 2010

A third change is the move to mobility. This has been bigger overseas, where the mobile phone is the dominant way of accessing the Internet, but it’s still a shift to the always-connected, always-on lifestyles we lead today.

Page 52: Cloud 101

http://img.dailymail.co.uk/i/pix/2008/04_01/tornadoDM3030a_800x533.jpgWednesday, May 26, 2010

And now there’s cloud computing. Clouds are as big a shift as client-server, or the web browser, or mobility.

Page 53: Cloud 101

Part two:A history of virtualization.

Wednesday, May 26, 2010

Page 54: Cloud 101

http://www.flickr.com/photos/mynameisharsha/4092086880/Wednesday, May 26, 2010

The  step-­‐func-on  nature  of  dedicated  machines  doesn’t  distribute  workload  very  efficiently.

Page 55: Cloud 101

http

://w

ww

.flic

kr.c

om/p

hoto

s/h4

ck/2

4135

6210

8/

Wednesday, May 26, 2010

Virtualization lets us put many workloads on a single machine

Page 56: Cloud 101

http://www.flickr.com/photos/stawarz/3538910787/Wednesday, May 26, 2010

Once  workloads  are  virtualized,  several  things  happen.  First,  they’re  portable

Page 57: Cloud 101

http://www.flickr.com/photos/swimparallel/3391592144/Wednesday, May 26, 2010

Second,  they’re  ephemeral.  That  is,  they’re  short-­‐lived:  Once  people  realize  that  they  don’t  have  to  hoard  machines,  they  spin  them  up  and  down  a  lot  more.

Page 58: Cloud 101

http://www.flickr.com/photos/genewolf/147722350Wednesday, May 26, 2010Which  inevitably  leads  to  automa3on  and  scrip3ng:  We  need  to  spin  up  and  down  machines,  and  move  them  from  place  to  place.  This  is  hard,  error-­‐prone  work  for  humans,  but  perfect  for  automa3on  now  that  rack-­‐and-­‐stack  has  been  replaced  by  point-­‐and-­‐click

Page 59: Cloud 101

http://www.flickr.com/photos/pinkmoose/3278324276/Wednesday, May 26, 2010

Automa-on,  once  in  place,  can  have  a  front  end  put  on  it.  That  leads  to  self  service.

Page 60: Cloud 101

“Cloudy”  tech.Wednesday, May 26, 2010

These  are  the  founda-ons  on  which  new  IT  is  being  built.  Taken  together,  they’re  a  big  part  of  the  movement  towards  cloud  compu-ng,  whether  that’s  in  house  or  on-­‐demand.

Page 61: Cloud 101

Virtualization divorces the app from the machine.

Physicalmachine

Physicalmachine

Physicalmachine

Physicalmachine

Physicalmachine

Physicalmachine

Virtual machine

One on many

Physical machine

Virtual machine

Virtual machine

Virtual machine

Virtual machine

Virtual machine

Virtual machine

Many on one(or)

Wednesday, May 26, 2010

Okay, so these things mean we have applications that run “virtually” – that is, they’re divorced from the underlying hardware. One machine can do ten things; ten machines can do one thing.

Page 62: Cloud 101

That’s the technical definition

Virtualization

Automation

Self-service

Elasticity

Usage tracking & billing

Service-oriented article

Wednesday, May 26, 2010

This is the “technical” definition of cloud computing: virtualized, automated, self-service computing resources. Some people call this a “private cloud”; others think it’s just IT-done-right. Whatever the case, data centers are furiously retooling themselves, much to the enjoyment of companies like VMWare and Citrix.

Page 63: Cloud 101

Part three:Stacks and the separation of concerns.

Wednesday, May 26, 2010

Part three: Stacks and the separation of concerns

Page 64: Cloud 101

http://www.flickr.com/photos/mac-ash/4534203626/Wednesday, May 26, 2010

At its most simple, this is all about a “stack” of services. Stacks are a common idea in computing and networking. Basically, they’re a separation of different tasks.

Page 65: Cloud 101

http://www.flickr.com/photos/easternblot/126112823/Wednesday, May 26, 2010

We’re familiar with the idea of a stack. There’s a stack in the postal service.

Page 66: Cloud 101

Your virtual platform

Their physical infrastructure

Laye

r of

sep

arat

ion

Wednesday, May 26, 2010

You worry about the address, and the stamp. The postal service handles the rest—it doesn’t care what’s inside your envelope; and you don’t care what route your letter takes to its destination, as long as it gets there.

Page 67: Cloud 101

Part four:Clouds as a business model.

Wednesday, May 26, 2010

Page 68: Cloud 101

http://www.flickr.com/photos/37244380@N00/3367107195/Wednesday, May 26, 2010

But wait -- there’s more! There’s another way to look at cloud computing.

Page 69: Cloud 101

This has all been DIY.

Wednesday, May 26, 2010

Notice that so far, nothing I’ve said about clouds implies you can’t just run your own. Up until now, they’ve been DIY.

Page 70: Cloud 101

Cloudsare abusinessmodel.

Wednesday, May 26, 2010

This is the clouds-as-a-business-model definition. In this, cloud computing is a third-party service.

Page 71: Cloud 101

http://www.flickr.com/photos/laenulfean/479831551/Wednesday, May 26, 2010

All of the things we’ve seen about cloud technology make it possible to deliver computing as a utility -- computing on tap.The virtualization provides a blood/brain barrier between the application the user is running, and the machines on which it runs.

Page 72: Cloud 101

Wednesday, May 26, 2010

That means you can focus on the thing your business does that makes you special

Page 73: Cloud 101

Wednesday, May 26, 2010

And stop worrying about many of the tasks you really didn’t want to do anyway.

Page 74: Cloud 101

http://www.oncloudcomputing.com/en/2009/07/fronde-back-to-profit-by-cloud-computing/Wednesday, May 26, 2010

Sharing and economies of scale keep costs down. Cloud providers are poised to make the most of these economies of scale. Consider that in July 2008, Microsoft revealed that it had 96,000 servers at the Quincy facility, consuming "about 11 megawatts"More than 80% dedicated to Microsoft's Live Search and the remaining for HotmailIn August, a really good discovery was posted to a blog called "istartedsomething.com":  a screen shot of a software dashboard that illustrates power consumption and server count at each of Microsoft's fifteen data centers, caught in a Microsoft video posted to their web site.

Page 75: Cloud 101

Idle capacity, lack of

automation, etc.

Ping, power, pipe,

efficiencies

IT server costs

Private cloud costs Public

cloud costs

Wednesday, May 26, 2010

The move towards the cloud business model has a lot to do with the economies of scale that exist when you can concentrate infrastructure, and put it near dams. (There’s a good—if hotly debated argument—that clouds-as-a-business-model are inevitable, because of the economics.)

Page 76: Cloud 101

Wednesday, May 26, 2010

Cloud providers are thinking at a scale that nearly every enterprise can’t compete with. That’s because operating efficiency, and accounting for everything, are core to their business; whereas making widgets is core to yours.

Page 77: Cloud 101

Wednesday, May 26, 2010

Self-service means customers can deploy and destroy their own machines.

Page 78: Cloud 101

Dedicatedhardware

On-premiseprivate clouds

Virtualprivate clouds

Third-partypublic clouds

Wednesday, May 26, 2010

So while you can build an automated, self-service, on-demand private cloud, there are also many public options (is that a bad word in DC? )

Page 79: Cloud 101

http://www.flickr.com/photos/carbonnyc/2294144289/Wednesday, May 26, 2010

Most of the time, when you hear someone say they’re concerned about the security of cloud computing, they’re talking about public clouds, and the issues that come with putting your data somewhere virtually but not knowing where it is physically.

Page 80: Cloud 101

Part five:Kinds of clouds.

Wednesday, May 26, 2010

Page 81: Cloud 101

http://www.eo.ucar.edu/webweather/cloud3.htmlWednesday, May 26, 2010

So far, while I’ve told you a lot about clouds, I haven’t really told you what they are. That’s partly because there are many kinds of cloud computing.We can separate clouds into three distinct groups.

Page 82: Cloud 101

Infrastructure as a ServiceAmazon EC2, Rackspace Cloud, Terremark, Gogrid, Joyent (and nearly every private cloud built on Zenserver or VMWare.)

Wednesday, May 26, 2010

The first is called Infrastructure as a Service, because you’re renting pieces of (virtual) infrastructure.

Page 83: Cloud 101

http://aws.amazon.com/ec2/pricing/Wednesday, May 26, 2010

This is what IT people think of when you say “clouds” – virtual machines I can use for just an hour. Here’s Amazon’s “menu” of machines.

Page 84: Cloud 101

•60 seconds per page

•200 machine instances

•1,407 hours of virtual machine time

•Searchable database available 26 hours later

•$144.62 total cost

Desktop EC2

Pages 17,481 17,481

Minutes/page 1 1

# of machines 1 200

Total minutes 17,481

Total hours 291.4 26.0

Total days 12.1 1.1

Wednesday, May 26, 2010

A great example of these clouds in action is what the Washington Post did with Hillarly Clinton’s diaries during her campaign. They needed to get all 17,481 pages of Hillary Clinton’s White House schedule scanned and searchable quickly. Using 200 machines, the Post was able to get the data to reporters in only 26 hours. In fact, the experiment is even more compelling: Desktop OCR took about 30 minutes per page to properly scan, read, resize, and format each page – which means that it would have taken nearly a year, and cost $123 in power, to do the work on a single machine.

Page 85: Cloud 101

Web server

Machine instance

MachineImage

Wednesday, May 26, 2010

In an IaaS model, you’re getting computers as a utility. The unit of the transaction is a virtual machine. It’s still up to you to install an operating system, and software, or at least to choose it from a list. You don’t really have a machine -- you have an image of one, and when you stop the machine, it vanishes.

Page 86: Cloud 101

App Server

Machine instance

Web server

Machine instance

DBserver

Machine instance

Storage

MachineImage

MachineImage

MachineImage

Wednesday, May 26, 2010

Most applications consist of several machines -- web, app, and database, for example. Each is created from an image, and some, like databases, may use other services from the cloud to store and retrieve data from a disk

Page 87: Cloud 101

App Server

Machine instance

Web server

Machine instance

DBserver

Machine instance

StorageDB

server

Biggermachineinstance

Wednesday, May 26, 2010

If you run out of capacity, you can upgrade to a bigger machine (which is called “scaling vertically.”)

Page 88: Cloud 101

App Server

Machine instance

Web server

Machine instance

DBserver

Machine instance

Storage

App Server

Machine instance

Web server

Machine instance

DBserver

Machine instance

LoadbalancerMachine instance

Wednesday, May 26, 2010

Or you can create several machines at each tier, and use a load balancer to share traffic between them. These kinds of scalable, redundant architectures are common -- nay, recommended -- in a cloud computing world where everything is uncertain.

Page 89: Cloud 101

Platform as a ServiceGoogle App Engine, Salesforce Force.com, Rackspace Cloud Sites, Joyent Smart Platform, (and nearly every enterprise mainframe.)

Wednesday, May 26, 2010

The second kind of cloud is called Platform as a Service. In this model, you don’t think about the individual machines—instead, you just copy your code to a cloud, and run it. You never see the machines. In a PaaS cloud, things are very different.

Page 90: Cloud 101

Processing platformData API

Storage

Yourcode

Others’code

Others’code

Others’code

Others’code

Others’code

Auth API

Userdatabase

Image API

Image functions

Blob API

Big objects

...

Governor Console Schedule

Shared components

Wednesday, May 26, 2010

- You write your code; often it needs some customization.- That code runs on a share processing platform- Along with other people’s code- The code calls certain functions to do things like authenticate a user, handle a payment, store an object, or move something to a CDN- To keep everything running smoothly (and bill you) the platform has a scheduler (figuring out what to do next) and a governor (ensuring one program doesn’t use up all the resources) as well as a console.

Page 91: Cloud 101

http://code.google.com/appengine/articles/load_test_screenshot.jpgWednesday, May 26, 2010

Here’s a shot of some code running in Google App Engine. I only know that I’m paying by CPU-hour, or for units like bandwidth, email, or storage. This could be one machine whose CPU was used 8%, or a hundred, or a thousand. I don’t know.

Page 92: Cloud 101

http://code.google.com/appengine/articles/logs_admin.pngWednesday, May 26, 2010

I can see the logs for my application. But these aren’t for a single machine -- they’re for the application itself, everywhere.

Page 93: Cloud 101

http://googleappengine.blogspot.com/2010/03/easy-performance-profiling-with.htmlWednesday, May 26, 2010

I can even find out what parts of my code are consuming the most CPU, across all machines.

Page 94: Cloud 101

Wednesday, May 26, 2010

And even their latency when served to people.

Page 95: Cloud 101

http://ww

w.com

puterhok.nl/JSP

Wiki/attach/G

oogleAppE

ngine/GA

EQ

uota.png

Wednesday, May 26, 2010

It’s a true, pure utility because you pay for what you use.

Page 96: Cloud 101

http://www.flickr.com/photos/olitaillon/3354855989/Wednesday, May 26, 2010

This is a very different model from IaaS. On the one hand, it’s more liberating, because you don’t have to worry about managing the machines. On the other hand, it’s more restrictive, because you can only do what the PaaS lets you.

Page 97: Cloud 101

IaaS and PaaS differences

IaaS

Any operating system you want

Limited by capacity of virtual machine

Scale by adding more machines

Many storage options (file system, object, key-value)

PaaS

Use only selected languages and built-in APIs

Limited by governors to avoid overloading

Scaling is automatic

Use built-in storage (Bigtable, etc.)

Wednesday, May 26, 2010

In the case of Google’s App Engine, you have to use their functions and store things in the way they want you to. You get great performance from doing so, but it probably means rewriting your code a bit.

Page 98: Cloud 101

Quota LimitApps per developer 10Time per request 30sBlobstore (total file size) 1GBMaximum HTTP response size 10MBDatastore item size 1MBApplication code size 150MB

Emails per day 1,500Bandwidth in per day 1 GBBandwidth out per day 1GBCPU time per day 6.5hHTTP requests per day 1,300,000Datastore API calls per day 10,000,000URLFetch API calls per day 657,084

Governor(usage cap)

Daily cap(free quota)

http://en.wikipedia.org/wiki/Google_App_EngineWednesday, May 26, 2010

PaaS platforms impose usage caps and billing tiers. Here’s Google App Engine’s set of quotas and free caps.

Page 99: Cloud 101

http://wiki.developerforce.com/index.php/Apex_Code:_The_World%27s_First_On-Demand_Programming_LanguageWednesday, May 26, 2010

In the case of Salesforce’s Force.com, you have to use an entirely new programming language, called Apex.

Page 100: Cloud 101

Wednesday, May 26, 2010

The third kind of cloud is called Software as a Service, or SaaS. Some people argue that this isn’t a cloud at all, just a new way of delivering software. But it’s also what the masses—the non-technologists—think cloud computing means.

Page 101: Cloud 101

Cloud Web= Internet= Useless=

My mom’s definition

Wednesday, May 26, 2010

(Personally, I think this makes the term “cloud” synonymous with “web” or “Internet”, and therefore a bit useless.)

Page 102: Cloud 101

Wednesday, May 26, 2010

SaaS and PaaS are blurring, too, with the advent of scripting languages. Nobody would argue that Google Apps is a SaaS offering; but now that you can write code for it -- as in this example of a script that sends custom driving directions to everyone in a spreadsheet -- the distinction is less and less clear.

Page 103: Cloud 101

Wednesday, May 26, 2010

But the business model of SaaS is the same as PaaS and IaaS: Sell IT on demand, rather than as software or machines.

Page 104: Cloud 101

Wednesday, May 26, 2010

It’s the form of cloud computing that gets the most lip service in areas like government, particularly with Google Apps.

Page 105: Cloud 101

Part six:It’s all a blend, really.

Wednesday, May 26, 2010

Page 106: Cloud 101

Service What it doesElastic Compute Cloud Virtual machines, by the hourElastic Mapreduce Massively parallel data processingVirtual Private Cloud On demand machines within internal ITElastic Load Balancing Traffic distributionCloudfront Content delivery accelerationFlexible Payments Service Funds transfer & paymentsSimpleDB Realtime structured data queriesSimple Storage Service Eleven nines redundant storageRelational Database Service On-demand RDBMSElastic Block Store Block-level storage (file system)Fulfillment Web Service Merchant delivery systemSimple Queue Service On-demand message busSimple Notification Service System for sending mass notificationsCloudwatch Monitoring of cloud resourcesMechanical turk Humans as an API

Wednesday, May 26, 2010

This division between PaaS and IaaS is a bit of a fiction. In fact, virtual machines are just one of around twenty “cloud services” Amazon offers – called EC2.

Page 107: Cloud 101

Service What it does

App Engine Executing Python or Java code

Bigtable datastore Store data for very fast retrieval

Calendar Data API Create and modify events

Inbox feed API Read a GMail inbox

Contact data API Interact with someone’s GMail contacts

Documents list API Manage a user’s Google Docs

OpenID single signon Use Google authentication to sign in

Secure data connector Link Google Apps to enterprise apps

Memcache Fast front-end for data

Image manipulation Resize, rotate, crop & flip images

Task queue Queue and dispatch tasks to code

Blobstore Serve large objects to visitors

Wednesday, May 26, 2010

The same is true of App Engine - though these are functions called from code, rather than services you pay for separately, they’re still more than just the code.

Page 108: Cloud 101

Cloudsaren’tjustvirtualmachines.

Wednesday, May 26, 2010

This is a really important concept: Clouds aren’t just virtual machines. Clouds are on-demand computing services.

Page 109: Cloud 101

http://www.flickr.com/photos/gezellig-girl/4351078755/Wednesday, May 26, 2010

To understand this, we need to talk for a minute about “composed designs.”

Page 110: Cloud 101

Storage media

Computer hardware

Operating system

Software

Query languageLet’s just call

this a database, ‘mmkay?

Wednesday, May 26, 2010

When IT architects want to build something, they have a set of proven designs for doing so. A database is an example of this—it’s a combination of storage (disk) and a particular way of arranging things (tables and indexes) and language (structured query language, or SQL). We’ve learned that a database is a good prefab building block, so we use it. The alternative is to build it all, from scratch, writing to the disk itself.

Page 111: Cloud 101

Wednesday, May 26, 2010

There are other examples of “composed designs” in IT, many of them made from several components. For instance, consider the “message bus.” This is a thing you put messages into, and anyone who wants them can grab a copy of the message. Stock exchanges use publish-and-subscribe message busses to move data around.

Page 112: Cloud 101

http

://c

ouch

db.a

pach

e.or

g/

Wednesday, May 26, 2010

A third example is called a key-value data store. In this case, I put in a key (say, ”username”) and a value (say, “Palin”). Then it’s stored for me. It’s much less fancy than a database, but also much faster and more scalable, and can be backed up more easily so it’s more reliable.

Page 113: Cloud 101

http://www.flickr.com/photos/jackol/133765382/Wednesday, May 26, 2010

When architects want to build an application today, they don’t do so by building everything from scratch. Today’s applications are built on the shoulders of giants—message busses, data stores, authentication systems, payment tools, content delivery networks, and so on.

Page 114: Cloud 101

Wednesday, May 26, 2010

As a result, cloud providers offer a variety of these services. Rackspace has a storage product called Jungledisk; Amazon has S3. The machines that Rackspace or Amazon offer “chew” on data from these storage services.

Page 115: Cloud 101

http://aws.typepad.com/files/JBH_Architecture_Large.pngWednesday, May 26, 2010

If you equate cloud computing with just virtual machines, you’re missing the real point. Clouds applications are built from composed designs, and one of the components happens to be virtual machines.

Page 116: Cloud 101

Managedhosting

Virtualization

Private Public

SaaS

PaaS PaaS

IaaS IaaS

If you want to

talk clouds,

pick one first.

Wednesday, May 26, 2010

So let’s put this in perspective: There are public and private cloud models. Private ones are about the technology; public ones are about the business of outsourcing at scale.And there are Infrastructure, Platform, and Software offerings—IaaS, PaaS, and SaaS.If someone wants to have a conversation with me about clouds, they need to pick a tier, and a private or public model. Then we can compare facts.

Page 117: Cloud 101

Private Public

SaaS

PaaS

IaaS

Security fears

Lock-in concerns

Long-term cost

inefficiencies

High cost of maintaining & scaling machines

Wednesday, May 26, 2010

Just knowing these two dimensions makes you smarter than nearly everyone in IT right now. And when you’re discussing IT, insist that others are specific about what they mean. Discussions around privacy and security are vital to public clouds, but most people don’t consider security different in private clouds. Similarly, lock-in is a real concern in PaaS but negligible in IaaS.

Page 118: Cloud 101

Part seven:The ecosystem

Wednesday, May 26, 2010

Page 119: Cloud 101

Wednesday, May 26, 2010

Lots of people want to move into this space. Some are e-commerce giants (like Amazon) who know how to run many machines well.

Page 120: Cloud 101

Wednesday, May 26, 2010

Some are software companies with legions of developers (like Microsoft) who want to move from software licenses to recurring revenues.

Page 121: Cloud 101

Wednesday, May 26, 2010

Some are managed hosting companies (like Rackspace, Terremark, and Gogrid) who want to sell computing by the hour instead of by the month, and want to have more standardized offerings.

Page 122: Cloud 101

Wednesday, May 26, 2010

Some are giant service companies (like Google) who want people to create millions of applications and keep people using the Web.

Page 123: Cloud 101

Wednesday, May 26, 2010

Some are big systems integrators (like IBM) who want to design and run IT for enterprises.

Page 124: Cloud 101

Wednesday, May 26, 2010

Some are hardware vendors (like Dell) who want to stay in the computing business as it shifts.

Page 125: Cloud 101

Wednesday, May 26, 2010

Some are telecom providers (like AT&T and Verizon) who want to do more than move packets around, and want to make the best use of their existing data centers.

Page 126: Cloud 101

Wednesday, May 26, 2010

Some are even government organizations aiming to build infrastructure for the use of the government itself

Page 127: Cloud 101

http://www.thule-car-roof-boxes.co.uk/pictures/roof-box-with-roof-rack.jpgWednesday, May 26, 2010

This isn’t a comfy place to be right now. Cloud computing has what I call a “roofrack” problem.

Page 128: Cloud 101

Wednesday, May 26, 2010

Page 129: Cloud 101

Wednesday, May 26, 2010

Page 130: Cloud 101

Part eight:So what do I do now?

Wednesday, May 26, 2010

Page 131: Cloud 101

http://www.flickr.com/photos/gideon/6582069/Wednesday, May 26, 2010

Cloud computing isn’t something you can easily ignore.

Page 132: Cloud 101

Wednesday, May 26, 2010

For some applications, particularly those that are bursty or seasonal, the economics are overwhelmingly in its favor.

Page 133: Cloud 101

Cloud Encounters, Peter van Eijk, digitalinfrastructures.nl ! !

"#$$%&'!'()%*!+,#)!-.!

'#!/)01#$!"2#34+,#$'

5%''%,!6%%,($7!0$48#,!9%''%,!,#3'($7:

;

<

=;

=<

>;

><

?;

?<

@;

@<

<;

>@ABA

>;;C

>DABA

>;;C

>CABA

>;;C

?;ABA

>;;C

=ACA

>;;C

?ACA

>;;C

<ACA

>;;C

DACA

>;;C

CACA

>;;C

==ACA

>;;C

=?ACA

>;;C

=<ACA

>;;C

=DACA

>;;C

!"##"$%&'()$*+'*&'((%&+

Connect times to Amazon Cloudfront from NYC

Wednesday, May 26, 2010

Cloud providers keep making their stuff better. Amazon introduced roughly 40 new features last year; and in a single month they upgraded their network in New York twice.

Page 134: Cloud 101

http

://w

ww

.flic

kr.c

om/p

hoto

s/bi

llsel

ak/3

6669

2332

/

Wednesday, May 26, 2010

And clouds make organizations more agile, because they take procurement from weeks to minutes.

Page 135: Cloud 101

Wiley  GAAP  2010:  Interpreta3on  and  Applica3on  of  Generally  Accepted  Accoun3ng  Principles  (By  Barry  J.  Epstein,  Ralph  Nach,  Steven  M.  Bragg)

Expense  reports  can  no  longer  enforce  IT  policy.

Wednesday, May 26, 2010

They also remove the false sense of security that came from expense limits.

Page 136: Cloud 101

Airfare

DNS

Cloud

Publictransit

Importantresearch

Hotel

Wednesday, May 26, 2010

These  days,  supercompu-ng  is  easier  (and  cheaper)  than  booking  a  flight.

Page 137: Cloud 101

We stop worrying about ROI when I is zero.

Wednesday, May 26, 2010

Because there’s no investment, the concept of an ROI doesn’t really make sense.

Page 138: Cloud 101

http

://w

ww

.flic

kr.c

om/p

hoto

s/av

lxyz

/389

0304

08/

Wednesday, May 26, 2010

Even if you’re only going to run a private cloud, you’re dealing with expectations set by the public Internet. Consider an ATM – once, we didn’t mind taking all of lunch to get money out; today, we worry when the bank machine fails to give us our money back in 10 minutes. That’s a bad thing for organizations that don’t handle IT automatically; humans simply can’t move that fast. Efficiency isn’t about how fast you do things; it’s about how many things you don’t have to do because they’re automated.

Page 139: Cloud 101

http://www.flickr.com/photos/stuartpilbrow/2894451883/Wednesday, May 26, 2010

The Internet has a way of routing around obstacles, so if you try to block people from using them, you’ll likely send your stakeholders underground.

Page 140: Cloud 101

Wednesday, May 26, 2010

The best thing to do is offer people an alternative. Set up self-service computing internally and see what happens.

Page 141: Cloud 101

Virtualmachine

Storage Single sign on

Image processing

Key/value store

Parallelframework

Virtual load balancer

Mailing service

Wednesday, May 26, 2010

It also means surrounding them with composed services like storage and message queues. Fortunately, there is a wide variety of offerings to help with this. Hadoop, Cassandra, CouchDB, Hypertable and others are all tools that handle storage, scaling, and parallel tasks, and that you can deploy internally for your users.

Page 142: Cloud 101

Wednesday, May 26, 2010

It also means setting up platforms (such as a web server that can handle PHP code, or a Drupal platform for creating social sites, or a Status.net instance for microblogging,

Page 143: Cloud 101

Wednesday, May 26, 2010

or a Wordpress instance for blogs.)

Page 144: Cloud 101

Wednesday, May 26, 2010

Finally, it means working with SaaS providers when appropriate, but integrating their applications with your internal data and processes

Page 145: Cloud 101

http

://w

ww

.flic

kr.c

om/p

hoto

s/ja

mes

jord

an/3

4239

0595

9

Wednesday, May 26, 2010

For IT, and governments, cloud computing is a trigger. It means it’s time to rebalance your computing decisions.

Page 146: Cloud 101

http://www.flickr.com/photos/joconnell/504783550/Wednesday, May 26, 2010

With clouds, there’s a spectrum of IT options. Different applications live in different places in this new world.

Page 147: Cloud 101

Baremetal

VirtualizationIaaS

<script>Hello, world!</script>

PaaSMashup,RESTfulservices

Public/privatehybrid models

DevelopersData centers Contracts

Wednesday, May 26, 2010

Different applications live in different places in this new world.

Page 148: Cloud 101

http

://w

ww

.flic

kr.c

om/p

hoto

s/23

9125

76@

N05

/347

6080

117/

Wednesday, May 26, 2010

Here’s a five-step plan for embracing clouds.

Page 149: Cloud 101

http://www.flickr.com/photos/quinnanya/4569703917/Wednesday, May 26, 2010

First, you need to assess your existing applications. Make a list of everything you’ve got, or plan to have. You should also baseline usage, performance, and other “before” metrics so you can compare them to the results of your efforts after you’ve moved.

Page 150: Cloud 101

http://ww

w.flickr.com

/photos/rptnorris/3453936781/

Wednesday, May 26, 2010

Then, you need to rebalance your applications. Evaluate each application along two dimensions: how suitable is the application for migration, and what’s the payoff.

Page 151: Cloud 101

http://www.flickr.com/photos/cowcoptim/4104360701/Wednesday, May 26, 2010

Some applications, like legacy ERPs or old mainframe tools, won’t migrate easily. They’re not well suited to a virtualized, on-demand model where users can spin up resources as needed.

Page 152: Cloud 101

http

://w

ww

.flic

kr.c

om/p

hoto

s/sh

arif/

2423

1440

88/

Wednesday, May 26, 2010

Others, like web front-ends or parallel data processing tasks like analytics, that can be split up, work really well in clouds.

Page 153: Cloud 101

Some thingsaren’t worth moving.

Wednesday, May 26, 2010

At the same time, some applications won’t benefit much from a cloud model. Something that runs constantly may be more affordable to run in-house.

Page 154: Cloud 101

http://www.flickr.com/photos/aprilzosia/3002232587/Wednesday, May 26, 2010

Other applications may have a massive budget savings when they move to the cloud. Something that happens once a year but needs tremendous computing for the three days it runs is a candidate for clouds. So, too, is something that users are constantly requesting, and that your IT team spends a lot of time managing. Automate it!

Page 155: Cloud 101

Always on premise

Private

Compliance-enforced

Need to track and audit

Legislative

Data near local computation

Can be done anywhere

Testing

Training

Prototyping

Batch processing

Seasonal load

Always in cloud

Partner access

Proximity to cloud services (storage,

CDN, etc.)

Massively grid/parallel (genomic,

modelling)Lo

ad/p

ricin

g en

gine

Polic

y en

gine

Virtual machine(infrastructure cloud)

Compute task(service cloud)

Wednesday, May 26, 2010

Going forward, we’ll see hybrid on-premise/on demand hybrid clouds that can intelligently move processing tasks between private an public infrastructure according to performance requirements, pricing policies, and security restrictions.

Page 156: Cloud 101

http://www.flickr.com/photos/rberteig/1451038457/Wednesday, May 26, 2010

Third step: You have to migrate things to the new environments. This means moving stuff around—hopefully the high-payoff, easy-to-move stuff first. There’s no magic here: you’ll need to make your applications portable, which means virtualizing them; and you may need to modify some code.

Page 157: Cloud 101

http

://w

ww

.flic

kr.c

om/p

hoto

s/as

tro-

dude

s/24

2428

3150

/

Wednesday, May 26, 2010

Step four is to optimize things. In their new homes, some applications won’t perform as well. You’ll need to compare how they’re doing now to how they were doing before, and tweak things to ensure equivalent performance, uptime, security, and scalability.

Page 158: Cloud 101

http

://w

ww

.flic

kr.c

om/p

hoto

s/ge

ofth

eref

/225

3511

823/

Wednesday, May 26, 2010

Finally, in step five you need to operate things differently. Cloud computing is as much about a cultural shift in IT: you’re operating a self-service business.

Page 159: Cloud 101

http://www.flickr.com/photos/hojusaram/2527256358/Wednesday, May 26, 2010

You’re not doing the IT work any more; you’re managing the scripts and systems that let users do the IT work themselves. You have a very different relationship with your end users.

Page 160: Cloud 101

http://www.flickr.com/photos/avlxyz/1193082725/Wednesday, May 26, 2010

You’re providing the environment for them to innovate, giving them turnkey sets of services with which to work. Where they come from is immaterial.

Page 161: Cloud 101

http://www.flickr.com/photos/novecentino/2340521934/Wednesday, May 26, 2010

You’re ensuring that the systems you’ve built are functioning properly however end users want to use them, rather than running the applications or data within those systems.

Page 162: Cloud 101

http://www.codeproject.com/KB/miscctrl/ScriptStudio.aspx Wufoo.comWednesday, May 26, 2010

Your end users aren’t necessarily technical -- they’re able to build applications easily, and want the tools to experiment.

Page 163: Cloud 101

http://www.flickr.com/photos/roebot/4271975019/Wednesday, May 26, 2010

At the same time, you’re seeing what tools and processes are getting adopted -- what’s working? what’s popular? -- and doubling down on those things.

Page 164: Cloud 101

http://www.flickr.com/photos/steven_wong/2440355239/Wednesday, May 26, 2010

You’re giving your users places to experiment.

Page 165: Cloud 101

http://www.flickr.com/photos/jelles/2902422030/Wednesday, May 26, 2010

To some extent, you’re “paving the cowpaths.”

Page 166: Cloud 101

http://www.flickr.com/photos/32314864@N02/3253051215/Wednesday, May 26, 2010

This is an old civil engineering trick: Watch where people walk, then put paths there.

Page 167: Cloud 101

Part nine:Conclusions.

Wednesday, May 26, 2010

Page 168: Cloud 101

Massive disruption on the horizonClouds are extremely disruptive to the way IT works

Wednesday, May 26, 2010

Page 169: Cloud 101

Virtualization let the genie out of the bottleClouds arose from virtualization, which made application workloads portable

Wednesday, May 26, 2010

Page 170: Cloud 101

Clouds start with separation

Separation is key

Determines economics, lock-in, responsibility, risk

Wednesday, May 26, 2010

One of the fundamentals of a cloud is the separation of the provider from the user at some layer in the stackWhere that separation happens determines economics, responsibilities, risk, and lock-in

Page 171: Cloud 101

Business vs. technology

Know the difference

Clouds-as-tech: Virtualized, automated

Clouds-as-business: 3rd party, shared

Force others to be clear

Wednesday, May 26, 2010

Page 172: Cloud 101

Two main divisionsIaaS/PaaS/SaaS

Public/Private

Wednesday, May 26, 2010

Page 173: Cloud 101

One size does not fit allUltimately, the blend of these different models will vary from organization to organization

Wednesday, May 26, 2010

Page 174: Cloud 101

Five steps to cloud migration

Assess Balance Migrate Optimize Operate

Wednesday, May 26, 2010

Page 175: Cloud 101

Ecosystem is in fluxThe ecosystem is competitive and confusing right now, with few standards and a lot of noise

Wednesday, May 26, 2010

Page 176: Cloud 101

http://www.flickr.com/photos/sparkys/3434382326/Wednesday, May 26, 2010

It will probably wind up looking like airlines.

Page 178: Cloud 101

Representation is a hack

The big picture

Wednesday, May 26, 2010

It will probably wind up looking like airlines.

Page 179: Cloud 101

Thanks!@[email protected]

Wednesday, May 26, 2010