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

AWS Summit Auckland 2014 | Scaling on AWS for the First 10 Million Users
 AWS Summit Auckland 2014 | Scaling on AWS for the First 10 Million Users AWS Summit Auckland 2014 | Scaling on AWS for the First 10 Million Users
AWS Summit Auckland 2014 | Scaling on AWS for the First 10 Million UsersAmazon Web Services
 
AWS Summit Sydney 2014 | Scaling on AWS for the First 10 Million Users
AWS Summit Sydney 2014 | Scaling on AWS for the First 10 Million UsersAWS Summit Sydney 2014 | Scaling on AWS for the First 10 Million Users
AWS Summit Sydney 2014 | Scaling on AWS for the First 10 Million UsersAmazon 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
 
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
 
Production Ready Serverless Java Applications in 3 Weeks AWS UG Cologne Febru...
Production Ready Serverless Java Applications in 3 Weeks AWS UG Cologne Febru...Production Ready Serverless Java Applications in 3 Weeks AWS UG Cologne Febru...
Production Ready Serverless Java Applications in 3 Weeks AWS UG Cologne Febru...Vadym Kazulkin
 
Dealing with Enterprise Level Data
Dealing with Enterprise Level DataDealing with Enterprise Level Data
Dealing with Enterprise Level DataMike Crabb
 
Shillings in Serverless
Shillings in ServerlessShillings in Serverless
Shillings in ServerlessSheenBrisals
 
Architecture Battle: PaaS vs. FaaS
Architecture Battle: PaaS vs. FaaSArchitecture Battle: PaaS vs. FaaS
Architecture Battle: PaaS vs. FaaSEstelle Auberix
 
Cost Effective Rendering in the Cloud with Spot Instances
Cost Effective Rendering in the Cloud with Spot InstancesCost Effective Rendering in the Cloud with Spot Instances
Cost Effective Rendering in the Cloud with Spot InstancesAmazon 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
 
Serverless presentation
Serverless presentationServerless presentation
Serverless presentationjasonsich
 
Building Serverless Web Applications - DevDay Austin 2017
Building Serverless Web Applications - DevDay Austin 2017Building Serverless Web Applications - DevDay Austin 2017
Building Serverless Web Applications - DevDay Austin 2017Amazon Web Services
 
Planning a successful private cloud - CloudStack Collaboration Europe 2013
Planning a successful private cloud - CloudStack Collaboration Europe 2013Planning a successful private cloud - CloudStack Collaboration Europe 2013
Planning a successful private cloud - CloudStack Collaboration Europe 2013Tim Mackey
 
JavaScript as Data Processing Language & HTML5 Integration
JavaScript as Data Processing Language & HTML5 IntegrationJavaScript as Data Processing Language & HTML5 Integration
JavaScript as Data Processing Language & HTML5 IntegrationQuentin Adam
 
Amazon Web Services Building Blocks for Drupal Applications and Hosting
Amazon Web Services Building Blocks for Drupal Applications and HostingAmazon Web Services Building Blocks for Drupal Applications and Hosting
Amazon Web Services Building Blocks for Drupal Applications and HostingAcquia
 
Building CICD Pipelines for Serverless Applications - DevDay Austin 2017
Building CICD Pipelines for Serverless Applications - DevDay Austin 2017Building CICD Pipelines for Serverless Applications - DevDay Austin 2017
Building CICD Pipelines for Serverless Applications - DevDay Austin 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
 
Optimizing Total Cost of Ownership for the AWS Cloud
Optimizing Total Cost of Ownership for the AWS CloudOptimizing Total Cost of Ownership for the AWS Cloud
Optimizing Total Cost of Ownership for the AWS CloudAmazon Web Services
 

What's hot (20)

AWS Summit Auckland 2014 | Scaling on AWS for the First 10 Million Users
 AWS Summit Auckland 2014 | Scaling on AWS for the First 10 Million Users AWS Summit Auckland 2014 | Scaling on AWS for the First 10 Million Users
AWS Summit Auckland 2014 | Scaling on AWS for the First 10 Million Users
 
AWS Summit Sydney 2014 | Scaling on AWS for the First 10 Million Users
AWS Summit Sydney 2014 | Scaling on AWS for the First 10 Million UsersAWS Summit Sydney 2014 | Scaling on AWS for the First 10 Million Users
AWS Summit Sydney 2014 | Scaling on AWS for the First 10 Million Users
 
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
 
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
 
Production Ready Serverless Java Applications in 3 Weeks AWS UG Cologne Febru...
Production Ready Serverless Java Applications in 3 Weeks AWS UG Cologne Febru...Production Ready Serverless Java Applications in 3 Weeks AWS UG Cologne Febru...
Production Ready Serverless Java Applications in 3 Weeks AWS UG Cologne Febru...
 
Dealing with Enterprise Level Data
Dealing with Enterprise Level DataDealing with Enterprise Level Data
Dealing with Enterprise Level Data
 
Shillings in Serverless
Shillings in ServerlessShillings in Serverless
Shillings in Serverless
 
AWS Innovation at Scale
AWS Innovation at ScaleAWS Innovation at Scale
AWS Innovation at Scale
 
Architecture Battle: PaaS vs. FaaS
Architecture Battle: PaaS vs. FaaSArchitecture Battle: PaaS vs. FaaS
Architecture Battle: PaaS vs. FaaS
 
Cost Effective Rendering in the Cloud with Spot Instances
Cost Effective Rendering in the Cloud with Spot InstancesCost Effective Rendering in the Cloud with Spot Instances
Cost Effective Rendering in the Cloud with Spot Instances
 
Serverless - Lunch&Learn CleverToday - Mars 2017
Serverless - Lunch&Learn CleverToday - Mars 2017Serverless - Lunch&Learn CleverToday - Mars 2017
Serverless - Lunch&Learn CleverToday - Mars 2017
 
Serverless presentation
Serverless presentationServerless presentation
Serverless presentation
 
Building Serverless Web Applications - DevDay Austin 2017
Building Serverless Web Applications - DevDay Austin 2017Building Serverless Web Applications - DevDay Austin 2017
Building Serverless Web Applications - DevDay Austin 2017
 
Planning a successful private cloud - CloudStack Collaboration Europe 2013
Planning a successful private cloud - CloudStack Collaboration Europe 2013Planning a successful private cloud - CloudStack Collaboration Europe 2013
Planning a successful private cloud - CloudStack Collaboration Europe 2013
 
JavaScript as Data Processing Language & HTML5 Integration
JavaScript as Data Processing Language & HTML5 IntegrationJavaScript as Data Processing Language & HTML5 Integration
JavaScript as Data Processing Language & HTML5 Integration
 
Amazon Web Services Building Blocks for Drupal Applications and Hosting
Amazon Web Services Building Blocks for Drupal Applications and HostingAmazon Web Services Building Blocks for Drupal Applications and Hosting
Amazon Web Services Building Blocks for Drupal Applications and Hosting
 
Building CICD Pipelines for Serverless Applications - DevDay Austin 2017
Building CICD Pipelines for Serverless Applications - DevDay Austin 2017Building CICD Pipelines for Serverless Applications - DevDay Austin 2017
Building CICD Pipelines for Serverless Applications - DevDay Austin 2017
 
Serverless computing
Serverless computingServerless computing
Serverless computing
 
(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
 
Optimizing Total Cost of Ownership for the AWS Cloud
Optimizing Total Cost of Ownership for the AWS CloudOptimizing Total Cost of Ownership for the AWS Cloud
Optimizing Total Cost of Ownership for the AWS Cloud
 

Viewers also liked

Carrier ethernet-services-the-future-public-multivendor1976
Carrier ethernet-services-the-future-public-multivendor1976Carrier ethernet-services-the-future-public-multivendor1976
Carrier ethernet-services-the-future-public-multivendor1976LLC NewLink
 
The eyegaze communication_syste1
The eyegaze communication_syste1The eyegaze communication_syste1
The eyegaze communication_syste1Lavanya Doopati
 
Ivplendingfinal
IvplendingfinalIvplendingfinal
Ivplendingfinalmat_torrez
 
Presentazionerega
PresentazioneregaPresentazionerega
PresentazioneregaIlaria Rega
 
Orientación y tutoria
Orientación y tutoriaOrientación y tutoria
Orientación y tutoriadany_ale771022
 
Apc 091016024613-phpapp01
Apc 091016024613-phpapp01Apc 091016024613-phpapp01
Apc 091016024613-phpapp01LLC NewLink
 
Mifid- Ranieri Razzante-Ilaria Rega
Mifid- Ranieri Razzante-Ilaria RegaMifid- Ranieri Razzante-Ilaria Rega
Mifid- Ranieri Razzante-Ilaria RegaIlaria Rega
 

Viewers also liked (7)

Carrier ethernet-services-the-future-public-multivendor1976
Carrier ethernet-services-the-future-public-multivendor1976Carrier ethernet-services-the-future-public-multivendor1976
Carrier ethernet-services-the-future-public-multivendor1976
 
The eyegaze communication_syste1
The eyegaze communication_syste1The eyegaze communication_syste1
The eyegaze communication_syste1
 
Ivplendingfinal
IvplendingfinalIvplendingfinal
Ivplendingfinal
 
Presentazionerega
PresentazioneregaPresentazionerega
Presentazionerega
 
Orientación y tutoria
Orientación y tutoriaOrientación y tutoria
Orientación y tutoria
 
Apc 091016024613-phpapp01
Apc 091016024613-phpapp01Apc 091016024613-phpapp01
Apc 091016024613-phpapp01
 
Mifid- Ranieri Razzante-Ilaria Rega
Mifid- Ranieri Razzante-Ilaria RegaMifid- Ranieri Razzante-Ilaria Rega
Mifid- Ranieri Razzante-Ilaria Rega
 

Similar to Cloud computing-1224001671523233-9

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 for the Java Developer
AWS for the Java DeveloperAWS for the Java Developer
AWS for the Java DeveloperRory Preddy
 
AWS for Java Developers workshop
AWS for Java Developers workshopAWS for Java Developers workshop
AWS for Java Developers workshopRory Preddy
 
What's New on AWS and What it Means to You
What's New on AWS and What it Means to YouWhat's New on AWS and What it Means to You
What's New on AWS and What it Means to YouAmazon Web Services
 
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
 
AWS Summit London 2014 | Scaling on AWS for the First 10 Million Users (200)
AWS Summit London 2014 | Scaling on AWS for the First 10 Million Users (200)AWS Summit London 2014 | Scaling on AWS for the First 10 Million Users (200)
AWS Summit London 2014 | Scaling on AWS for the First 10 Million Users (200)Amazon Web Services
 
Build a Serverless Web Application in One Day - DevDay Austin 2017
Build a Serverless Web Application in One Day - DevDay Austin 2017Build a Serverless Web Application in One Day - DevDay Austin 2017
Build a Serverless Web Application in One Day - DevDay Austin 2017Amazon Web Services
 
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
 
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
 
AWS as a Data Platform for Cloud and On-Premises Workloads | AWS Public Secto...
AWS as a Data Platform for Cloud and On-Premises Workloads | AWS Public Secto...AWS as a Data Platform for Cloud and On-Premises Workloads | AWS Public Secto...
AWS as a Data Platform for Cloud and On-Premises Workloads | AWS Public Secto...Amazon Web Services
 
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
 
CloudOpen Japan - Controlling the cost of your first cloud
CloudOpen Japan - Controlling the cost of your first cloudCloudOpen Japan - Controlling the cost of your first cloud
CloudOpen Japan - Controlling the cost of your first cloudTim Mackey
 
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
 
Scaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million UsersScaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million UsersAmazon Web Services
 
Raleigh DevDay 2017: Build a serverless web application in one day workshop
Raleigh DevDay 2017: Build a serverless web application in one day workshopRaleigh DevDay 2017: Build a serverless web application in one day workshop
Raleigh DevDay 2017: Build a serverless web application in one day workshopAmazon Web Services
 

Similar to Cloud computing-1224001671523233-9 (20)

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
 
The Best of re:invent 2016
The Best of re:invent 2016The Best of re:invent 2016
The Best of re:invent 2016
 
AWS for the Java Developer
AWS for the Java DeveloperAWS for the Java Developer
AWS for the Java Developer
 
Keynote Cloud Jw
Keynote Cloud JwKeynote Cloud Jw
Keynote Cloud Jw
 
AWS for Java Developers workshop
AWS for Java Developers workshopAWS for Java Developers workshop
AWS for Java Developers workshop
 
What's New on AWS and What it Means to You
What's New on AWS and What it Means to YouWhat's New on AWS and What it Means to You
What's New on AWS and What it Means to You
 
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
 
Best of re:Invent
Best of re:InventBest of re:Invent
Best of re:Invent
 
AWS Summit London 2014 | Scaling on AWS for the First 10 Million Users (200)
AWS Summit London 2014 | Scaling on AWS for the First 10 Million Users (200)AWS Summit London 2014 | Scaling on AWS for the First 10 Million Users (200)
AWS Summit London 2014 | Scaling on AWS for the First 10 Million Users (200)
 
Build a Serverless Web Application in One Day - DevDay Austin 2017
Build a Serverless Web Application in One Day - DevDay Austin 2017Build a Serverless Web Application in One Day - DevDay Austin 2017
Build a Serverless Web Application in One Day - DevDay Austin 2017
 
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
 
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
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud Computing
 
AWS as a Data Platform for Cloud and On-Premises Workloads | AWS Public Secto...
AWS as a Data Platform for Cloud and On-Premises Workloads | AWS Public Secto...AWS as a Data Platform for Cloud and On-Premises Workloads | AWS Public Secto...
AWS as a Data Platform for Cloud and On-Premises Workloads | AWS Public Secto...
 
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
 
CloudOpen Japan - Controlling the cost of your first cloud
CloudOpen Japan - Controlling the cost of your first cloudCloudOpen Japan - Controlling the cost of your first cloud
CloudOpen Japan - Controlling the cost of your first cloud
 
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
 
Scaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million UsersScaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million Users
 
Raleigh DevDay 2017: Build a serverless web application in one day workshop
Raleigh DevDay 2017: Build a serverless web application in one day workshopRaleigh DevDay 2017: Build a serverless web application in one day workshop
Raleigh DevDay 2017: Build a serverless web application in one day workshop
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 

More from LLC NewLink

Content Delivery Network
Content Delivery NetworkContent Delivery Network
Content Delivery NetworkLLC NewLink
 
Xen and-the-art-of-rails-deployment2640
Xen and-the-art-of-rails-deployment2640Xen and-the-art-of-rails-deployment2640
Xen and-the-art-of-rails-deployment2640LLC NewLink
 
Video 111127013709-phpapp02
Video 111127013709-phpapp02Video 111127013709-phpapp02
Video 111127013709-phpapp02LLC NewLink
 
Microsoft cloud-services-architecture-1226619291360503-8
Microsoft cloud-services-architecture-1226619291360503-8Microsoft cloud-services-architecture-1226619291360503-8
Microsoft cloud-services-architecture-1226619291360503-8LLC NewLink
 
Asterisk presence-im-091015103222-phpapp02
Asterisk presence-im-091015103222-phpapp02Asterisk presence-im-091015103222-phpapp02
Asterisk presence-im-091015103222-phpapp02LLC NewLink
 
Amazonwhitepaper 110511144038-phpapp01
Amazonwhitepaper 110511144038-phpapp01Amazonwhitepaper 110511144038-phpapp01
Amazonwhitepaper 110511144038-phpapp01LLC NewLink
 
2011 06-29- sp-seminar- cisco cdn solution-1
2011 06-29- sp-seminar- cisco cdn solution-12011 06-29- sp-seminar- cisco cdn solution-1
2011 06-29- sp-seminar- cisco cdn solution-1LLC NewLink
 

More from LLC NewLink (10)

Cristmas
CristmasCristmas
Cristmas
 
Newlink
NewlinkNewlink
Newlink
 
Content Delivery Network
Content Delivery NetworkContent Delivery Network
Content Delivery Network
 
Xen and-the-art-of-rails-deployment2640
Xen and-the-art-of-rails-deployment2640Xen and-the-art-of-rails-deployment2640
Xen and-the-art-of-rails-deployment2640
 
Video 111127013709-phpapp02
Video 111127013709-phpapp02Video 111127013709-phpapp02
Video 111127013709-phpapp02
 
Microsoft cloud-services-architecture-1226619291360503-8
Microsoft cloud-services-architecture-1226619291360503-8Microsoft cloud-services-architecture-1226619291360503-8
Microsoft cloud-services-architecture-1226619291360503-8
 
Asterisk presence-im-091015103222-phpapp02
Asterisk presence-im-091015103222-phpapp02Asterisk presence-im-091015103222-phpapp02
Asterisk presence-im-091015103222-phpapp02
 
Amazonwhitepaper 110511144038-phpapp01
Amazonwhitepaper 110511144038-phpapp01Amazonwhitepaper 110511144038-phpapp01
Amazonwhitepaper 110511144038-phpapp01
 
2011 06-29- sp-seminar- cisco cdn solution-1
2011 06-29- sp-seminar- cisco cdn solution-12011 06-29- sp-seminar- cisco cdn solution-1
2011 06-29- sp-seminar- cisco cdn solution-1
 
Newlink
Newlink Newlink
Newlink
 

Recently uploaded

Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
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
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
"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
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
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
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
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
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
"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
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
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
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 

Cloud computing-1224001671523233-9

  • 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