SlideShare a Scribd company logo
1 of 57
Download to read offline
Cloud Computing in Practice


King Chung Huang
Technical Solutions Analyst, University of Calgary
“Using services in the cloud,
 develop a large-scale
 video conversion system.”
What is Cloud Computing?
“Cloud computing is simply a buzzword used to repackage grid
computing and utility computing, both of which have existed for
decades.”




                                whatis.com
                                definition of Cloud Computing
“The interesting thing about cloud computing is that we’ve
redefined cloud computing to include everything that we
already do. […] The computer industry is the only industry that
is more fashion-driven than women’s fashion. Maybe I’m an idiot,
but I have no idea what anyone is talking about. What is it? It’s
complete gibberish. It’s insane. When is this idiocy going to stop?


                                  Larry Ellison
                                  during Oracle’s Analyst Day
“The interesting thing about cloud computing is that we’ve
redefined cloud computing to include everything that we
already do. […] The computer industry is the only industry that
is more fashion-driven than women’s fashion. Maybe I’m an idiot,
but I have no idea what anyone is talking about. What is it? It’s
complete gibberish. It’s insane. When is this idiocy going to stop?


                                  Larry Ellison
                                  during Oracle’s Analyst Day
Getting Started
Infrastructure Services   Payments & Billing          Web Search & Information

Elastic Compute Cloud     Flexible Payments Service   Web Search

Simple Storage Service    DevPay                      Web Information Service

Simple Queue Service                                  Top Sites

SimpleDB                  Fulfillment & Associates    Site Thumbnail

                          Fulfillment Web Service

                          Associates Web Service      On-Demand Workforce

                                                      Mechanical Turk
Infrastructure Services   Payments & Billing          Web Search & Information

Elastic Compute Cloud     Flexible Payments Service   Web Search

Simple Storage Service    DevPay                      Web Information Service

Simple Queue Service                                  Top Sites

SimpleDB                  Fulfillment & Associates    Site Thumbnail

                          Fulfillment Web Service

                          Associates Web Service      On-Demand Workforce

                                                      Mechanical Turk
Infrastructure Services   Payments & Billing          Web Search & Information

Elastic Compute Cloud     Flexible Payments Service   Web Search

Simple Storage Service    DevPay                      Web Information Service

Simple Queue Service                                  Top Sites

SimpleDB                  Fulfillment & Associates    Site Thumbnail

                          Fulfillment Web Service

                          Associates Web Service      On-Demand Workforce

                                                      Mechanical Turk
Amazon Mechanical Turk
• Marketplace for work that requires human intelligence
   ■ Enables programmatic distribution of tasks that require
     human intelligence
• Human Intelligence Tasks (HITs)
   ■ Desired output

   ■ Format of output

   ■ Pay rate

• Only pay for quality work
   ■ Review results and pay for accepted work
Ten Thousand Cents
• Drawing collected from November 2007 to March 2008
• Total labour paid: US$100
   ■ 1¢ per part × 10 000 parts

• Prints available for purchase
   ■ $100 each
Video Conversion Plan
• Upload source content to Simple Storage Service (S3)
• Instantiate virtual machines on Elastic Compute Cloud (EC2)
  to perform conversions
   ■ Be able to instantiate more conversion machines as needed
     to scale to demand
   ■ Use Simple Queue Service (SQS) to queue requests

• Log status and results in SimpleDB (SDB)
   ■ Was not able to gain access during beta period

• Deliver conversion results from S3
Accessing Infrastructure Services
• Web service APIs
   ■ SOAP and REST

• Many applications/plugins support S3
   ■ Transmit on Mac OS X

   ■ S3Fox for Firefox

• AWS Developer Community provides lots of documentation
  and sample code
   ■ JavaScript, PHP, Python

• Many public machine images for EC2 are available
   ■ Use them as a starting point for custom machines

• In actuality, you rarely have to start from scratch
Pricing
• Pay only for what you use
   ■ Data transfer

   ■ Data storage

   ■ Instance time

   ■ Transactions
Pricing
Simple Storage Service (United States)


                     Storage    15¢ per GB-month

             Data Transfer In   10¢ per GB

           Data Transfer Out    10¢–17¢ per GB

           PUT, POST, or LIST   1.0¢ per 1000 requests

                         GET    1.0¢ per 10000 requests
Pricing
Simple Storage Service (Europe)


                    Storage    18¢ per GB-month

            Data Transfer In   10¢ per GB

           Data Transfer Out   10¢–17¢ per GB

          PUT, POST, or LIST   1.2¢ per 1000 requests

                        GET    1.2¢ per 10000 requests
Pricing
Simple Queue Service


                    Storage    none

            Data Transfer In   10¢ per GB

          Data Transfer Out    10¢–17¢ per GB

                  Requests     1.0¢ per 10000 requests
Pricing
Simple Queue Service (Old API, prior to 2008)


                     Storage    none

             Data Transfer In   10¢ per GB

           Data Transfer Out    10¢–17¢ per GB

                   Requests     1.0¢ per 10000 requests

                   Messages     10¢ per 1000 messages
Pricing
Simple Queue Service (Old API, prior to 2008)


Impact of the Price Change
We examined the effect that the new pricing would have
had on Amazon SQS charges billed at the end of
December 2007. Under the new plan, 76% of customers
with bills greater than $1 would have received lower bills,
saving an average of 71% each compared to their actual bill.
source: http://aws.amazon.com/sqs/
Pricing
Elastic Compute Service


                  Instances    10¢–80¢ per hour

            Data Transfer In   10¢ per GB

           Data Transfer Out   10¢–17¢ per GB
Pricing
Freebies

• Data transfer between EC2 instances are free
   ■ Instances must be in the same availability zone

   ■ Instances must address each other by private IP addresses

• Data transfer between EC2 instances and S3 are free
• Data transfer between EC2 instances and SQS are free
Pricing
Elastic IP Addresses (EC2)

• IPv4 Addresses are scarce
• Instances are dynamically assigned a public IP address
  and a private IP address
• IPv4 addresses can be statically allocated and used for instances
   ■ No cost while in use

   ■ 1¢ per non-attached Elastic IP address per hour
Nuances
Simple Storage Service (S3)
• Storage is organized in buckets
    ■ Like a namespace for the objects it contains

    ■ Accessible via http://bucketname.s3.amazonaws.com

• It’s not file storage, it’s a key-value store
    ■ Like a big hash table or dictionary

    ■ Key-value pairs

       ■ Movies/My Movie.mp4 ➜ ftypmp42isom5eiomdat9af…

       ■ UserHomePage ➜ http://www.ucalgary.ca/~kchuang/

• Implicit BitTorrent seeding for all keys
Elastic Compute Cloud (EC2)
• Machine images are templates
   ■ Run multiple instances from the same image

   ■ Appliance model

• Data can be passed to instances at startup
   ■ Provide input to an instance

   ■ Negates the need to communicate to an instance

• Storage is independent of the machine
   ■ By default, instance storage is transient

   ■ Elastic Block Storage can be attached/detached as needed

      ■ Lifecycle is independent of instances
Beyond Raw Utilities
• Additional facilities around traditional infrastructure elements
  increases their usability
   ■ Fits well with on-demand, only what you need usage model

   ■ Enables uses that were previously not possible
Speed Bumps
Reality Bites
Simple Storage Service

• S3 objects have a maximum size of 5 GB
   ■ Split objects like machine images

• Changing one byte means reinserting the entire object
• Renaming (re-keying) an object also means reinserting
   ■ New beta API allows for object moves within a bucket

• Various bugs in third-party apps and S3 itself
   ■ Inserting objects between 2 to 4 GB can be difficult

• Bandwidth can be a significant barrier
   ■ Project goal of inserting 1 TB would have taken 168 days
Reality Bites
Elastic Compute Cloud

• Making a change means recreating an entire image
• Default storage is transient
   ■ Lasts only as long as the instance it is attached to

   ■ Elastic Block Storage can only be attached to a single
     instance at a time
• Instances are billed by the hour
   ■ Constantly starting and stopping short-run instances
     can be costly
All Together, Now!
Cumulus
• Completely implemented in JavaScript *
   ■ Calls Amazon services directly via REST APIs

• Contacts S3 to retrieve stored videos
• Converts video on demand
   ■ Writes jobs to an SQS queue

   ■ Invokes EC2 instances, which reads from job queue and
     performs conversion




 * time constraints necessitated the use of some existing PHP sample code
Demo
Project Timeline


                August 26
31
7
14
21
28          September 29
Project Timeline
                            8/26: project kickoff
                                       8/29: project planning

                August 26
31
7
14
21
28          September 29
Project Timeline

                            9/2: work begins
                August 26
31
7
14
21
28          September 29
Project Timeline


                August 26
31
7
14
21
28          September 29


                                   9/5: slow upload speeds
                            9/8: daapd server abandoned
Project Timeline


                   August 26
31
7
14
21
28             September 29



         9/11: attempting video conversion
                                             9/12: visiting clouds
Project Timeline
                 9/18: bandwidth increased
                                   9/18: first video converted

                August 26
31
7
14
21
28          September 29
Project Timeline
      9/22: creating front-end web app

                      August 26
31
7
14
21
28                September 29




                                         9/26: starting presentation
Project Timeline


                August 26
31
7
14
21
28          September 29




                   9/29: still working on presentation
Project Timeline


                August 26
31
7
14
21
28          September 29
By the Numbers
              19      working days
               2      weekends
          70 GB       transferred
             321      instance hours
          $41.60      spent
          16324       miles


           as of September 27, 2008
Lessons Learned
Cloud Computing is more than
Raw Utilities
Cloud Computing
Enables Tinkering
Bandwidth Can Be Problematic
Centralization Results in
Centralization of Risk
Be Aware of
Service Level Agreements
More Information

King Chung Huang
Technical Solutions Analyst, University of Calgary
kchuang@ucalgary.ca

Patrick Mann
Chief Technology Officer, Cybera
patrick.mann@cybera.ca

Cloud Computing White Paper
coming soon
http://www.cybera.ca
Q&A

More Related Content

What's hot

Shillings in Serverless
Shillings in ServerlessShillings in Serverless
Shillings in ServerlessSheenBrisals
 
The Physics of Fast Image Compression
The Physics of Fast Image CompressionThe Physics of Fast Image Compression
The Physics of Fast Image CompressionCloudinary
 
把您的 Amazon Lex Chatbot 與訊息服務集成
把您的 Amazon Lex Chatbot 與訊息服務集成把您的 Amazon Lex Chatbot 與訊息服務集成
把您的 Amazon Lex Chatbot 與訊息服務集成Amazon Web Services
 
AWS re:Invent 2016: Simplified Data Center Migration—Lessons Learned by Live ...
AWS re:Invent 2016: Simplified Data Center Migration—Lessons Learned by Live ...AWS re:Invent 2016: Simplified Data Center Migration—Lessons Learned by Live ...
AWS re:Invent 2016: Simplified Data Center Migration—Lessons Learned by Live ...Amazon Web Services
 
How to fail with serverless
How to fail with serverlessHow to fail with serverless
How to fail with serverlessJeremy Daly
 
SRV301 Getting the most Bang for your buck with #EC2 #Winning
SRV301 Getting the most Bang for your buck with #EC2 #WinningSRV301 Getting the most Bang for your buck with #EC2 #Winning
SRV301 Getting the most Bang for your buck with #EC2 #WinningAmazon Web Services
 
AWSomeDay Zurich 2018 - How to go serverless
AWSomeDay Zurich 2018 - How to go serverless AWSomeDay Zurich 2018 - How to go serverless
AWSomeDay Zurich 2018 - How to go serverless Roman Plessl
 
Sony DAD NMS & Our Migration to the AWS Cloud
Sony DAD NMS & Our Migration to the AWS CloudSony DAD NMS & Our Migration to the AWS Cloud
Sony DAD NMS & Our Migration to the AWS CloudAmazon Web Services
 
STP102 Ahead in the Clouds - AWS re: Invent 2012
STP102 Ahead in the Clouds - AWS re: Invent 2012STP102 Ahead in the Clouds - AWS re: Invent 2012
STP102 Ahead in the Clouds - AWS re: Invent 2012Amazon Web Services
 
AWS Public Sector Symposium 2014 Canberra | Black Belt Tips on AWS
AWS Public Sector Symposium 2014 Canberra | Black Belt Tips on AWS AWS Public Sector Symposium 2014 Canberra | Black Belt Tips on AWS
AWS Public Sector Symposium 2014 Canberra | Black Belt Tips on AWS Amazon Web Services
 
Batch Processing with Containers on AWS - CON304 - re:Invent 2017
Batch Processing with Containers on AWS - CON304 - re:Invent 2017Batch Processing with Containers on AWS - CON304 - re:Invent 2017
Batch Processing with Containers on AWS - CON304 - re:Invent 2017Amazon Web Services
 
(ARC310) Solving Amazon's Catalog Contention With Amazon Kinesis
(ARC310) Solving Amazon's Catalog Contention With Amazon Kinesis(ARC310) Solving Amazon's Catalog Contention With Amazon Kinesis
(ARC310) Solving Amazon's Catalog Contention With Amazon KinesisAmazon Web Services
 
Introduction to AWS
Introduction to AWSIntroduction to AWS
Introduction to AWSJulien SIMON
 
Azure vs AWS Best Practices: What You Need to Know
Azure vs AWS Best Practices: What You Need to KnowAzure vs AWS Best Practices: What You Need to Know
Azure vs AWS Best Practices: What You Need to KnowRightScale
 
AWS re:Invent 2016: What’s New with Amazon Redshift (BDA304)
AWS re:Invent 2016: What’s New with Amazon Redshift (BDA304)AWS re:Invent 2016: What’s New with Amazon Redshift (BDA304)
AWS re:Invent 2016: What’s New with Amazon Redshift (BDA304)Amazon Web Services
 
AWS re:Invent 2016: Preparing for a Large-Scale Migration to AWS (ENT212)
AWS re:Invent 2016: Preparing for a Large-Scale Migration to AWS (ENT212)AWS re:Invent 2016: Preparing for a Large-Scale Migration to AWS (ENT212)
AWS re:Invent 2016: Preparing for a Large-Scale Migration to AWS (ENT212)Amazon Web Services
 
ENT313 Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum E...
ENT313 Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum E...ENT313 Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum E...
ENT313 Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum E...Amazon Web Services
 
Serverless - Lunch&Learn CleverToday - Mars 2017
Serverless - Lunch&Learn CleverToday - Mars 2017Serverless - Lunch&Learn CleverToday - Mars 2017
Serverless - Lunch&Learn CleverToday - Mars 2017Brice Argenson
 
How to improve lambda cold starts
How to improve lambda cold startsHow to improve lambda cold starts
How to improve lambda cold startsYan Cui
 

What's hot (20)

Shillings in Serverless
Shillings in ServerlessShillings in Serverless
Shillings in Serverless
 
The Physics of Fast Image Compression
The Physics of Fast Image CompressionThe Physics of Fast Image Compression
The Physics of Fast Image Compression
 
把您的 Amazon Lex Chatbot 與訊息服務集成
把您的 Amazon Lex Chatbot 與訊息服務集成把您的 Amazon Lex Chatbot 與訊息服務集成
把您的 Amazon Lex Chatbot 與訊息服務集成
 
AWS re:Invent 2016: Simplified Data Center Migration—Lessons Learned by Live ...
AWS re:Invent 2016: Simplified Data Center Migration—Lessons Learned by Live ...AWS re:Invent 2016: Simplified Data Center Migration—Lessons Learned by Live ...
AWS re:Invent 2016: Simplified Data Center Migration—Lessons Learned by Live ...
 
How to fail with serverless
How to fail with serverlessHow to fail with serverless
How to fail with serverless
 
SRV301 Getting the most Bang for your buck with #EC2 #Winning
SRV301 Getting the most Bang for your buck with #EC2 #WinningSRV301 Getting the most Bang for your buck with #EC2 #Winning
SRV301 Getting the most Bang for your buck with #EC2 #Winning
 
AWSomeDay Zurich 2018 - How to go serverless
AWSomeDay Zurich 2018 - How to go serverless AWSomeDay Zurich 2018 - How to go serverless
AWSomeDay Zurich 2018 - How to go serverless
 
Sony DAD NMS & Our Migration to the AWS Cloud
Sony DAD NMS & Our Migration to the AWS CloudSony DAD NMS & Our Migration to the AWS Cloud
Sony DAD NMS & Our Migration to the AWS Cloud
 
STP102 Ahead in the Clouds - AWS re: Invent 2012
STP102 Ahead in the Clouds - AWS re: Invent 2012STP102 Ahead in the Clouds - AWS re: Invent 2012
STP102 Ahead in the Clouds - AWS re: Invent 2012
 
AWS Public Sector Symposium 2014 Canberra | Black Belt Tips on AWS
AWS Public Sector Symposium 2014 Canberra | Black Belt Tips on AWS AWS Public Sector Symposium 2014 Canberra | Black Belt Tips on AWS
AWS Public Sector Symposium 2014 Canberra | Black Belt Tips on AWS
 
Batch Processing with Containers on AWS - CON304 - re:Invent 2017
Batch Processing with Containers on AWS - CON304 - re:Invent 2017Batch Processing with Containers on AWS - CON304 - re:Invent 2017
Batch Processing with Containers on AWS - CON304 - re:Invent 2017
 
(ARC310) Solving Amazon's Catalog Contention With Amazon Kinesis
(ARC310) Solving Amazon's Catalog Contention With Amazon Kinesis(ARC310) Solving Amazon's Catalog Contention With Amazon Kinesis
(ARC310) Solving Amazon's Catalog Contention With Amazon Kinesis
 
Introduction to AWS
Introduction to AWSIntroduction to AWS
Introduction to AWS
 
Azure vs AWS Best Practices: What You Need to Know
Azure vs AWS Best Practices: What You Need to KnowAzure vs AWS Best Practices: What You Need to Know
Azure vs AWS Best Practices: What You Need to Know
 
AWS re:Invent 2016: What’s New with Amazon Redshift (BDA304)
AWS re:Invent 2016: What’s New with Amazon Redshift (BDA304)AWS re:Invent 2016: What’s New with Amazon Redshift (BDA304)
AWS re:Invent 2016: What’s New with Amazon Redshift (BDA304)
 
AWS re:Invent 2016: Preparing for a Large-Scale Migration to AWS (ENT212)
AWS re:Invent 2016: Preparing for a Large-Scale Migration to AWS (ENT212)AWS re:Invent 2016: Preparing for a Large-Scale Migration to AWS (ENT212)
AWS re:Invent 2016: Preparing for a Large-Scale Migration to AWS (ENT212)
 
AWS Innovation at Scale
AWS Innovation at ScaleAWS Innovation at Scale
AWS Innovation at Scale
 
ENT313 Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum E...
ENT313 Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum E...ENT313 Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum E...
ENT313 Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum E...
 
Serverless - Lunch&Learn CleverToday - Mars 2017
Serverless - Lunch&Learn CleverToday - Mars 2017Serverless - Lunch&Learn CleverToday - Mars 2017
Serverless - Lunch&Learn CleverToday - Mars 2017
 
How to improve lambda cold starts
How to improve lambda cold startsHow to improve lambda cold starts
How to improve lambda cold starts
 

Viewers also liked

Quick Start to Building a Cloud Service Practice
Quick Start to Building a Cloud Service PracticeQuick Start to Building a Cloud Service Practice
Quick Start to Building a Cloud Service PracticeRichard Tubb
 
First for Cloud AWS partner webinar 20 July 2016
First for Cloud AWS partner webinar 20 July 2016First for Cloud AWS partner webinar 20 July 2016
First for Cloud AWS partner webinar 20 July 2016Russell Warne
 
Automated Traffic And Your AWS Environment_B
Automated Traffic And Your AWS Environment_BAutomated Traffic And Your AWS Environment_B
Automated Traffic And Your AWS Environment_BDavid Dowling
 
Bob Jones, CERN on PICSE: Procurement of cloud services in Europe
Bob Jones, CERN on PICSE: Procurement of cloud services in EuropeBob Jones, CERN on PICSE: Procurement of cloud services in Europe
Bob Jones, CERN on PICSE: Procurement of cloud services in EuropeSLA-Ready Network
 
Cloud computing in practice
Cloud computing in practiceCloud computing in practice
Cloud computing in practiceAndrzej Osmak
 
From Zero to Cloud in 30 minutes
From Zero to Cloud in 30 minutesFrom Zero to Cloud in 30 minutes
From Zero to Cloud in 30 minutesSimone Brunozzi
 
Mac Group Stands & Exhibitions Complete
Mac Group Stands & Exhibitions CompleteMac Group Stands & Exhibitions Complete
Mac Group Stands & Exhibitions CompleteMontse Ametller
 
Lengua septiembre 2012
Lengua septiembre 2012Lengua septiembre 2012
Lengua septiembre 2012estudiaenlaubu
 
Plan de gestion instituto integrado de comercio camilo torres v1 pdf
Plan de gestion instituto integrado de comercio camilo torres v1 pdfPlan de gestion instituto integrado de comercio camilo torres v1 pdf
Plan de gestion instituto integrado de comercio camilo torres v1 pdfantapias
 
Dj Zone 100 Special Session Vol 20
Dj Zone 100   Special Session Vol 20Dj Zone 100   Special Session Vol 20
Dj Zone 100 Special Session Vol 20Virtualdeejay.net
 
Manual de Identidad Corporativa
Manual de Identidad CorporativaManual de Identidad Corporativa
Manual de Identidad CorporativaSantiago Pazmiño
 
6.4 Los Acuerdos de Nivel de Servicio -SLA´s-
6.4 Los Acuerdos de Nivel de Servicio -SLA´s-6.4 Los Acuerdos de Nivel de Servicio -SLA´s-
6.4 Los Acuerdos de Nivel de Servicio -SLA´s-Brox Technology
 
Momentum gTLD Congress Brand IP Discussion
Momentum gTLD Congress Brand IP DiscussionMomentum gTLD Congress Brand IP Discussion
Momentum gTLD Congress Brand IP DiscussionJen Wolfe
 
Eng presentation e bay
Eng presentation e bayEng presentation e bay
Eng presentation e bayKhairul Emkay
 

Viewers also liked (20)

Quick Start to Building a Cloud Service Practice
Quick Start to Building a Cloud Service PracticeQuick Start to Building a Cloud Service Practice
Quick Start to Building a Cloud Service Practice
 
Ibm
IbmIbm
Ibm
 
First for Cloud AWS partner webinar 20 July 2016
First for Cloud AWS partner webinar 20 July 2016First for Cloud AWS partner webinar 20 July 2016
First for Cloud AWS partner webinar 20 July 2016
 
Automated Traffic And Your AWS Environment_B
Automated Traffic And Your AWS Environment_BAutomated Traffic And Your AWS Environment_B
Automated Traffic And Your AWS Environment_B
 
Bob Jones, CERN on PICSE: Procurement of cloud services in Europe
Bob Jones, CERN on PICSE: Procurement of cloud services in EuropeBob Jones, CERN on PICSE: Procurement of cloud services in Europe
Bob Jones, CERN on PICSE: Procurement of cloud services in Europe
 
Cloud computing in practice
Cloud computing in practiceCloud computing in practice
Cloud computing in practice
 
From Zero to Cloud in 30 minutes
From Zero to Cloud in 30 minutesFrom Zero to Cloud in 30 minutes
From Zero to Cloud in 30 minutes
 
Mac Group Stands & Exhibitions Complete
Mac Group Stands & Exhibitions CompleteMac Group Stands & Exhibitions Complete
Mac Group Stands & Exhibitions Complete
 
Revista actualidad empresarial
Revista actualidad empresarialRevista actualidad empresarial
Revista actualidad empresarial
 
Lengua septiembre 2012
Lengua septiembre 2012Lengua septiembre 2012
Lengua septiembre 2012
 
06. Conversaciones con jóvenes empresarios - Berenice Güerri
06. Conversaciones con jóvenes empresarios - Berenice Güerri06. Conversaciones con jóvenes empresarios - Berenice Güerri
06. Conversaciones con jóvenes empresarios - Berenice Güerri
 
FAQ on VoIP Revealed
FAQ on VoIP RevealedFAQ on VoIP Revealed
FAQ on VoIP Revealed
 
Plan de gestion instituto integrado de comercio camilo torres v1 pdf
Plan de gestion instituto integrado de comercio camilo torres v1 pdfPlan de gestion instituto integrado de comercio camilo torres v1 pdf
Plan de gestion instituto integrado de comercio camilo torres v1 pdf
 
Dj Zone 100 Special Session Vol 20
Dj Zone 100   Special Session Vol 20Dj Zone 100   Special Session Vol 20
Dj Zone 100 Special Session Vol 20
 
Types THEY Can Make - Norm
Types THEY Can Make - NormTypes THEY Can Make - Norm
Types THEY Can Make - Norm
 
AWS Managed Services - BlazeClan Technologies
AWS Managed Services - BlazeClan TechnologiesAWS Managed Services - BlazeClan Technologies
AWS Managed Services - BlazeClan Technologies
 
Manual de Identidad Corporativa
Manual de Identidad CorporativaManual de Identidad Corporativa
Manual de Identidad Corporativa
 
6.4 Los Acuerdos de Nivel de Servicio -SLA´s-
6.4 Los Acuerdos de Nivel de Servicio -SLA´s-6.4 Los Acuerdos de Nivel de Servicio -SLA´s-
6.4 Los Acuerdos de Nivel de Servicio -SLA´s-
 
Momentum gTLD Congress Brand IP Discussion
Momentum gTLD Congress Brand IP DiscussionMomentum gTLD Congress Brand IP Discussion
Momentum gTLD Congress Brand IP Discussion
 
Eng presentation e bay
Eng presentation e bayEng presentation e bay
Eng presentation e bay
 

Similar to Cloud Computing in Practice

Cloud computing-1224001671523233-9
Cloud computing-1224001671523233-9Cloud computing-1224001671523233-9
Cloud computing-1224001671523233-9LLC NewLink
 
Cloud & Windows Azure - Lessius
Cloud & Windows Azure - LessiusCloud & Windows Azure - Lessius
Cloud & Windows Azure - LessiusMaarten Balliauw
 
John Landry at Mass TLC Feb09
John Landry at Mass TLC Feb09John Landry at Mass TLC Feb09
John Landry at Mass TLC Feb09John Landry
 
On a cloudy day you can scale forever
On a cloudy day you can scale foreverOn a cloudy day you can scale forever
On a cloudy day you can scale forevergeorge.james
 
AWS Summit Benelux 2013 - Media and Online Advertising on AWS
AWS Summit Benelux 2013 - Media and Online Advertising on AWSAWS Summit Benelux 2013 - Media and Online Advertising on AWS
AWS Summit Benelux 2013 - Media and Online Advertising on AWSAmazon Web Services
 
[DevDay2018] Introduction to Cloud Computing and AWS platform - By: Bach Huy...
[DevDay2018] Introduction to Cloud Computing and AWS platform  - By: Bach Huy...[DevDay2018] Introduction to Cloud Computing and AWS platform  - By: Bach Huy...
[DevDay2018] Introduction to Cloud Computing and AWS platform - By: Bach Huy...DevDay.org
 
Azure Functions - Get rid of your servers, use functions!
Azure Functions - Get rid of your servers, use functions!Azure Functions - Get rid of your servers, use functions!
Azure Functions - Get rid of your servers, use functions!QAware GmbH
 
Migrating Large Scale Data Sets to the Cloud
Migrating Large Scale Data Sets to the CloudMigrating Large Scale Data Sets to the Cloud
Migrating Large Scale Data Sets to the CloudAmazon Web Services
 
Why Scale Matters and How the Cloud is Really Different (at scale)
Why Scale Matters and How the Cloud is Really Different (at scale)Why Scale Matters and How the Cloud is Really Different (at scale)
Why Scale Matters and How the Cloud is Really Different (at scale)Amazon Web Services
 
2011 Introduction to Cloud Computing and Amazon Web Services
2011 Introduction to Cloud Computing and Amazon Web Services2011 Introduction to Cloud Computing and Amazon Web Services
2011 Introduction to Cloud Computing and Amazon Web ServicesSimone Brunozzi
 
Netflix on Cloud - combined slides for Dev and Ops
Netflix on Cloud - combined slides for Dev and OpsNetflix on Cloud - combined slides for Dev and Ops
Netflix on Cloud - combined slides for Dev and OpsAdrian Cockcroft
 
Real World Azure - IT Pros
Real World Azure - IT ProsReal World Azure - IT Pros
Real World Azure - IT ProsClint Edmonson
 
How to Build a Big Data Application: Serverless Edition
How to Build a Big Data Application: Serverless EditionHow to Build a Big Data Application: Serverless Edition
How to Build a Big Data Application: Serverless Editionecobold
 
AWS re:Invent 2016: Disrupting Big Data with Cost-effective Compute (CMP302)
AWS re:Invent 2016: Disrupting Big Data with Cost-effective Compute (CMP302)AWS re:Invent 2016: Disrupting Big Data with Cost-effective Compute (CMP302)
AWS re:Invent 2016: Disrupting Big Data with Cost-effective Compute (CMP302)Amazon Web Services
 
Amazon Elastic Map Reduce - Ian Meyers
Amazon Elastic Map Reduce - Ian MeyersAmazon Elastic Map Reduce - Ian Meyers
Amazon Elastic Map Reduce - Ian Meyershuguk
 
How to Build a Big Data Application: Serverless Edition
How to Build a Big Data Application: Serverless EditionHow to Build a Big Data Application: Serverless Edition
How to Build a Big Data Application: Serverless EditionLecole Cole
 
How to Host and Manage Enterprise Customers on AWS (ARC213) | AWS re:Invent 2013
How to Host and Manage Enterprise Customers on AWS (ARC213) | AWS re:Invent 2013How to Host and Manage Enterprise Customers on AWS (ARC213) | AWS re:Invent 2013
How to Host and Manage Enterprise Customers on AWS (ARC213) | AWS re:Invent 2013Amazon Web Services
 
C# Client to Cloud
C# Client to CloudC# Client to Cloud
C# Client to CloudStuart Lodge
 

Similar to Cloud Computing in Practice (20)

Cloud computing-1224001671523233-9
Cloud computing-1224001671523233-9Cloud computing-1224001671523233-9
Cloud computing-1224001671523233-9
 
Cloud & Windows Azure - Lessius
Cloud & Windows Azure - LessiusCloud & Windows Azure - Lessius
Cloud & Windows Azure - Lessius
 
John Landry at Mass TLC Feb09
John Landry at Mass TLC Feb09John Landry at Mass TLC Feb09
John Landry at Mass TLC Feb09
 
Keynote Cloud Jw
Keynote Cloud JwKeynote Cloud Jw
Keynote Cloud Jw
 
On a cloudy day you can scale forever
On a cloudy day you can scale foreverOn a cloudy day you can scale forever
On a cloudy day you can scale forever
 
AWS Summit Benelux 2013 - Media and Online Advertising on AWS
AWS Summit Benelux 2013 - Media and Online Advertising on AWSAWS Summit Benelux 2013 - Media and Online Advertising on AWS
AWS Summit Benelux 2013 - Media and Online Advertising on AWS
 
[DevDay2018] Introduction to Cloud Computing and AWS platform - By: Bach Huy...
[DevDay2018] Introduction to Cloud Computing and AWS platform  - By: Bach Huy...[DevDay2018] Introduction to Cloud Computing and AWS platform  - By: Bach Huy...
[DevDay2018] Introduction to Cloud Computing and AWS platform - By: Bach Huy...
 
Azure Functions - Get rid of your servers, use functions!
Azure Functions - Get rid of your servers, use functions!Azure Functions - Get rid of your servers, use functions!
Azure Functions - Get rid of your servers, use functions!
 
Migrating Large Scale Data Sets to the Cloud
Migrating Large Scale Data Sets to the CloudMigrating Large Scale Data Sets to the Cloud
Migrating Large Scale Data Sets to the Cloud
 
Why Scale Matters and How the Cloud is Really Different (at scale)
Why Scale Matters and How the Cloud is Really Different (at scale)Why Scale Matters and How the Cloud is Really Different (at scale)
Why Scale Matters and How the Cloud is Really Different (at scale)
 
2011 Introduction to Cloud Computing and Amazon Web Services
2011 Introduction to Cloud Computing and Amazon Web Services2011 Introduction to Cloud Computing and Amazon Web Services
2011 Introduction to Cloud Computing and Amazon Web Services
 
Netflix on Cloud - combined slides for Dev and Ops
Netflix on Cloud - combined slides for Dev and OpsNetflix on Cloud - combined slides for Dev and Ops
Netflix on Cloud - combined slides for Dev and Ops
 
Real World Azure - IT Pros
Real World Azure - IT ProsReal World Azure - IT Pros
Real World Azure - IT Pros
 
How to Build a Big Data Application: Serverless Edition
How to Build a Big Data Application: Serverless EditionHow to Build a Big Data Application: Serverless Edition
How to Build a Big Data Application: Serverless Edition
 
AWS re:Invent 2016: Disrupting Big Data with Cost-effective Compute (CMP302)
AWS re:Invent 2016: Disrupting Big Data with Cost-effective Compute (CMP302)AWS re:Invent 2016: Disrupting Big Data with Cost-effective Compute (CMP302)
AWS re:Invent 2016: Disrupting Big Data with Cost-effective Compute (CMP302)
 
Amazon Elastic Map Reduce - Ian Meyers
Amazon Elastic Map Reduce - Ian MeyersAmazon Elastic Map Reduce - Ian Meyers
Amazon Elastic Map Reduce - Ian Meyers
 
How to Build a Big Data Application: Serverless Edition
How to Build a Big Data Application: Serverless EditionHow to Build a Big Data Application: Serverless Edition
How to Build a Big Data Application: Serverless Edition
 
How to Host and Manage Enterprise Customers on AWS (ARC213) | AWS re:Invent 2013
How to Host and Manage Enterprise Customers on AWS (ARC213) | AWS re:Invent 2013How to Host and Manage Enterprise Customers on AWS (ARC213) | AWS re:Invent 2013
How to Host and Manage Enterprise Customers on AWS (ARC213) | AWS re:Invent 2013
 
Cloud Talk
Cloud TalkCloud Talk
Cloud Talk
 
C# Client to Cloud
C# Client to CloudC# Client to Cloud
C# Client to Cloud
 

Recently uploaded

CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 

Recently uploaded (20)

CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 

Cloud Computing in Practice

  • 1. Cloud Computing in Practice King Chung Huang Technical Solutions Analyst, University of Calgary
  • 2. “Using services in the cloud, develop a large-scale video conversion system.”
  • 3. What is Cloud Computing?
  • 4.
  • 5. “Cloud computing is simply a buzzword used to repackage grid computing and utility computing, both of which have existed for decades.” whatis.com definition of Cloud Computing
  • 6. “The interesting thing about cloud computing is that we’ve redefined cloud computing to include everything that we already do. […] The computer industry is the only industry that is more fashion-driven than women’s fashion. Maybe I’m an idiot, but I have no idea what anyone is talking about. What is it? It’s complete gibberish. It’s insane. When is this idiocy going to stop? Larry Ellison during Oracle’s Analyst Day
  • 7. “The interesting thing about cloud computing is that we’ve redefined cloud computing to include everything that we already do. […] The computer industry is the only industry that is more fashion-driven than women’s fashion. Maybe I’m an idiot, but I have no idea what anyone is talking about. What is it? It’s complete gibberish. It’s insane. When is this idiocy going to stop? Larry Ellison during Oracle’s Analyst Day
  • 9. Infrastructure Services Payments & Billing Web Search & Information Elastic Compute Cloud Flexible Payments Service Web Search Simple Storage Service DevPay Web Information Service Simple Queue Service Top Sites SimpleDB Fulfillment & Associates Site Thumbnail Fulfillment Web Service Associates Web Service On-Demand Workforce Mechanical Turk
  • 10. Infrastructure Services Payments & Billing Web Search & Information Elastic Compute Cloud Flexible Payments Service Web Search Simple Storage Service DevPay Web Information Service Simple Queue Service Top Sites SimpleDB Fulfillment & Associates Site Thumbnail Fulfillment Web Service Associates Web Service On-Demand Workforce Mechanical Turk
  • 11. Infrastructure Services Payments & Billing Web Search & Information Elastic Compute Cloud Flexible Payments Service Web Search Simple Storage Service DevPay Web Information Service Simple Queue Service Top Sites SimpleDB Fulfillment & Associates Site Thumbnail Fulfillment Web Service Associates Web Service On-Demand Workforce Mechanical Turk
  • 12. Amazon Mechanical Turk • Marketplace for work that requires human intelligence ■ Enables programmatic distribution of tasks that require human intelligence • Human Intelligence Tasks (HITs) ■ Desired output ■ Format of output ■ Pay rate • Only pay for quality work ■ Review results and pay for accepted work
  • 13.
  • 14. Ten Thousand Cents • Drawing collected from November 2007 to March 2008 • Total labour paid: US$100 ■ 1¢ per part × 10 000 parts • Prints available for purchase ■ $100 each
  • 15. Video Conversion Plan • Upload source content to Simple Storage Service (S3) • Instantiate virtual machines on Elastic Compute Cloud (EC2) to perform conversions ■ Be able to instantiate more conversion machines as needed to scale to demand ■ Use Simple Queue Service (SQS) to queue requests • Log status and results in SimpleDB (SDB) ■ Was not able to gain access during beta period • Deliver conversion results from S3
  • 16. Accessing Infrastructure Services • Web service APIs ■ SOAP and REST • Many applications/plugins support S3 ■ Transmit on Mac OS X ■ S3Fox for Firefox • AWS Developer Community provides lots of documentation and sample code ■ JavaScript, PHP, Python • Many public machine images for EC2 are available ■ Use them as a starting point for custom machines • In actuality, you rarely have to start from scratch
  • 17. Pricing • Pay only for what you use ■ Data transfer ■ Data storage ■ Instance time ■ Transactions
  • 18.
  • 19.
  • 20.
  • 21. Pricing Simple Storage Service (United States) Storage 15¢ per GB-month Data Transfer In 10¢ per GB Data Transfer Out 10¢–17¢ per GB PUT, POST, or LIST 1.0¢ per 1000 requests GET 1.0¢ per 10000 requests
  • 22. Pricing Simple Storage Service (Europe) Storage 18¢ per GB-month Data Transfer In 10¢ per GB Data Transfer Out 10¢–17¢ per GB PUT, POST, or LIST 1.2¢ per 1000 requests GET 1.2¢ per 10000 requests
  • 23. Pricing Simple Queue Service Storage none Data Transfer In 10¢ per GB Data Transfer Out 10¢–17¢ per GB Requests 1.0¢ per 10000 requests
  • 24. Pricing Simple Queue Service (Old API, prior to 2008) Storage none Data Transfer In 10¢ per GB Data Transfer Out 10¢–17¢ per GB Requests 1.0¢ per 10000 requests Messages 10¢ per 1000 messages
  • 25. Pricing Simple Queue Service (Old API, prior to 2008) Impact of the Price Change We examined the effect that the new pricing would have had on Amazon SQS charges billed at the end of December 2007. Under the new plan, 76% of customers with bills greater than $1 would have received lower bills, saving an average of 71% each compared to their actual bill. source: http://aws.amazon.com/sqs/
  • 26. Pricing Elastic Compute Service Instances 10¢–80¢ per hour Data Transfer In 10¢ per GB Data Transfer Out 10¢–17¢ per GB
  • 27. Pricing Freebies • Data transfer between EC2 instances are free ■ Instances must be in the same availability zone ■ Instances must address each other by private IP addresses • Data transfer between EC2 instances and S3 are free • Data transfer between EC2 instances and SQS are free
  • 28. Pricing Elastic IP Addresses (EC2) • IPv4 Addresses are scarce • Instances are dynamically assigned a public IP address and a private IP address • IPv4 addresses can be statically allocated and used for instances ■ No cost while in use ■ 1¢ per non-attached Elastic IP address per hour
  • 30.
  • 31. Simple Storage Service (S3) • Storage is organized in buckets ■ Like a namespace for the objects it contains ■ Accessible via http://bucketname.s3.amazonaws.com • It’s not file storage, it’s a key-value store ■ Like a big hash table or dictionary ■ Key-value pairs ■ Movies/My Movie.mp4 ➜ ftypmp42isom5eiomdat9af… ■ UserHomePage ➜ http://www.ucalgary.ca/~kchuang/ • Implicit BitTorrent seeding for all keys
  • 32. Elastic Compute Cloud (EC2) • Machine images are templates ■ Run multiple instances from the same image ■ Appliance model • Data can be passed to instances at startup ■ Provide input to an instance ■ Negates the need to communicate to an instance • Storage is independent of the machine ■ By default, instance storage is transient ■ Elastic Block Storage can be attached/detached as needed ■ Lifecycle is independent of instances
  • 33. Beyond Raw Utilities • Additional facilities around traditional infrastructure elements increases their usability ■ Fits well with on-demand, only what you need usage model ■ Enables uses that were previously not possible
  • 35. Reality Bites Simple Storage Service • S3 objects have a maximum size of 5 GB ■ Split objects like machine images • Changing one byte means reinserting the entire object • Renaming (re-keying) an object also means reinserting ■ New beta API allows for object moves within a bucket • Various bugs in third-party apps and S3 itself ■ Inserting objects between 2 to 4 GB can be difficult • Bandwidth can be a significant barrier ■ Project goal of inserting 1 TB would have taken 168 days
  • 36. Reality Bites Elastic Compute Cloud • Making a change means recreating an entire image • Default storage is transient ■ Lasts only as long as the instance it is attached to ■ Elastic Block Storage can only be attached to a single instance at a time • Instances are billed by the hour ■ Constantly starting and stopping short-run instances can be costly
  • 38. Cumulus • Completely implemented in JavaScript * ■ Calls Amazon services directly via REST APIs • Contacts S3 to retrieve stored videos • Converts video on demand ■ Writes jobs to an SQS queue ■ Invokes EC2 instances, which reads from job queue and performs conversion * time constraints necessitated the use of some existing PHP sample code
  • 39. Demo
  • 40. Project Timeline August 26 31 7 14 21 28 September 29
  • 41. Project Timeline 8/26: project kickoff 8/29: project planning August 26 31 7 14 21 28 September 29
  • 42. Project Timeline 9/2: work begins August 26 31 7 14 21 28 September 29
  • 43. Project Timeline August 26 31 7 14 21 28 September 29 9/5: slow upload speeds 9/8: daapd server abandoned
  • 44. Project Timeline August 26 31 7 14 21 28 September 29 9/11: attempting video conversion 9/12: visiting clouds
  • 45. Project Timeline 9/18: bandwidth increased 9/18: first video converted August 26 31 7 14 21 28 September 29
  • 46. Project Timeline 9/22: creating front-end web app August 26 31 7 14 21 28 September 29 9/26: starting presentation
  • 47. Project Timeline August 26 31 7 14 21 28 September 29 9/29: still working on presentation
  • 48. Project Timeline August 26 31 7 14 21 28 September 29
  • 49. By the Numbers 19 working days 2 weekends 70 GB transferred 321 instance hours $41.60 spent 16324 miles as of September 27, 2008
  • 51. Cloud Computing is more than Raw Utilities
  • 53. Bandwidth Can Be Problematic
  • 55. Be Aware of Service Level Agreements
  • 56. More Information King Chung Huang Technical Solutions Analyst, University of Calgary kchuang@ucalgary.ca Patrick Mann Chief Technology Officer, Cybera patrick.mann@cybera.ca Cloud Computing White Paper coming soon http://www.cybera.ca
  • 57. Q&A