Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

비용을 절감하고 수익을 최대화할 수 있는 클라우드 컴퓨팅 운용 노하우

811 views

Published on

2014년 2월 18일 대전 DCC, 2월 20일 부산 BEXCO에서 개최되었던 스타트업과 개발자를 위한 클라우드 태권 세미나의 세번째 세션인 Getting to Profitability의 발표 자료 입니다.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

비용을 절감하고 수익을 최대화할 수 있는 클라우드 컴퓨팅 운용 노하우

  1. 1. Getting to Profitability
  2. 2. The Infamous Hockey Stick Usage Page Views Revenue Etc. Time
  3. 3. The Infamous Hockey Stick Usage Page Views Revenue Etc. Costs Time
  4. 4. You want only 3 things
  5. 5. Revenue to go Up Unit Costs to go Down Margin to go Up
  6. 6. The Infamous Hockey Stick Usage Page Views Revenue Etc. Costs Time
  7. 7. How does AWS help here?
  8. 8. Economies of Scale Pricing Models Cost Aware Architecting
  9. 9. What does this look like in the real world?
  10. 10. An example Enterprise software provider in APAC Focused on SaaS for storage, security, collaboration, etc. Backed by leading VC’s in the region Strong growth – winning customers globally Focused on profitability & reducing unit costs Worked closely with the AWS team to optimize its architecture
  11. 11. “Based on a True Story” Margin Growth 54% reduction in unit costs -20% -10% price drop RI purchase in S3 -22% Migration Cassandra to Dynamo -18% Price drop in S3 of 25%
  12. 12. Idea MVP Scale Profitability 01 02 03 04
  13. 13. Scale Getting to Profitability Profitability 03 04 Pricing Models Cost Aware Architecting Total Cost of Ownership
  14. 14. Cost Optimization using different purchase models Free Tier On-Demand Reserved Spot Get Started on AWS with free usage & no commitment Pay for compute capacity by the hour with no long-term commitments Make a low, one-time payment and receive a significant discount on the hourly charge Bid for unused capacity, charged at a Spot Price which fluctuates based on supply and demand For POCs and getting started For spiky workloads, or to define needs For committed utilization For time-insensitive or transient workloads
  15. 15. aws.amazon.com/ko/activate
  16. 16. Reserved Instance Pricing Make a low, one-time payment and receive a significant discount on the hourly charge For committed utilization 3 Versions • Light Utilization RI • Medium Utilization RI • High Utilization RI 2 Terms • 1-year • 3-year
  17. 17. Reserved Instance Pricing Utilization RI option Savings over On-Demand <10% On-Demand 10% - 40% Light Utilization RI Up to 56% 40% - 75% Medium Utilization RI Up to 66% >75% Heavy Utilization RI Up to 71%
  18. 18. • Most traffic happens in the afternoons and evenings, so they reduce the number of instances at night by 40%. • At peak traffic $52 an hour is spent on EC2 and at night, during off peak, the spend is as little as $15 an hour. Saving per hour = 71%
  19. 19. Save more money by using Spot Instances Spot market for underutilized capacity Requested Bid Price and Pay as you go Spot Price < On-Demand Price Up to 85% savings over On Demand pricing
  20. 20. Use Cases for Spot Pricing Use Case Batch Processing Types of Applications Generic background processing (scale out computing) Hadoop Hadoop/MapReduce processing type jobs (e.g. Search, Big Data, etc.) Scientific Computing Scientific trials/simulations/analysis in chemistry, physics, and biology Video and Image Processing/Rendering Testing Transform videos into specific formats Web/Data Crawling Financial HPC Analyzing data and processing it Hedgefund analytics, energy trading, etc Utilize HPC servers to do embarrassingly parallel jobs Cheap Compute Backend servers for Facebook games Provide testing of software, web sites, etc
  21. 21. Optimizing Video Transcoding Workloads for a FREEMIUM model Free Offering Premium Offering Optimize for reducing cost Acceptable Delay Limits Optimized for Faster response No Delays Implementation – – – – Leverage spot pricing Maximum Bid Price < On-demand Rate Use on-demand Instances, if delay Get strongly reduced price for your workload Implementation – Invest in Reserved Instances – Use on-demand for Elasticity Get Instant Capacity for higher price
  22. 22. Scale Getting to Profitability Profitability 03 04 Pricing Models Cost Aware Architecting Total Cost of Ownership
  23. 23. “Give me 4 fault tolerant algorithms and I can pick the best one almost with my eyes closed. If you then ask me which one is best for the business, in terms of dollar costs, I would be clueless...” Werner Vogels, CTO, Amazon
  24. 24. Cost optimization through „Cost Aware Architecting‟ Reduce Cost of… Compute …by leveraging: 1. S3 & CloudFront for Caching & Offloading 2. Auto-Scaling done Right Storage 3. Storing derivative objects in S3 „Reduced Redundancy‟ Database 4. Read Replicas and/or ElastiCache Test & Dev 5. Rapid proto-typing & Lean Dev/Test
  25. 25. Cost Aware Architecting to Reduce costs of EC2 1. S3 & CloudFront for Caching & Offloading • Reduce your compute demand and costs • Improve end-user experience • Increase reliability and durability
  26. 26. Cost Aware Architecting to Reduce costs of EC2 1. S3 & CloudFront for Caching & Offloading
  27. 27. Cost Aware Architecting to Reduce costs of EC2 1. S3 & CloudFront for Caching & Offloading
  28. 28. Cost Aware Architecting to Reduce costs of EC2 1. S3 & CloudFront for Caching & Offloading
  29. 29. Cost Aware Architecting to Reduce costs of EC2 1. S3 & CloudFront for Caching & Offloading
  30. 30. Cost Aware Architecting to Reduce costs of EC2 2. Auto-Scaling done Right with Real Time reaction response • Elastic Load Balancing and (event-driven) Auto Scaling • Notification of pending news flash (with audible alarm) • On-demand ramp up of capacity (6 mins.) • Subscriber alert push delivered • Mass response traffic handled (followed by ramp down)
  31. 31. Buuuk for Singapore Press Holding (SPH)
  32. 32. Cost Aware Architecting to Reduce costs of EC2 2. Auto-Scaling done Right with Real Time reaction response Buuuk Straits Times
  33. 33. Cost Aware Architecting to Reduce costs of EC2 2. Auto-Scaling done Right with Real Time reaction response
  34. 34. Cost Aware Architecting to Reduce costs of EC2 2. Auto-Scaling done Right with Real Time reaction response
  35. 35. Cost Aware Architecting to Reduce costs of EC2 2. Auto-Scaling done Right with Real Time reaction response
  36. 36. Cost Aware Architecting to Reduce costs of EC2 2. Auto-Scaling done Right with Real Time reaction response
  37. 37. Cost Aware Architecting to Reduce costs of S3 3. Storing derivative objects in S3 „Reduced Redundancy‟ • Original vs. derived assets : 33% savings • Single reference and consistency • Control, accurate logs and tracking Reduced Redundancy Storage „RRS‟
  38. 38. Cost Aware Architecting to Reduce costs of DB 4. Read Replicas and/or ElastiCache („Database Smarts‟) • • • • Scale out and share work Optimal performance, minimize load Enhance reliability, ensure data safety Cost reduction
  39. 39. Cost Aware Architecting to Reduce costs of Test/Dev 5. Rapid proto-typing & Lean Dev/Test • Inexpensive idea validation • Seamless switch over and versioning • Rapid dev / test agility
  40. 40. Scale Getting to Profitability Profitability 03 04 Pricing Models Cost Aware Architecting Total Cost of Ownership
  41. 41. When calculating TCO… #1 Start by understanding your use cases & usage patterns
  42. 42. Traditional HW / Hosting WASTE On and Off Fast Growth Variable peaks Predictable peaks CUSTOMER DISSATISFACTION
  43. 43. AWS = Elastic Capacity On and Off Fast Growth Variable peaks Predictable peaks
  44. 44. When calculating TCO… #1 Start by understanding your use cases & usage patterns #2 Apples to Apples – Take all the fixed costs into consideration
  45. 45. When calculating TCO… #1 Start by understanding your use cases & usage patterns #2 Apples to Apples – Take all the fixed costs into consideration #3 Leverage ‘Cost Aware Architecting’ to reduce resources
  46. 46. Traditional Hosting vs AWS 60 # of (virtual) servers 50 40 30 20 10 0 Hosting Hosting Offload to S3 Caching with CF AutoScaling Etc.
  47. 47. When calculating TCO… #1 Start by understanding your use cases & usage patterns #2 Apples to Apples – Take all the fixed costs into consideration #3 Leverage ‘Cost Aware Architecting’ to reduce resources #4 Include pricing models (RI, Spot) and economies of scale
  48. 48. “Based on a True Story” Margin Growth 54% reduction in unit costs -20% -10% price drop RI purchase in S3 -22% Migration Cassandra to Dynamo -18% Price drop in S3 of 25%
  49. 49. When calculating TCO… #1 Start by understanding your use cases & usage patterns #2 Apples to Apples – Take all the fixed costs into consideration #3 Leverage ‘Cost Aware Architecting’ to reduce resources #4 Include pricing models (RI, Spot) and economies of scale #5 Take a look at what’s included: Intangible Cost Savings !
  50. 50. Did you know? Free Usage Tier Free Services Data Transfer AWS Elastic Beanstalk AWS CloudFormation AWS IAM Auto Scaling Consolidated Billing No Charge for New Customers Amazon EC2 Amazon RDS Amazon ELB Amazon S3 Amazon EBS For All Customers Amazon SQS/SNS Amazon DynamoDB Amazon SES Amazon SWF And more… Inbound Data Transfer Data Transfer between Instances within an Availability Zone
  51. 51. Trusted Advisor
  52. 52. A premium security spec at non-premium prices • VPC • Direct connect and VPC • Dedicated instances Network ACL • Identity & Access • Multi-Factor Authentication Management • CloudHSM S3 Encryption • RDS Oracle transparent • • Security groups for EC2 encryption
  53. 53. DEMO Getting to Scale Off-loading of static content to CloudFront to reduce required server capacity
  54. 54. So what does this mean in terms of costs? Standard Architecture Optimized Architecture Month Month Medium EC2 instances Medium EC2 instances 4 1 $ 121 $ 485 CloudFront Data Transfer Out 1Tb $ 168 AWS Data Transfer Out 1Tb $ 194 TOTAL $ 679 CloudFront Requests TOTAL 57% lower cost – 6 x faster $1.89 $ 291
  55. 55. Thank You aws.amazon.com/start-ups amzn.to/1heA2Ei

×