70
Cloud Computing Primer: Steps for using the Cloud in Your Museum Ari Davidow – jwa.org Charles Moad – imamuseum.org Robert Stein - imamuseum.org

Cloud Computing Primer: Using cloud computing tools in your museum

Embed Size (px)

DESCRIPTION

A presentation by Robert Stein, Charlie Moad and Ari Davidow on cloud computing for the Museum Computer Network Conference in Portland, OR November, 2009

Citation preview

Page 1: Cloud Computing Primer: Using cloud computing tools in your museum

Cloud Computing Primer:

Steps for using the Cloud in Your Museum

Ari Davidow – jwa.orgCharles Moad – imamuseum.orgRobert Stein - imamuseum.org

Page 2: Cloud Computing Primer: Using cloud computing tools in your museum

wikipedia on cloud computing via wordle.net

Page 3: Cloud Computing Primer: Using cloud computing tools in your museum

CLOUD COMPUTING

CLOUDAPPLICATIONS

UTILITYCOMPUTING

Page 4: Cloud Computing Primer: Using cloud computing tools in your museum

Cloud Applications

... eliminate the need to install and run the application on the customer's own computer, thus alleviating the burden of software maintenance, ongoing operation, and support.

Page 5: Cloud Computing Primer: Using cloud computing tools in your museum

Cloud Applications

Page 6: Cloud Computing Primer: Using cloud computing tools in your museum

Utility Computing

… a style of computing where scalable and elastic IT-related capabilities are provided as a service to external customers using Internet technologies. 

Page 7: Cloud Computing Primer: Using cloud computing tools in your museum

Utility Computing

Page 8: Cloud Computing Primer: Using cloud computing tools in your museum

Buzz Worthy

Search Trends for “cloud computing”Via Google Search Trends

Page 9: Cloud Computing Primer: Using cloud computing tools in your museum

Source “Cloud Computing Gains in Currency”, Pew Research, May 2008 http://pewresearch.org/pubs/948/cloud-computing-gains-in-currency

69% of Americans use cloud computing

services

Page 10: Cloud Computing Primer: Using cloud computing tools in your museum

image courtesy of gartner.com

Gartner’s Hype Cycle for 2009

Page 11: Cloud Computing Primer: Using cloud computing tools in your museum

21% of companies are piloting SaaS

applications up from 18% last year

– Forrester, Feb 2009

Page 12: Cloud Computing Primer: Using cloud computing tools in your museum

In Forrester’s List of the Top 15

Technology Trends

Page 13: Cloud Computing Primer: Using cloud computing tools in your museum

State of Cloud Computing

Forrester feels that cloud computing is one of the Top 15 Technology Trends and that it warrants investment now so you can gain the experience necessary to take advantage of it in its many forms to transform your organization into a more efficient and responsive service provider to the business

-Forrester, October 13, 2009,

http://blogs.forrester.com/it_infrastructure/2009/10/cloud-computing-belongs-on-your-3year-roadmap.html

Page 14: Cloud Computing Primer: Using cloud computing tools in your museum

Gartner’s #1 Strategic Technology

Area for 2010

Page 15: Cloud Computing Primer: Using cloud computing tools in your museum

State of Cloud Computing

Cloud computing isn't going to be vapor much longer… It's complicated, poses security risks, and computing technology companies are latching onto the buzzword in droves, but the phenomenon should be taken seriously…

-Gartner - October 20,2009

http://news.cnet.com/8301-30685_3-10378782-264.html

Page 16: Cloud Computing Primer: Using cloud computing tools in your museum

Concerns about SaaS

Page 17: Cloud Computing Primer: Using cloud computing tools in your museum

Pros of Cloud Computing

- Fast Deployment- Lower cost / No Capital Expense- Reduced IT maintenance- Elastic and Unlimited Scalability- Energy Efficiency- Reliability (Service & Data)- Better Resource Utilization

Page 18: Cloud Computing Primer: Using cloud computing tools in your museum

Cons of Cloud Computing

- Information Security- Physical Security- Long Term Offline Storage- Bandwidth Bottleneck- Potential Vendor Lock-in- Lack of control during downtime

Page 19: Cloud Computing Primer: Using cloud computing tools in your museum

Amazon Web Services (AWS) Overview

Amazon Web Services (AWS) Infrastructure Services

Elastic ComputeCloud (EC2)

Simple Storage Service (S3)

SimpleDBSimple QueueService (SQS)

Elastic Block Store (EBS)

ElasticMapReduce

CloudFront Content Delivery

Network

Relational Database

Service (RDS)

Virtual Private Cloud

Page 20: Cloud Computing Primer: Using cloud computing tools in your museum

How to make choices about Cloud Computing

- What sort of security requirements fit your data?

- How granular is the information you’re working with? (documents, images, video?)

- Where are your likely performance bottlenecks? (compute, bandwith, latency)

- What is your IT staff like? (small but flexible, large)

Page 21: Cloud Computing Primer: Using cloud computing tools in your museum

Jungle Disk

Page 22: Cloud Computing Primer: Using cloud computing tools in your museum

Jungle Disk - $20 / www.jungledisk.com

Page 23: Cloud Computing Primer: Using cloud computing tools in your museum

Requires

- Amazon S3 account, and the requisite keys:

- JungleDisk software installed

Page 24: Cloud Computing Primer: Using cloud computing tools in your museum

Usage

- Backs up at scheduled times- Can back up more than one machine, or to more

than one backup set- The first backup may take days – or longer. No

problem. The software gracefully goes to sleep when you shut down or hibernate; resumes upon waking until done

- Can retrieve files using drag/drop interface using pull-down to set the date of the view from which you wish to retrieve (i.e., let me see the files as they were on July 7, 2008).

- Retrieves files gracefully and quickly

Page 25: Cloud Computing Primer: Using cloud computing tools in your museum

Converse Example

Page 26: Cloud Computing Primer: Using cloud computing tools in your museum

IMA’s SAN

- IMA Purchased 32TB of EMC SAN in 2006 - 16TB local and 16TB at an offsite co-

location facility

- Due to growth in Collection Photography, Video, and Conservation Imagery that space is all but full!

Page 27: Cloud Computing Primer: Using cloud computing tools in your museum

IMA’s SAN

- Benchmark Growth Rate- Total Current Size – Initial Size / 36

months- Ballpark Rate of 142 GB/month

- Yielding 13.9TB estimated in the next 4 years

Page 28: Cloud Computing Primer: Using cloud computing tools in your museum

IMA’s SAN

- 16TB Onsite + 14TB AWS = $164,544- 16TB Onsite + 16TB Colo = $94,200

$0

$20,000

$40,000

$60,000

$80,000

$100,000

$120,000

$140,000

1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47

Page 29: Cloud Computing Primer: Using cloud computing tools in your museum

Hidden Costs

- DS3+Colo = $96,000 (3 yr commitment)

- Maintenance and administration of servers (2 FTE’s)

- As replicated backup for super large file-systems time for restore would be huge!

Page 30: Cloud Computing Primer: Using cloud computing tools in your museum

Tools

- S3Fox- AWS Console- Elastic Fox

Page 31: Cloud Computing Primer: Using cloud computing tools in your museum

Moving Drupalto the Cloud:Step by step

Page 32: Cloud Computing Primer: Using cloud computing tools in your museum

Introducing the EC2 Console

Page 33: Cloud Computing Primer: Using cloud computing tools in your museum

Creating a Key Pair

Page 34: Cloud Computing Primer: Using cloud computing tools in your museum

Creating a Security Group

Page 35: Cloud Computing Primer: Using cloud computing tools in your museum

Selecting a Starter AMI

Page 36: Cloud Computing Primer: Using cloud computing tools in your museum

Launching an AMI

Page 37: Cloud Computing Primer: Using cloud computing tools in your museum

Connecting to Your EC2 Instance

Page 38: Cloud Computing Primer: Using cloud computing tools in your museum

Creating an EBS Volume

Page 39: Cloud Computing Primer: Using cloud computing tools in your museum

Configuring Apache and MySQL

Page 40: Cloud Computing Primer: Using cloud computing tools in your museum

Setting up Drupal

Page 41: Cloud Computing Primer: Using cloud computing tools in your museum

Bundling an AMI

Page 42: Cloud Computing Primer: Using cloud computing tools in your museum

ami-764bab1f

Page 43: Cloud Computing Primer: Using cloud computing tools in your museum

Fedora for DAM

Page 44: Cloud Computing Primer: Using cloud computing tools in your museum

Fedora as a testbed on AWS

Project Goals:External vendor to create

least-possible Fedora instance to enable preservation work

Page 45: Cloud Computing Primer: Using cloud computing tools in your museum

Summary

- Create on AWS and hand over instance when done- When dev site is completed, create “Amazon

Machine Instance” and check into Subversion- Document installation and everything else in

wiki- We create new instance from checked-out AMI- This ensures that we have maintainable code

that we can get up and running, before developer moves on

Page 46: Cloud Computing Primer: Using cloud computing tools in your museum

What we did

- Original server created using developer’s favorite Linux

- We use CentOS, so when we checked out the AMI, we recreated running under CentOS, bundled new AMI to S3

- AMIs can be independent of the underlying OS

Page 47: Cloud Computing Primer: Using cloud computing tools in your museum

Bugs

- Our repository, which consists of lots of very large files, uses a unix filesystem called XFS

- XFS supports very large volumes better the usual filesystem, and supports real-time snapshotting of huge file-systems

- AWS updated CentOS and broke XFS- We (actually, our webmaster) rebuilt

kernel to work around AWS CentOS bug

Page 48: Cloud Computing Primer: Using cloud computing tools in your museum

Other Gotchas

- An EC2 instance doesn’t preserve state- When you restart, it restarts from scratch- All config changes, anything else that was

done and saved to the previous instance is gone

- So, you use EBS, which acts something like a network drive (think NetApps)- You purchase blocks of EBS space at a time,

but it is cheaper than S3 per GB/Month- This is different from S3 storage where you pay

only for what you consume

Page 49: Cloud Computing Primer: Using cloud computing tools in your museum

AMIs

- Amazon Machine Instance- Sort of like a “ghost”ed server image- Amazon (and others) provide lots of AMIs

to work with- AMIs can be public or private- You can use different AMIs on different servers

in your AWS setup- “bundling” is the AWS term for saving that AMI

with your modifications for future use.- We store AMIs on S3; could also use EBS

Page 50: Cloud Computing Primer: Using cloud computing tools in your museum
Page 51: Cloud Computing Primer: Using cloud computing tools in your museum

Lessons Learned

- We liked AWS so much, and saved so much money, that we have now moved all of our web services to AWS.

- Our website used to cost us $1200/mo. It has added about $450/mo to what we already pay for the Fedora instance – about $900/mo total.

Page 52: Cloud Computing Primer: Using cloud computing tools in your museum
Page 53: Cloud Computing Primer: Using cloud computing tools in your museum
Page 54: Cloud Computing Primer: Using cloud computing tools in your museum

Rightscale – basic services free

www.rightscale.com

Page 55: Cloud Computing Primer: Using cloud computing tools in your museum
Page 56: Cloud Computing Primer: Using cloud computing tools in your museum
Page 57: Cloud Computing Primer: Using cloud computing tools in your museum

AWS Infrastructure

Amazon Web Services (AWS) Infrastructure Services

Elastic ComputeCloud (EC2)

Simple Storage Service (S3)

SimpleDBSimple QueueService (SQS)

Elastic Block Store (EBS)

ElasticMapReduce

CloudFront Content Delivery

Network

Relational Database

Service (RDS)

Virtual Private Cloud

Page 58: Cloud Computing Primer: Using cloud computing tools in your museum

EC2CloudFront

S3

ArtBabble.org

Apache/ MySQL

EBS

Wowza StreamingServer

ArtBabbleVideos

WWWImages

2. Images served directlyfrom S3/ CDN

1. Web request

3. Video stream

4. Videos downloadfrom S3/ CDN

Page 59: Cloud Computing Primer: Using cloud computing tools in your museum

Scalabble

Page 60: Cloud Computing Primer: Using cloud computing tools in your museum

Video Processing

Page 61: Cloud Computing Primer: Using cloud computing tools in your museum

Total Monthly AWS

Page 62: Cloud Computing Primer: Using cloud computing tools in your museum

Monthly Bill for ArtBabble.org Web Server

Page 63: Cloud Computing Primer: Using cloud computing tools in your museum

Monthly Bill for Wowza Video Server(s)

Page 64: Cloud Computing Primer: Using cloud computing tools in your museum

AWS Bill - CloudFront

Page 65: Cloud Computing Primer: Using cloud computing tools in your museum

AWS Bill – EC2

Page 66: Cloud Computing Primer: Using cloud computing tools in your museum

AWS Bill – S3

Page 67: Cloud Computing Primer: Using cloud computing tools in your museum

AWS Bill - Wowza

Page 68: Cloud Computing Primer: Using cloud computing tools in your museum

The Numbers (so far)

- 150,000 video views (168k visits / 576k pages)

- 81,000 note clicks- 1:3 of the notes expanded

- 22,400 views of “Behind the Babble”- 25,015 views of most popular YouTube video

posted Feb. 1st, 2008

- 5,000 registered users- 44% signed up using OpenID (but didn’t

realize it)

Page 69: Cloud Computing Primer: Using cloud computing tools in your museum

The Numbers (so far) for geeks

- 112 hours of video processed- 525 videos- 1700 instance hours

- At a cost of ~$0.65 per video

- April 1st – October 30th

- 167,000 visitors- From 166 countries

- April 1st – September 31st

- 1.1TB of web data transferred out- At a transfer cost of $200

- 1.25TB of video streamed- At a transfer cost of $250

- 11 Mbps average transfer on embedded videos- IMA just upgraded to 5Mb pipe Fall ‘08

Page 70: Cloud Computing Primer: Using cloud computing tools in your museum

QUESTIONS?