What is it?
“Cloud computing is a style of computing in which
dynamically scalable and often virtualized resources
are provided as a service over the Internet” - Wikipedia
01 Silvio Revelli
01- 06 - 2009
Company Name Cloud Computing vs Traditional ICT
Cloud Computing
What is it?
“Cloud computing is a style of computing in which
dynamically scalable and often virtualized resources
are provided as a service over the Internet” - Wikipedia
01 Silvio Revelli
01- 06 - 2009
Company Name Cloud Computing vs Traditional ICT
Cloud Computing
What is it?
“Cloud computing is a style of computing in which
dynamically scalable and often virtualized resources
are provided as a service over the Internet” - Wikipedia
01 Silvio Revelli
01- 06 - 2009
Company Name Cloud Computing vs Traditional ICT
Cloud Computing
Why Cloud Computing?
01 Silvio Revelli
01- 06 - 2009
Company Name Cloud Computing vs Traditional ICT
Cloud Computing
Why Cloud Computing?
Money!
no large investments - no opportunity costs - no customers lost
01 Silvio Revelli
01- 06 - 2009
Company Name Cloud Computing vs Traditional ICT
Cloud Computing
01 Silvio Revelli
01- 06 - 2009
Company Name Cloud Computing vs Traditional ICT
Cloud Computing
Cloud computing is a business solution!
It’s a device that allows costs-curve to follow the needs-curve.
01 Silvio Revelli
01- 06 - 2009
Company Name Cloud Computing vs Traditional ICT
Cloud Computing
Cloud computing is a business solution!
It’s a device that allows costs-curve to follow the needs-curve.
TWITTER
ANIMOTO Social Network
Startup
Uses the Cloud for 1 Billion $ market cap
creating videos from images and sounds. Uses the Cloud for
static content storage
01 Silvio Revelli
01- 06 - 2009
Company Name Cloud Computing vs Traditional ICT
Cloud Computing
Cloud computing is a business solution!
It’s a device that allows costs-curve to follow the needs-curve.
TWITTER
ANIMOTO Social Network
Startup
Uses the Cloud for 1 Billion $ market cap
creating videos from images and sounds. Uses the Cloud for
static content storage
01 Silvio Revelli
01- 06 - 2009
Company Name Cloud Computing vs Traditional ICT
Cloud Computing
A case study:
01 Silvio Revelli
01- 06 - 2009
Company Name Cloud Computing vs Traditional ICT
Cloud Computing
A case study:
MONDAY
They had an 25.000 users.
01 Silvio Revelli
01- 06 - 2009
Company Name Cloud Computing vs Traditional ICT
Cloud Computing
A case study:
TUESDAY
They had an 50.000 users.
01 Silvio Revelli
01- 06 - 2009
Company Name Cloud Computing vs Traditional ICT
Cloud Computing
A case study:
THURSDAY
They had an 250.000 users.
01 Silvio Revelli
01- 06 - 2009
Company Name Cloud Computing vs Traditional ICT
Cloud Computing
A case study:
01 Silvio Revelli
01- 06 - 2009
MAIL: silviorevelli@gmail.com
WEBSITE: www.silviorevelli.com
Cloud Computing vs Traditional ICT
Cloud Computing
A case study:
Thursday (17-04-2008)
3500 server instances
Monday (14-04-2008)
35 server instances
01 Silvio Revelli
01- 06 - 2009
MAIL: silviorevelli@gmail.com
WEBSITE: www.silviorevelli.com
Cloud Computing vs Traditional ICT
Cloud Computing
A case study:
If you think it phisically it means that you can turn this:
01 Silvio Revelli
01- 06 - 2009
MAIL: silviorevelli@gmail.com
WEBSITE: www.silviorevelli.com
Cloud Computing vs Traditional ICT
Cloud Computing
A case study:
If you think it phisically it means that you can turn this:
01 Silvio Revelli
01- 06 - 2009
MAIL: silviorevelli@gmail.com
WEBSITE: www.silviorevelli.com
Cloud Computing vs Traditional ICT
Cloud Computing
A case study:
If you think it phisically it means that you can turn this:
into this
(x1000)
01 Silvio Revelli
01- 06 - 2009
MAIL: silviorevelli@gmail.com
WEBSITE: www.silviorevelli.com
Cloud Computing vs Traditional ICT
Cloud Computing
A case study:
If you think it phisically it means that you can turn this:
into this
(x1000)
in just 3 days!!!
01 Silvio Revelli
01- 06 - 2009
MAIL: silviorevelli@gmail.com
WEBSITE: www.silviorevelli.com
Cloud Computing vs Traditional ICT
Cloud Computing
By the way: in June 2009 Animoto was already cash-flow positive,
received funding for $4.4M, had 13 employees, and more than 8 millions videos converted.
01 Silvio Revelli
01- 06 - 2009
MAIL: silviorevelli@gmail.com
WEBSITE: www.silviorevelli.com
Cloud Computing vs Traditional ICT
Amazon EC2
You (or your automated application) can launch instances within seconds
using REST or SOAP messages.
01 Silvio Revelli
01- 06 - 2009
MAIL: silviorevelli@gmail.com
WEBSITE: www.silviorevelli.com
Cloud Computing vs Traditional ICT
Amazon EC2
You (your application) have the full root control on the machine:
this means that you can customize everything, also the OS.
01 Silvio Revelli
01- 06 - 2009
MAIL: silviorevelli@gmail.com
WEBSITE: www.silviorevelli.com
Cloud Computing vs Traditional ICT
Amazon EC2
You can also create your AMI: after customizing your machine
you can boundle it into an AMI (it’s like taking a photo).
Then you must store it into your S3 bucket.
01 Silvio Revelli
01- 06 - 2009
MAIL: silviorevelli@gmail.com
WEBSITE: www.silviorevelli.com
Cloud Computing vs Traditional ICT
Amazon EC2 - CloudWatch
When your application is up and running on your EC2 instance,
you can monitor its status (CPU, Memory, Delays, I/O)
with the recently introduced CloudWatch.
01 Silvio Revelli
01- 06 - 2009
MAIL: silviorevelli@gmail.com
WEBSITE: www.silviorevelli.com
Cloud Computing vs Traditional ICT
Amazon EC2 - CloudWatch
Using Elastic Load Balancing, you can distribute incoming
traffic across your Amazon EC2 instances.
Elastic Load Balancing can detect the health of Amazon EC2 instances.
01 Silvio Revelli
01- 06 - 2009
MAIL: silviorevelli@gmail.com
WEBSITE: www.silviorevelli.com
Cloud Computing vs Traditional ICT
Amazon EC2 - CloudWatch
Auto Scaling enables you to set conditions (triggers on avarage
fleet CPU, Memory, Delays, I/O) for when you want to scale up or down
your Amazon EC2 usage.
01 Silvio Revelli
01- 06 - 2009
MAIL: silviorevelli@gmail.com
WEBSITE: www.silviorevelli.com
Cloud Computing vs Traditional ICT
Amazon EC2 - MapReduce
Using Amazon Elastic MapReduce, you can instantly provision
as much or as little capacity as you like to perform data-intensive
tasks for applications such as web indexing, data mining,
log file analysis, machine learning, financial analysis,
scientific simulation, and bioinformatics research.
01 Silvio Revelli
01- 06 - 2009
MAIL: silviorevelli@gmail.com
WEBSITE: www.silviorevelli.com
Cloud Computing vs Traditional ICT
Amazon EC2 - MapReduce
Let’s start from the final result.
The Output should be something like this: ((word,docname),TF*IDF)
01 Silvio Revelli
01- 06 - 2009
MAIL: silviorevelli@gmail.com
WEBSITE: www.silviorevelli.com
Cloud Computing vs Traditional ICT
Amazon EC2 - MapReduce
In order to calculate this: ((word,docname),TF*IDF)
where:
tf = term frequency in the document
nt = total number of terms in document
df = number of documents that contains term
assuming that:
TF = tf/nt
IDF = log(N/df )
01 Silvio Revelli
01- 06 - 2009
MAIL: silviorevelli@gmail.com
WEBSITE: www.silviorevelli.com
Cloud Computing vs Traditional ICT
Amazon EC2 - MapReduce
An so we cod a MapReduce function like this:
TERM FREQUENCY
Mapper
Input: (docname,contents)
Output: ((word,docname),1)
Reducer:
Sums the word in the document
Outputs: ((word,document),tf )
01 Silvio Revelli
01- 06 - 2009
MAIL: silviorevelli@gmail.com
WEBSITE: www.silviorevelli.com
Cloud Computing vs Traditional ICT
Amazon EC2 - MapReduce
An so we cod a MapReduce function like this:
WORD COUNTS
Mapper
Input: ((word,document),tf )
Output: (docname,(word,tf ))
Reducer:
Sums the frequency of individual n’s in the document
feeds original data
Outputs: ((word,document),(tf,nt))
01 Silvio Revelli
01- 06 - 2009
MAIL: silviorevelli@gmail.com
WEBSITE: www.silviorevelli.com
Cloud Computing vs Traditional ICT
Amazon EC2 - MapReduce
An so we cod a MapReduce function like this:
Mapper
Input: ((word,document),(tf,nt))
Output: (word,(docname,tf,nt,1))
Reducer:
Sums counts for word in corpus
Outputs: ((word,document),(tf,nt,df ))
That was what we need. With only a mapping activity we arrive at the
vector space table: ((word,document),TF*IDF)
01 Silvio Revelli
01- 06 - 2009
MAIL: silviorevelli@gmail.com
WEBSITE: www.silviorevelli.com
Cloud Computing vs Traditional ICT
Amazon EC2 - MapReduce
With Amazon MapReduce you can perform the map-reducing task
with a potentially unlimited computational power.
This is a screeshot of the implementation of tf on AWS (wordSplitter.py):
01 Silvio Revelli
01- 06 - 2009
MAIL: silviorevelli@gmail.com
WEBSITE: www.silviorevelli.com
Cloud Computing vs Traditional ICT
Amazon EC2 - MapReduce
The higher the number of map-reduce instances the shorter the time
to perform the entire job-flow.
01 Silvio Revelli
01- 06 - 2009
MAIL: silviorevelli@gmail.com
WEBSITE: www.silviorevelli.com
Cloud Computing vs Traditional ICT
Amazon EC2 - S3
Amazon S3:
Write, read, and delete objects containing from
1 byte to 5 gigabytes of data each.
01 Silvio Revelli
01- 06 - 2009
MAIL: silviorevelli@gmail.com
WEBSITE: www.silviorevelli.com
Cloud Computing vs Traditional ICT
Bye!
Send me comments!
silviorevelli@gmail.com
http://silviorevelli.com
01 Silvio Revelli
01- 06 - 2009
MAIL: silviorevelli@gmail.com
WEBSITE: www.silviorevelli.com
Cloud Computing vs Traditional ICT