Cloud Computing Infrastructure: Take A Seat & Prepare To Fly
Cloud Computing Infrastructure: Take A Seat & Prepare To Fly
INFRASTRUCTURE
TAKE A SEAT & PREPARE TO FLY
1 Anh M. Nguyen
CS525, UIUC, Spring 2009
GOALS
Define
Cloud:public cloud, private cloud
Cloud Computing
Why cloud computing?
Obstacles & opportunities
2
WHAT IS CLOUD COMPUTING?
I don’t understand what we would do differently
in the light of Cloud Computing other than change
the wordings of some of our ads
Larry Ellision, Oracle’s CEO
3
SOFTWARE AS A SERVICE (SAAS)
Application is used as an on demand service. Often
provided via the Internet
Think on-demand TV programs
Example: Google App (online office)
Benefits to users
Reduce expenses: multiple computers, multiple users
Ease of usage: easy installation, access everywhere
Benefits to providers
Easierto maintain
Control usage (no illegal copies)
4
UTILITY COMPUTING (UC)
Computing resources (cpu hour, memory, network) and
platform to run software are provided as on demand
service
Think electricity service
The same evolution happened
Hardware as a service (HaaS), Infrastructure as a service
(IaaS), Platform as a Service (PaaS)
Examples of UC providers: Amazon EC2, Google
AppEngine …
Who will use UC? Is UC the end of high-end PC?
Peoplewho otherwise has to build their own data center:
SaaS providers, analytics & batch processing
5
UTILITY COMPUTING - BENEFIT TO
USERS
Mitigate the risks of over-provisioning and under-
provisioning
No up-front cost, invest on other aspects
(marketing, technology…)
Less maintenance & operational cost
6
UTILITY COMPUTING – MITIGATE RISKS
Capacity
Real world utilization 5%-20%
Animoto demand surge:
from 50 servers to 3500
servers in 3 days
Black Friday sales
Demand
Over-provisioning t
Capacity Capacity
Demand Demand
t 1 2 3 t 7
On demand, scalable
Under-provisioning
UTILITY COMPUTING – BENEFIT TO
PROVIDERS
Make money
Economies of scale
Resource Cost for medium scale Cost for large scale Ratio
Network $95 / Mbps / month $13 / Mbps / month ~7x
Storage $2.20 / GB / month $0.40 / GB / month ~6x
Administration ≈140 servers/admin >1000 servers/admin ~7x
10
UTILITY COMPUTING - GOOGLE
APPENGINE
Write your web program in Python and submit to
Google. It will take care of the rest
How to use
Download AppEngine SDK
Develop your program locally
A set of python programs, input = requested url, output =
return message
Debug locally
Registerfor an application id
Submit your application to Google
11
GOOGLE APPENGINE – HELLO WORLD
Cre
U
M
anage using Administration Console
Set up domain name
Invite other people to be developers
View error logs, traffic logs
Switch between different versions 13
GOOGLE APPENGINE
Characteristics
Easy to start, little administration
Scale automatically
Reliable
Integrate with Google user service: get user nickname, request
login…
Cost:
Can set daily quota
CPU hour: 1.2 GHz Intel x86 processor
Free quotas going to be reduced soon
15
EC2 Azure AppEngine
Force.com
DETAILED COMPARISON
Amazon Google AppEngine
Computation •x86 Instruction Set Architecture •Predefined 3-tiers Web app
model •Not scalable by default. Can structure
use 3rd party service such as •Fixed language: Python
RightScale •Automatic scaling up and
down
Storage model•Scaling varies from none (EBS) •Fixed API: BigTable
to fully automatic (SimpleDB, S3) •Automatic scaling
16
WHAT IS A CLOUD?
Software and hardware to operate datacenters
Public cloud: cloud used to provide utility computing
Amazon EC2: Amazon datacenters, Xen, EC2 APIs and
administrative interface
Google AppEngine: Google data center, GFS,
AppEngine APIs, administrative interface…
Batch processing softwares: MapReduce, Hadoop, Pig,
Dryad
Private cloud: datacenters, not available for rental
18
CLOUD COMPUTING
Cloud Computing = SaaS + PaaS (utility computing)
Electricity
Cloud TV Video On Demand
(Cloud Computing) (SaaS) On Demand
(PaaS)
19
WHAT IS NEW IN CLOUD COMPUTING
The illusion of infinite computing resources
The elimination of an up-front commitment by users
21
SHOULD I MOVE INTO A CLOUD
Does it really save money?
22
ADOPTION CHALLENGES
Challenge Opportunity
Availability Multiple providers
Data lock-in Standardization
Data Confidentiality and Encryption, VLANs, Firewalls
Auditability
23
23
ADOPTION CHALLENGES
24
Challenge Opportunity
25
GROWTH CHALLENGES
Data transfer bottle neck
WAN cost reduces slowest:
2003 2008: WAN 2.7x, CPU 16x, storage 10x
Fastest way to transfer large data: send the disks
Performance unpredictability
Large variation in I/O operations
Inefficiency in I/O virtualization
26
POLICY AND BUSINESS CHALLENGE
Challenge Opportunity
27
THE FUTURE?
Application software:
Cloud & client parts, disconnection tolerance
Infrastructure software:
Resource accounting, VM awareness
Hardware systems:
Containers, energy proportionality
28
DISCUSSION
Is their definition correct?
What applications of cloud computing in your
research area that you can think of?
Which service would you choose, EC2 or
GoogApp?
Can you predict the future of cloud computing?
29
REFERENCES
Above the Clouds: A Berkeley View of Cloud Computing, Michael
Armbrust et al, Feb 2009 (white paper and presentation)
Google AppEngine: http://code.google.com/appengine/
Amazon EC2: http://aws.amazon.com/ec2/
Lessons From The Demise Of A Cloud Startup, John Foley, Feb 2009
Cloud Control, InformationWeek Reports, 2009
30
ARE YOU READY FOR A RIDE?
31
BACKUP SLIDES
32
RIGHTSCALE
$2500 initial fee
$500 monthly
33