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.

Angry Birds in the Cloud, Daniel Pötzinger, AOE Media

714 views

Published on

CloudOps Summit 2012, Frankfurt, 20.9.2012, Track 2 - Build and Run
by Daniel Pötzinger, CIO AOE Media GmbH,
http://cloudops.de/sprecher/#danielpoetzinger

Find the video of this talk at http://youtu.be/D1VuBHRJakI

Published in: Technology, Travel
  • Download From here :: http://gg.gg/14860


    Scanned For Virus : http://bit.ly/1gwvOGn
    Scan it Yourself if You Can Feel As If It's Not Safe.
    -----------------------------------------------------------
    You can choice it what ius download But First step by step Complete setup after Redirect Download Software '!
    ENJOY!
    1. download setup.
    2. run the setup full step by step complete than after download .
    Enjoy.
    any problem plz contact me : jacobdorni34@gmail.com

    100% working and tested setup .......
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

Angry Birds in the Cloud, Daniel Pötzinger, AOE Media

  1. 1. Angrybirds fly in thecloud
  2. 2. CloudOps 2012:Angrybirds fly in thecloud Presented by Daniel Pötzinger
  3. 3. CIOAOE media „Agilist“ Open Source Deve loper
  4. 4. Irregular Traffic Behaviour
  5. 5. Das Angry Birds Magento Universum Storefronts
  6. 6. Das Angry Birds Magento Universum Storefronts Reporting Products + Ordermgmt Warehouse
  7. 7. Das Angry Birds Magento Universum DRM Server Storefronts Reporting Products + Ordermgmt Warehouse
  8. 8. Das Angry Birds Magento Universum DRM Server Storefronts Reporting Products + Ordermgmt Mail Service Warehouse
  9. 9. Das Angry Birds Magento Universum DRM Server Storefronts Reporting Products + Ordermgmt Mail Service Warehouse Giftcards
  10. 10. Das Angry Birds Magento Universum DRM Server Storefronts Reporting Products + Ordermgmt Mail Service Warehouse Giftcards Braintree
  11. 11. Das Angry Birds Magento Universum DRM Server Storefronts Reporting Products + Ordermgmt Mail Service Warehouse Giftcards Manage Warehouse Fullfillment Braintree
  12. 12. Das Angry Birds Magento Universum DRM Server Storefronts Reporting Products + Ordermgmt Mail Service Warehouse Giftcards Manage Warehouse Fullfillment Braintree
  13. 13. Das Angry Birds Magento Universum Shipwire eltw eite DRM Server Reporting lte tw Storefronts Ve rwa äus er + Products + W ar enh Ordermgmt Warehouse Mail Service Be sta nd be ste d et d as Fin ng“ Giftcards tro uti „P ak e Manage Warehouse Fullfillment Braintree
  14. 14. Why Amazon Cloud ?
  15. 15. ✓ Scales quickly on demand✓ Pay only what you need
  16. 16. Powerfull AWS Services
  17. 17. Powerfull AWS Services EC2
  18. 18. Powerfull AWS Services EC2 S3
  19. 19. Powerfull AWS Services EC2 S3 RDS
  20. 20. Powerfull AWS Services EC2 S3 RDS Cloud Front
  21. 21. Powerfull AWS Services EC2 S3 RDS Cloud Elastic Front Cache
  22. 22. Powerfull AWS Services EC2 S3 RDS Cloud Elastic ELB Front Cache
  23. 23. Powerfull AWS Services EC2 S3 RDS Cloud Elastic ELB R53 Front Cache
  24. 24. Powerfull AWS Services EC2 S3 RDS Cloud Elastic ELB R53 Front Cache Amazon Webservices & Amazon Console
  25. 25. Powerfull AWS Services EC2 S3 RDS Cloud Elastic ELB R53 Front Cache Amazon Webservices & Amazon Console Rightscale Services
  26. 26. Powerfull AWS Services EC2 S3 RDS Cloud Elastic ELB Front Cache Amazon Webservices & Amazon Console Rightscale Services
  27. 27. Powerfull AWS Services r e Re quir ements chit ectu over Ar Fa il r (M u ltiple verfü gba Ho ch balan cing) d Lo ad d arb eiten an c k en d Ba nd un Cloud EC2 S3 F rRDS onte Elastic ELB nnen rund Front rg Cache tasks tre inte agen von H M an nitts tellen Sch ängi g von Amazon U nabh Webservices & Amazon Console & Sca la b le Fast Fast Fast Dow ntime keine Rightscale Services
  28. 28. CloudArchitecture
  29. 29. Varnish Array
  30. 30. EC2 EC2 Varnish Array
  31. 31. EC2 EC2 Varnish ArrayEC2 EC2 EC2 Frontend Array
  32. 32. EC2 EC2 Varnish ArrayEC2 EC2 EC2 EC2 EC2 Frontend Array Backend Array
  33. 33. EC2 EC2 Varnish ArrayEC2 EC2 EC2 EC2 EC2 Frontend Array Backend Array RDS
  34. 34. EC2 EC2 Varnish ArrayEC2 EC2 EC2 EC2 EC2 Frontend Array Backend Array RDS RDS
  35. 35. S3 Assets Storage EC2 EC2 Varnish ArrayEC2 EC2 EC2 EC2 EC2 Frontend Array Backend Array RDS RDS
  36. 36. Cloud S3 Assets Storage EC2 EC2 Varnish ArrayEC2 EC2 EC2 EC2 EC2 Frontend Array Backend Array RDS RDS
  37. 37. Cloud S3 Assets Storage EC2 EC2 Varnish ArrayEC2 EC2 EC2 EC2 EC2 Frontend Array Backend Array EC2 Worker Array RDS RDS
  38. 38. Cloud S3 Assets Storage ELB EC2 EC2 Varnish ArrayEC2 EC2 EC2 EC2 EC2 Frontend Array Backend Array EC2 Worker Array RDS RDS
  39. 39. Cloud S3 Assets Storage ELB„Deployment Definition“+ Autoscaling EC2 EC2 Varnish Array EC2 EC2 EC2 EC2 EC2 Frontend Array Backend Array EC2 Worker Array RDS RDS
  40. 40. Cloud S3 Assets Storage ELB„Deployment Definition“ Monitorin+ Autoscaling g EC2 EC2 Varnish Array EC2 EC2 EC2 EC2 EC2 Frontend Array Backend Array EC2 Worker Array RDS RDS
  41. 41. Cloud S3 Assets Storage ELB„Deployment Definition“ Monitorin+ Autoscaling API g EC2 EC2 Varnish Array EC2 EC2 EC2 EC2 EC2 Frontend Array Backend Array EC2 Worker Array RDS RDS
  42. 42. Cloud S3 Cloud Assets Storage ELB„Deployment Definition“ Monitorin+ Autoscaling API g EC2 EC2 Varnish Array EC2 EC2 EC2 EC2 EC2 Frontend Array Backend Array EC2 Worker Array RDS RDS
  43. 43. Cloud S3 R53 Cloud Assets Storage DNS ELB„Deployment Definition“ Monitorin+ Autoscaling API g EC2 EC2 Varnish Array EC2 EC2 EC2 EC2 EC2 Frontend Array Backend Array EC2 Worker Array RDS RDS
  44. 44. Cloud S3 R53 Cloud Assets Storage DNS ELB„Deployment Definition“ Monitorin+ Autoscaling API g EC2 EC2 Varnish Array EC2 EC2 EC2 EC2 EC2 Frontend Array Backend Array EC2 Worker Array S3 Deploymen RDS RDS
  45. 45. Um zu Skalieren muss manden Flaschenhals finden und eliminieren
  46. 46. typische Flaschenhälse Offloading, Optimisation, CPU Caching, add more CPU (scale)... Offloading, Optimisation, Traffic Storage (DB) Scale Storage UP (H/V), Replace Storage... Offloading (CDN, Proxy) Bandbreite Optimize Size of the Site Scale Network IS...
  47. 47. HTTP Caching Traffic
  48. 48. HTTP Caching (Magento) Frontend Traffic
  49. 49. HTTP Caching (Magento) Frontend Traffic Offload expensive requests
  50. 50. HTTP Caching (Magento) Browser Frontend Traffic Traffic Offload expensive requests
  51. 51. HTTP Caching CDN (Magento) Browser Frontend Traffic Traffic Offload expensive requests
  52. 52. HTTP Caching CDN (Magento) Browser Frontend Traffic Traffic Varnish (Reverse Proxy) Traffic Offload expensive requests
  53. 53. HTTP Caching CDN (Magento) Browser Frontend Traffic Traffic Purging Varnish (Reverse Proxy) Traffic Offload expensive requests
  54. 54. 10.000+ MÖGLICHE Seiten / Sekunde aus ELB + Varnish
  55. 55. Application Tuning istgaaanz Individuell!
  56. 56. Autoscaling Traffic
  57. 57. Traffic AutoscalingEC2 EC2 EC2 Frontend Array
  58. 58. Traffic AutoscalingEC2 EC2 EC2 Frontend Array
  59. 59. Traffic AutoscalingEC2 EC2 EC2EC2 EC2 EC2 Frontend Array
  60. 60. Autoscaling •Gruppen mit Policys Frontend Array Traffic EC2 EC2 EC2 EC2 EC2 EC2
  61. 61. Autoscaling •Gruppen mit Policys Frontend Array • min, max Traffic EC2 EC2 EC2 EC2 EC2 EC2
  62. 62. Autoscaling •Gruppen mit Policys Frontend Array • min, max • Votingrules for scale up/down Traffic EC2 EC2 EC2 EC2 EC2 EC2
  63. 63. Autoscaling •Gruppen mit Policys Frontend Array • min, max • Votingrules for scale up/down Traffic •fehlerhafte Instanzen ersetzen EC2 EC2 EC2 EC2 EC2 EC2
  64. 64. Autoscaling •Gruppen mit Policys Frontend Array • min, max • Votingrules for scale up/down Traffic •fehlerhafte Instanzen ersetzen EC2 EC2 • Provisionierungszeit und EC2 EC2 EC2 Policies abstimmen EC2
  65. 65. Autoscaling •Gruppen mit Policys Frontend Array • min, max • Votingrules for scale up/down Traffic •fehlerhafte Instanzen ersetzen EC2 EC2 • Provisionierungszeit und EC2 EC2 EC2 Policies abstimmen EC2 • „Calm time“
  66. 66. 10.000MÖGLICHE Bestellungen pro Stunde
  67. 67. zu Erfolg gehört mehr als nur die Cloud man kann nicht alles vorhersehen.....aber man kann vorbereitet sein schnell zu reagieren
  68. 68. ContinuousDeployment
  69. 69. Don‘t be scared ofreleasing toproduction
  70. 70. late night bugfixing?
  71. 71. So muss ein Deploymentaussehen
  72. 72. Definition Continuous Deployment
  73. 73. Definition Continuous Deployment We want on-demand deployment
  74. 74. Definition Continuous Deployment We want on-demand deployment of tested features and fixes
  75. 75. Definition Continuous Deployment We want on-demand deployment of tested features and fixes in a quick and reliable way
  76. 76. Wir erreichen das durch
  77. 77. Wir erreichen das durch Alles zu
  78. 78. Wir erreichen das durch Alles zu Build
  79. 79. Wir erreichen das durch Alles zu Build Testing
  80. 80. Wir erreichen das durch Alles zu Build Testing Deployment
  81. 81. ..und
  82. 82. ..unddas alles häufig ausführen
  83. 83. flic kr ti m d e p es loy ad s3 ay . ....unddas alles häufig ausführen
  84. 84. The DeploymentPipeline
  85. 85. Angry Birds Deployment Pipeline Backup SVN Storage Commit and Build Build Downstream and Test Strategy Feedback to Developers
  86. 86. Angry Birds Deployment Pipeline Backup SVN Storage Commit Unit Tests and Build Build Downstream and Test Strategy Feedback to Developers
  87. 87. Angry Birds Deployment Pipeline Backup SVN Storage Commit Unit Tests and Build Build Downstream and Test Strategy Feedback to Developers
  88. 88. Angry Birds Deployment Pipeline Backup SVN Storage Commit Install on Unit Tests and Build „latest“ Build Downstream and Test Strategy Feedback to Developers
  89. 89. Angry Birds Deployment Pipeline Backup SVN Storage Commit Install on Unit Tests and Build „latest“ Build Downstream and Test Strategy Feedback to Developers
  90. 90. Angry Birds Deployment Pipeline Backup SVN Storage Commit Install on Selenium Unit Tests and Build „latest“ Acceptance Tests Build Downstream and Test Strategy Feedback to Developers
  91. 91. Angry Birds Deployment Pipeline Backup SVN Storage Commit Install on Selenium Unit Tests and Build „latest“ Acceptance Tests Build Downstream and Test Strategy Feedback to Developers
  92. 92. Angry Birds Deployment Pipeline Backup SVN Storage Commit Install on Selenium Performance Unit Tests and Build „latest“ Acceptance Tests Tests Build Downstream and Test Strategy Feedback to Developers
  93. 93. Angry Birds Deployment Pipeline Backup SVN Storage Commit Install on Selenium Performance Unit Tests and Build „latest“ Acceptance Tests Tests Build Downstream and Test Strategy Feedback to Developers
  94. 94. Angry Birds Deployment Pipeline Install on Cloud Integration CloudDeployment Copy to S3 Deployment Tests deployment System Staging AOE + Rovio production
  95. 95. Cloud Deployment R53 DNSDeployment „Version 88“ Varnish Array Start new release by ELB V V V ✓ cloning old deployment ✓ adjusting release number Autoscaling Backend Worker Frontend Array Array Array FE FE FE BE BE BE W RDS mySQL S3
  96. 96. Cloud Deployment R53 DNSDeployment „Version 88“ Varnish Array ELB V V V Autoscaling Backend Worker Frontend Array Array Array FE FE FE BE BE BE W RDS mySQL S3
  97. 97. Cloud Deployment R53 DNSDeployment „Version 88“ Deployment „Version 89“ Varnish Array Varnish Array ELB V V V Autoscaling Backend Worker Autoscaling Backend Worker Frontend Array Array Array Frontend Array Array Array FE FE FE BE BE BE W RDS mySQL S3
  98. 98. Cloud Deployment R53 DNSDeployment „Version 88“ Deployment „Version 89“ Varnish Array Varnish Array ELB V V V ELB Autoscaling Backend Worker Autoscaling Backend Worker Frontend Array Array Array Frontend Array Array Array FE FE FE BE BE BE W W RDS mySQL S3
  99. 99. Cloud Deployment R53 DNSDeployment „Version 88“ Deployment „Version 89“ Varnish Array Varnish Array ELB V V V ELB V V V Autoscaling Backend Worker Autoscaling Backend Worker Frontend Array Array Array Frontend Array Array Array FE FE FE BE BE BE W FE FE FE BE BE BE W RDS mySQL S3
  100. 100. Cloud Deployment R53 DNSDeployment „Version 88“ Deployment „Version 89“ Varnish Array Varnish Array ELB V V V ELB V V V Autoscaling Backend Worker Autoscaling Backend Worker Frontend Array Array Array Frontend Array Array Array FE FE FE BE BE BE W FE FE FE BE BE BE W RDS mySQL S3
  101. 101. 0Sekunden Downtime
  102. 102. Entwicklung und IT/Betrieb müssen an einem Strick ziehen
  103. 103. DevOps?„the cultural aspect of concentrating on business results rather thantechnical details. Devops incorporates a lot of lean principles,focusing on improving the collaboration between developers and http://www.agileweboperations.com/lean-agile-devops-related
  104. 104. DevOps?„the cultural aspect of concentrating on business results rather thantechnical details. Devops incorporates a lot of lean principles,focusing on improving the collaboration between developers and http://www.agileweboperations.com/lean-agile-devops-related „Cloud Sprint“ [ Dev + Ops and the Cloud ]
  105. 105. DevOps?„the cultural aspect of concentrating on business results rather thantechnical details. Devops incorporates a lot of lean principles,focusing on improving the collaboration between developers and http://www.agileweboperations.com/lean-agile-devops-related „Cloud Sprint“ [ Dev + Ops and the Cloud ] Infrastructure as a Code [Provisioning with Chef]
  106. 106. The real life
  107. 107. Day 1 - Release 1
  108. 108. Day 2 - Release 2 - „get ready for Space“
  109. 109. Day 3 - „People want it so badly“
  110. 110. Day 3 - „People want it so badly“ New release deployed
  111. 111. Day 3 - „People want it so badly“ Space game launched Array scales up New release deployed
  112. 112. Day 3 - „People want it so badly“ USA wakes up Space game launched Array scales up New release deployed
  113. 113. Day 4 - Release 3 „Performance
  114. 114. Day 4 - Release 3 „Performance40% averageCPU usage.1-2 FE Serversare enough
  115. 115. 5000(echte) Besucher gleichzeitig
  116. 116. 10 0 PEOPLE 6 COUNTRIES 13 YEARS 2700% GROWTHCLIENTS Open Source COMMUNITY
  117. 117. Danke fürszuhören! Follow us on Twitter: AOE: @aoemedia Daniel P: @danpoetz

×