Cloud Computing Workshop

1,122 views
1,009 views

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,122
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
46
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Cloud Computing Workshop

  1. 1. Cloud Computing Primer: Steps for using the Cloud in Your Museum Ari Davidow – jwa.org Charles Moad – imamuseum.org Robert Stein - imamuseum.org
  2. 2. wikipedia on cloud computing via wordle.net
  3. 3. CLOUD COMPUTING CLOUD APPLICATIONS UTILITY COMPUTING
  4. 4. 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.
  5. 5. Cloud Applications
  6. 6. Utility Computing … a style of computing where scalable and elastic IT-related capabilities are provided as a service to external customers using Internet technologies. 
  7. 7. Utility Computing
  8. 8. Buzz Worthy Search Trends for “cloud computing” Via Google Search Trends
  9. 9. 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
  10. 10. Gartner’s Hype Cycle for 2009 image courtesy of gartner.com
  11. 11. 21% of companies are piloting SaaS applications up from 18% last year – Forrester, Feb 2009
  12. 12. In Forrester’s List of the Top 15 Technology Trends
  13. 13. State of Cloud Computing <ul><li>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 </li></ul><ul><ul><li>- Forrester, October 13, 2009, </li></ul></ul>“ http://blogs.forrester.com/it_infrastructure/2009/10/cloud-computing-belongs-on-your-3year-roadmap.html
  14. 14. Gartner’s #1 Strategic Technology Area for 2010
  15. 15. 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 “
  16. 16. Concerns about SaaS
  17. 17. Pros of Cloud Computing <ul><li>Fast Deployment </li></ul><ul><li>Lower cost / No Capital Expense </li></ul><ul><li>Reduced IT maintenance </li></ul><ul><li>Elastic and Unlimited Scalability </li></ul><ul><li>Energy Efficiency </li></ul><ul><li>Reliability (Service & Data) </li></ul><ul><li>Better Resource Utilization </li></ul>
  18. 18. Cons of Cloud Computing <ul><li>Information Security </li></ul><ul><li>Physical Security </li></ul><ul><li>Long Term Offline Storage </li></ul><ul><li>Bandwidth Bottleneck </li></ul><ul><li>Potential Vendor Lock-in </li></ul><ul><li>Lack of control during downtime </li></ul>
  19. 19. Amazon Web Services (AWS) Overview Amazon Web Services (AWS) Infrastructure Services Elastic Compute Cloud (EC2) Simple Storage Service (S3) SimpleDB Simple Queue Service (SQS) Elastic Block Store (EBS) Elastic MapReduce CloudFront Content Delivery Network Relational Database Service (RDS) Virtual Private Cloud
  20. 20. How to make choices about Cloud Computing <ul><li>What sort of security requirements fit your data? </li></ul><ul><li>How granular is the information you’re working with? (documents, images, video?) </li></ul><ul><li>Where are your likely performance bottlenecks? (compute, bandwith, latency) </li></ul><ul><li>What is your IT staff like? (small but flexible, large) </li></ul>
  21. 21. Jungle Disk
  22. 22. Jungle Disk - $20 / www.jungledisk.com
  23. 23. Requires <ul><li>Amazon S3 account, and the requisite keys: </li></ul><ul><li>JungleDisk software installed </li></ul>
  24. 24. Usage <ul><li>Backs up at scheduled times </li></ul><ul><li>Can back up more than one machine, or to more than one backup set </li></ul><ul><li>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 </li></ul><ul><li>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). </li></ul><ul><li>Retrieves files gracefully and quickly </li></ul>
  25. 25. Converse Example
  26. 26. IMA’s SAN <ul><li>IMA Purchased 32TB of EMC SAN in 2006 </li></ul><ul><ul><li>16TB local and 16TB at an offsite co-location facility </li></ul></ul><ul><li>Due to growth in Collection Photography, Video, and Conservation Imagery that space is all but full! </li></ul>
  27. 27. IMA’s SAN <ul><li>Benchmark Growth Rate </li></ul><ul><ul><li>Total Current Size – Initial Size / 36 months </li></ul></ul><ul><ul><li>Ballpark Rate of 142 GB/month </li></ul></ul><ul><li>Yielding 13.9TB estimated in the next 4 years </li></ul>
  28. 28. IMA’s SAN <ul><li>16TB Onsite + 14TB AWS = $164,544 </li></ul><ul><li>16TB Onsite + 16TB Colo = $94,200 </li></ul>
  29. 29. Hidden Costs <ul><li>DS3+Colo = $96,000 (3 yr commitment) </li></ul><ul><li>Maintenance and administration of servers (2 FTE’s) </li></ul><ul><li>As replicated backup for super large file-systems time for restore would be huge! </li></ul>
  30. 30. AWS Tools
  31. 31. Elasticfox & S3Fox
  32. 32. EC2 Console
  33. 33. Moving Drupal to the Cloud: Step by step
  34. 34. Introducing the EC2 Console
  35. 35. Creating a Key Pair
  36. 36. Creating a Security Group
  37. 37. Selecting a Starter AMI
  38. 38. Launching an AMI
  39. 39. Connecting to Your EC2 Instance
  40. 40. Creating an EBS Volume
  41. 41. Configuring Apache and MySQL
  42. 42. Setting up Drupal
  43. 43. Bundling an AMI
  44. 44. ami-764bab1f
  45. 45. Fedora for DAM
  46. 46. Fedora as a testbed on AWS Project Goals: External vendor to create least-possible Fedora instance to enable preservation work
  47. 47. Summary <ul><li>Create on AWS and hand over instance when done </li></ul><ul><ul><li>When dev site is completed, create “Amazon Machine Instance” and check into Subversion </li></ul></ul><ul><ul><li>Document installation and everything else in wiki </li></ul></ul><ul><ul><li>We create new instance from checked-out AMI </li></ul></ul><ul><ul><li>This ensures that we have maintainable code that we can get up and running, before developer moves on </li></ul></ul>
  48. 48. What we did <ul><li>Original server created using developer’s favorite Linux </li></ul><ul><li>We use CentOS, so when we checked out the AMI, we recreated running under CentOS, bundled new AMI to S3 </li></ul><ul><li>AMIs can be independent of the underlying OS </li></ul>
  49. 49. Bugs <ul><li>Our repository, which consists of lots of very large files, uses a unix filesystem called XFS </li></ul><ul><li>XFS supports very large volumes better the usual filesystem, and supports real-time snapshotting of huge file-systems </li></ul><ul><li>AWS updated CentOS and broke XFS </li></ul><ul><li>We (actually, our webmaster) rebuilt kernel to work around AWS CentOS bug </li></ul>
  50. 50. Other Gotchas <ul><li>An EC2 instance doesn’t preserve state </li></ul><ul><ul><li>When you restart, it restarts from scratch </li></ul></ul><ul><ul><li>All config changes, anything else that was done and saved to the previous instance is gone </li></ul></ul><ul><li>So, you use EBS, which acts something like a network drive (think NetApps) </li></ul><ul><ul><li>You purchase blocks of EBS space at a time, but it is cheaper than S3 per GB/Month </li></ul></ul><ul><ul><li>This is different from S3 storage where you pay only for what you consume </li></ul></ul>
  51. 51. AMIs <ul><li>Amazon Machine Instance </li></ul><ul><li>Sort of like a “ghost”ed server image </li></ul><ul><li>Amazon (and others) provide lots of AMIs to work with </li></ul><ul><ul><li>AMIs can be public or private </li></ul></ul><ul><ul><li>You can use different AMIs on different servers in your AWS setup </li></ul></ul><ul><ul><li>“ bundling” is the AWS term for saving that AMI with your modifications for future use. </li></ul></ul><ul><ul><li>We store AMIs on S3; could also use EBS </li></ul></ul>
  52. 53. Lessons Learned <ul><li>We liked AWS so much, and saved so much money, that we have now moved all of our web services to AWS. </li></ul><ul><li>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. </li></ul>
  53. 56. Rightscale – basic services free www.rightscale.com
  54. 59. AWS Infrastructure Amazon Web Services (AWS) Infrastructure Services Elastic Compute Cloud (EC2) Simple Storage Service (S3) SimpleDB Simple Queue Service (SQS) Elastic Block Store (EBS) Elastic MapReduce CloudFront Content Delivery Network Relational Database Service (RDS) Virtual Private Cloud
  55. 61. Scalabble
  56. 62. Video Processing
  57. 63. Total Monthly AWS
  58. 64. Monthly Bill for ArtBabble.org Web Server
  59. 65. Monthly Bill for Wowza Video Server(s)
  60. 66. AWS Bill - CloudFront
  61. 67. AWS Bill – EC2
  62. 68. AWS Bill – S3
  63. 69. AWS Bill - Wowza
  64. 70. The Numbers (so far) <ul><li>150,000 video views </li></ul><ul><ul><li>(168k visits / 576k pages) </li></ul></ul><ul><li>81,000 note clicks </li></ul><ul><ul><li>1:3 of the notes expanded </li></ul></ul><ul><li>22,400 views of “Behind the Babble” </li></ul><ul><ul><li>25,015 views of most popular YouTube video posted Feb. 1 st , 2008 </li></ul></ul><ul><li>5,000 registered users </li></ul><ul><ul><li>44% signed up using OpenID (but didn’t realize it) </li></ul></ul>
  65. 71. The Numbers (so far) for geeks <ul><li>112 hours of video processed </li></ul><ul><ul><li>525 videos </li></ul></ul><ul><ul><li>1700 instance hours </li></ul></ul><ul><ul><ul><li>At a cost of ~ $0.65 per video </li></ul></ul></ul><ul><li>April 1 st – October 30 th </li></ul><ul><ul><li>167,000 visitors </li></ul></ul><ul><ul><ul><li>From 166 countries </li></ul></ul></ul><ul><li>April 1 st – September 31 st </li></ul><ul><ul><li>1.1TB of web data transferred out </li></ul></ul><ul><ul><ul><li>At a transfer cost of $200 </li></ul></ul></ul><ul><ul><li>1.25TB of video streamed </li></ul></ul><ul><ul><ul><li>At a transfer cost of $250 </li></ul></ul></ul><ul><ul><li>11 Mbps average transfer on embedded videos </li></ul></ul><ul><ul><ul><li>IMA just upgraded to 5Mb pipe Fall ‘08 </li></ul></ul></ul>
  66. 72. QUESTIONS?

×