to cloud or not to. - microsoft.com...july 18, 2011stony brook network security and applied...
TRANSCRIPT
![Page 1: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/1.jpg)
ver 2.2 widescreen
To Cloud or Not To. An exploration of the economics
of clouds and cyber-security.
radu sion
![Page 2: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/2.jpg)
2 July 18, 2011
Economics of Clouds
Stony Brook Network Security and Applied Cryptography Laboratory
Feynman Moment
“I have experience only in teaching graduate students […] and as a result […] I know that I don't know how to teach.“ please interrupt and engage!
![Page 3: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/3.jpg)
3 July 18, 2011
Economics of Clouds
Stony Brook Network Security and Applied Cryptography Laboratory
Density
![Page 4: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/4.jpg)
4 July 18, 2011
Economics of Clouds
Stony Brook Network Security and Applied Cryptography Laboratory
Speed
Source: “Gigascale Integration-Challenges and Opportunities”,
Shekhar Borkar, Director, Microprocessor Technology, Intel
![Page 5: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/5.jpg)
5 July 18, 2011
Economics of Clouds
Stony Brook Network Security and Applied Cryptography Laboratory
Networks
“high end connection speed grows 50% per year”
![Page 6: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/6.jpg)
6 July 18, 2011
Economics of Clouds
Stony Brook Network Security and Applied Cryptography Laboratory
The cloud government corporations healthcare
consumers
mobile
computing
storage
knowledge
e-services
“Utility” Computing Transparency Availability Extremely cheap Efficient On-Demand
Online Services Software Platforms Infrastructure Knowledge
global, massive data centers
![Page 7: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/7.jpg)
7 July 18, 2011
Economics of Clouds
Stony Brook Network Security and Applied Cryptography Laboratory
Clouds v. Grids v. …
+ Control Structure + Illusion of “Unlimited” + No up-front commitment (“pay as you go”) + On-demand + (Very) Short-term allocation + Close to 100% Transparency + Increased Platform Independence + It is actually here and happening!
![Page 8: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/8.jpg)
8 July 18, 2011
Economics of Clouds
Stony Brook Network Security and Applied Cryptography Laboratory
Buzzword Bandwagon
![Page 9: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/9.jpg)
9 July 18, 2011
Economics of Clouds
Stony Brook Network Security and Applied Cryptography Laboratory
Flavors
Traditional Outsourcing [(Semi)Private Clouds] ACME Corp. manages servers for XYZ Financials Clouds Amazon EC2, Google Apps, MS Azure Managed servers Un-managed hardware
![Page 10: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/10.jpg)
10 July 18, 2011
Economics of Clouds
Stony Brook Network Security and Applied Cryptography Laboratory
Should I buy it?
costs vs. benefits
clients
costs technology costs
cost of security etc.
benefits availability
opportunity consolidation
etc. the “cloud”
![Page 11: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/11.jpg)
11 July 18, 2011
Economics of Clouds
Stony Brook Network Security and Applied Cryptography Laboratory
Core costs of computing
+ Storage ($/MByte/year) + Computing ($/CPU Cycles) + Networking ($/bit)
![Page 12: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/12.jpg)
12 July 18, 2011
Economics of Clouds
Stony Brook Network Security and Applied Cryptography Laboratory
Reality is way more mundane
Hardware servers, disks, network, racks, power, cooling
Energy power, cooling, infrastructure
People/Service maintenance, development
Space
![Page 13: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/13.jpg)
13 July 18, 2011
Economics of Clouds
Stony Brook Network Security and Applied Cryptography Laboratory
Size does matter
Home Users (1-10 CPUs) “no” rent/cooling/administration
Small Enterprises (up to 1k)
no custom hardware, low utilization
Mid-size Enterprises (up to 20k) better network service, better utilization
Large/Clouds (50k+)
![Page 14: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/14.jpg)
14 July 18, 2011
Economics of Clouds
Stony Brook Network Security and Applied Cryptography Laboratory
Clouds
+ Custom hardware + Efficient cooling + Cross-timezone load shifting + High CPU utilization + Preferential network deals + High Power Usage Efficiency (PUE)
![Page 15: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/15.jpg)
15 July 18, 2011
Economics of Clouds
Stony Brook Network Security and Applied Cryptography Laboratory
Understand cost of CPU cycle
![Page 16: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/16.jpg)
16 July 18, 2011
Economics of Clouds
Stony Brook Network Security and Applied Cryptography Laboratory
CPU cycle cost (circa 2009)
1 picocent = 10-14 USD
![Page 17: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/17.jpg)
17 July 18, 2011
Economics of Clouds
Stony Brook Network Security and Applied Cryptography Laboratory
Consumer clouds today
Provider Picocents
Google 0.5 – 2.31
Microsoft 0.7 – 1.96
Amazon 0.93 – 2.36
Rackspace 0.02 – 2.4
![Page 18: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/18.jpg)
18 July 18, 2011
Economics of Clouds
Stony Brook Network Security and Applied Cryptography Laboratory
Breakdown
![Page 19: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/19.jpg)
19 July 18, 2011
Economics of Clouds
Stony Brook Network Security and Applied Cryptography Laboratory
So: is it worth it?
Mostly yes ...
1 cloud cycle 0.58 picocents
clients
Why ?
1 client cycle 6-27 US picocents
![Page 20: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/20.jpg)
20 July 18, 2011
Economics of Clouds
Stony Brook Network Security and Applied Cryptography Laboratory
What about the tubes?
![Page 21: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/21.jpg)
21 July 18, 2011
Economics of Clouds
Stony Brook Network Security and Applied Cryptography Laboratory
We are far!
![Page 22: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/22.jpg)
22 July 18, 2011
Economics of Clouds
Stony Brook Network Security and Applied Cryptography Laboratory
We are far!
![Page 23: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/23.jpg)
23 July 18, 2011
Economics of Clouds
Stony Brook Network Security and Applied Cryptography Laboratory
Additional ammunition?
Up to 350 for 3 year lifetime!
![Page 24: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/24.jpg)
24 July 18, 2011
Economics of Clouds
Stony Brook Network Security and Applied Cryptography Laboratory
Storage capacity over time
![Page 25: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/25.jpg)
25 July 18, 2011
Economics of Clouds
Stony Brook Network Security and Applied Cryptography Laboratory
So: should I buy a piece of sky?
… not always.
CPU Cycle 0.58 picocents
1 bit storage/year 5.3-6 picocents
clients
CPU Cycle 6-27 picocents
1 bit storage/year 6 picocents
1 bit network transfer 800-6000 picocents
![Page 26: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/26.jpg)
26 July 18, 2011
Economics of Clouds
Stony Brook Network Security and Applied Cryptography Laboratory
Liar Liar
![Page 27: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/27.jpg)
27 July 18, 2011
Economics of Clouds
Stony Brook Network Security and Applied Cryptography Laboratory
App Owner = Sole Client
CPU Cycle 6-27 picocents CPU Cycle
0.58 picocents
Network >5500 picocents/bit (owner expense)
clients (internal)
app owner
Network very cheap
![Page 28: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/28.jpg)
28 July 18, 2011
Economics of Clouds
Stony Brook Network Security and Applied Cryptography Laboratory
So when is it clearly worth it? Q: is the application doing enough
computation work (cheaper) to offset the distance cost to the cloud?
First Principle of Cloud Viability It is not worth outsourcing any task of less than 4000 CPU cycles per transferred 32-bit input.
![Page 29: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/29.jpg)
29 July 18, 2011
Economics of Clouds
Stony Brook Network Security and Applied Cryptography Laboratory
Why should this hold tomorrow?
Difference of exponentials is exponential Moore vs. Nielsen
![Page 30: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/30.jpg)
![Page 31: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/31.jpg)
31 July 18, 2011
Economics of Clouds
Stony Brook Network Security and Applied Cryptography Laboratory
We had only partial view
The actual question to ask: what is the overall application profile (comp+net+storage)
Second Principle of Cloud Viability (paraphrased) “It is almost always worth outsourcing”
![Page 32: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/32.jpg)
32 July 18, 2011
Economics of Clouds
Stony Brook Network Security and Applied Cryptography Laboratory
App Owner != Client(s)
CPU Cycle 0.58 picocents
client
Network >500 picocents/bit (owner expense)
client client
Network >5000 picocents/bit (owner expense)
CPU Cycle 6-27 picocents
app owner
![Page 33: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/33.jpg)
33 July 18, 2011
Economics of Clouds
Stony Brook Network Security and Applied Cryptography Laboratory
Thus
cloud deployment saves + >4500 picocents per client-to-app traffic bit + tens of picocents per CPU cycle.
![Page 34: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/34.jpg)
34 July 18, 2011
Economics of Clouds
Stony Brook Network Security and Applied Cryptography Laboratory
What about other goodies?
![Page 35: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/35.jpg)
35 July 18, 2011
Economics of Clouds
Stony Brook Network Security and Applied Cryptography Laboratory
Are clouds more or less secure?
+ Yes + But what is security?!
![Page 36: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/36.jpg)
36 July 18, 2011
Economics of Clouds
Stony Brook Network Security and Applied Cryptography Laboratory
Trusting stuff …
“behave in the expected manner for
the intended purpose”
![Page 37: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/37.jpg)
37 July 18, 2011
Economics of Clouds
Stony Brook Network Security and Applied Cryptography Laboratory
Usually the monkey gets you
_____ Voting Machine
online public picture of actual key
![Page 38: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/38.jpg)
38 July 18, 2011
Economics of Clouds
Stony Brook Network Security and Applied Cryptography Laboratory
Usual suspects
clients
malicious client code isolation, sandboxing, VM
network security ID, SSL, firewalls
![Page 39: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/39.jpg)
39 July 18, 2011
Economics of Clouds
Stony Brook Network Security and Applied Cryptography Laboratory
Secure Outsourcing
Finance Inc.
proprietary financial models and business logic, sensitive
compliance-governed customer/market data
![Page 40: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/40.jpg)
40 July 18, 2011
Economics of Clouds
Stony Brook Network Security and Applied Cryptography Laboratory
Ideas
data server data clients
encrypted
plaintext
Outsourced
Data
“outsourcing”
1
On
line
Qu
ery
Inte
rface
Query Processor
Data queries
2
query results, assurances
3
Query
Pre/Post-
Processing
Data Pre-
Processor
assurances {query correctness, data confidentiality, access privacy}
(un-trusted)
“owner”
![Page 41: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/41.jpg)
41 July 18, 2011
Economics of Clouds
Stony Brook Network Security and Applied Cryptography Laboratory
Brute-forcing 80 bit key?
Oracle costs ~ 1 picocent/bit.
280 x 80 / 2 = 5 x 283 picocents ~ $483.5 billion
for 64 bits … $5 million
![Page 42: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/42.jpg)
42 July 18, 2011
Economics of Clouds
Stony Brook Network Security and Applied Cryptography Laboratory
What can you buy with $1 ?
500,000 2048-bit DSA sigs (in the comfort of your home)
![Page 43: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/43.jpg)
![Page 44: To Cloud or Not To. - microsoft.com...July 18, 2011Stony Brook Network Security and Applied Cryptography Laboratory 7 Clouds v. Grids v. … Economics of Clouds + Control Structure](https://reader034.vdocuments.site/reader034/viewer/2022050111/5f48514a8c525231264f4ef2/html5/thumbnails/44.jpg)