Your SlideShare is downloading. ×
  • Like
  • Save
Angry Birds in the Cloud, Daniel Pötzinger, AOE Media
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

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

  • 328 views
Published

CloudOps Summit 2012, Frankfurt, 20.9.2012, Track 2 - Build and Run …

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
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
  • 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 .......
    Are you sure you want to
    Your message goes here
    Be the first to like this
No Downloads

Views

Total Views
328
On SlideShare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
0
Comments
1
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • show Video as Motivation\n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Talk about Angrybirds Brand\n
  • Talk about Angrybirds Brand\n
  • Talk about Angrybirds Brand\n
  • Talk about Angrybirds Shop Scaling Needs (grow + Merchandize Peaks )\n
  • Loose Coupling through SOA Service (Async processing)\nWarehousemanagement (Inventory per Warehouse / Storeassoc)\n
  • Loose Coupling through SOA Service (Async processing)\nWarehousemanagement (Inventory per Warehouse / Storeassoc)\n
  • Loose Coupling through SOA Service (Async processing)\nWarehousemanagement (Inventory per Warehouse / Storeassoc)\n
  • Loose Coupling through SOA Service (Async processing)\nWarehousemanagement (Inventory per Warehouse / Storeassoc)\n
  • Loose Coupling through SOA Service (Async processing)\nWarehousemanagement (Inventory per Warehouse / Storeassoc)\n
  • Loose Coupling through SOA Service (Async processing)\nWarehousemanagement (Inventory per Warehouse / Storeassoc)\n
  • Loose Coupling through SOA Service (Async processing)\nWarehousemanagement (Inventory per Warehouse / Storeassoc)\n
  • Loose Coupling through SOA Service (Async processing)\nWarehousemanagement (Inventory per Warehouse / Storeassoc)\n
  • Loose Coupling through SOA Service (Async processing)\nWarehousemanagement (Inventory per Warehouse / Storeassoc)\n
  • Loose Coupling through SOA Service (Async processing)\nWarehousemanagement (Inventory per Warehouse / Storeassoc)\n
  • Loose Coupling through SOA Service (Async processing)\nWarehousemanagement (Inventory per Warehouse / Storeassoc)\n
  • Loose Coupling through SOA Service (Async processing)\nWarehousemanagement (Inventory per Warehouse / Storeassoc)\n
  • Loose Coupling through SOA Service (Async processing)\nWarehousemanagement (Inventory per Warehouse / Storeassoc)\n
  • Loose Coupling through SOA Service (Async processing)\nWarehousemanagement (Inventory per Warehouse / Storeassoc)\n
  • Loose Coupling through SOA Service (Async processing)\nWarehousemanagement (Inventory per Warehouse / Storeassoc)\n
  • Loose Coupling through SOA Service (Async processing)\nWarehousemanagement (Inventory per Warehouse / Storeassoc)\n
  • Loose Coupling through SOA Service (Async processing)\nWarehousemanagement (Inventory per Warehouse / Storeassoc)\n
  • Loose Coupling through SOA Service (Async processing)\nWarehousemanagement (Inventory per Warehouse / Storeassoc)\n
  • \n
  • Main advantage is scaling through starting new instances immediatelly\n\nScales Quickly on demand...\n...and pay only what you need\n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Explain drawback when it comes to cloud hosting\n
  • Explain drawback when it comes to cloud hosting\n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Bild! im Kopf\n
  • Bild! im Kopf\n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • http://www.flickr.com/photos/anfroese/4422946946/\n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • (thats not me :-)\n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Loose Coupling through SOA Service (Async processing)\n
  • Loose Coupling through SOA Service (Async processing)\n
  • Loose Coupling through SOA Service (Async processing)\n
  • Loose Coupling through SOA Service (Async processing)\n
  • Loose Coupling through SOA Service (Async processing)\n
  • Loose Coupling through SOA Service (Async processing)\n
  • Loose Coupling through SOA Service (Async processing)\n
  • Loose Coupling through SOA Service (Async processing)\n
  • Loose Coupling through SOA Service (Async processing)\n
  • Loose Coupling through SOA Service (Async processing)\n
  • Loose Coupling through SOA Service (Async processing)\n
  • Loose Coupling through SOA Service (Async processing)\n
  • \n
  • \n
  • \n
  • Loose Coupling through SOA Service (Async processing)\n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • http://www.flickr.com/photos/usnavy/5835442033/sizes/l/\n
  • http://www.agileweboperations.com/lean-agile-devops-related\n
  • http://www.agileweboperations.com/lean-agile-devops-related\n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

Transcript

  • 1. Angrybirds fly in thecloud
  • 2. CloudOps 2012:Angrybirds fly in thecloud Presented by Daniel Pötzinger
  • 3. CIOAOE media „Agilist“ Open Source Deve loper
  • 4. Irregular Traffic Behaviour
  • 5. Das Angry Birds Magento Universum Storefronts
  • 6. Das Angry Birds Magento Universum Storefronts Reporting Products + Ordermgmt Warehouse
  • 7. Das Angry Birds Magento Universum DRM Server Storefronts Reporting Products + Ordermgmt Warehouse
  • 8. Das Angry Birds Magento Universum DRM Server Storefronts Reporting Products + Ordermgmt Mail Service Warehouse
  • 9. Das Angry Birds Magento Universum DRM Server Storefronts Reporting Products + Ordermgmt Mail Service Warehouse Giftcards
  • 10. Das Angry Birds Magento Universum DRM Server Storefronts Reporting Products + Ordermgmt Mail Service Warehouse Giftcards Braintree
  • 11. Das Angry Birds Magento Universum DRM Server Storefronts Reporting Products + Ordermgmt Mail Service Warehouse Giftcards Manage Warehouse Fullfillment Braintree
  • 12. Das Angry Birds Magento Universum DRM Server Storefronts Reporting Products + Ordermgmt Mail Service Warehouse Giftcards Manage Warehouse Fullfillment Braintree
  • 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. Why Amazon Cloud ?
  • 15. ✓ Scales quickly on demand✓ Pay only what you need
  • 16. Powerfull AWS Services
  • 17. Powerfull AWS Services EC2
  • 18. Powerfull AWS Services EC2 S3
  • 19. Powerfull AWS Services EC2 S3 RDS
  • 20. Powerfull AWS Services EC2 S3 RDS Cloud Front
  • 21. Powerfull AWS Services EC2 S3 RDS Cloud Elastic Front Cache
  • 22. Powerfull AWS Services EC2 S3 RDS Cloud Elastic ELB Front Cache
  • 23. Powerfull AWS Services EC2 S3 RDS Cloud Elastic ELB R53 Front Cache
  • 24. Powerfull AWS Services EC2 S3 RDS Cloud Elastic ELB R53 Front Cache Amazon Webservices & Amazon Console
  • 25. Powerfull AWS Services EC2 S3 RDS Cloud Elastic ELB R53 Front Cache Amazon Webservices & Amazon Console Rightscale Services
  • 26. Powerfull AWS Services EC2 S3 RDS Cloud Elastic ELB Front Cache Amazon Webservices & Amazon Console Rightscale Services
  • 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. CloudArchitecture
  • 29. Varnish Array
  • 30. EC2 EC2 Varnish Array
  • 31. EC2 EC2 Varnish ArrayEC2 EC2 EC2 Frontend Array
  • 32. EC2 EC2 Varnish ArrayEC2 EC2 EC2 EC2 EC2 Frontend Array Backend Array
  • 33. EC2 EC2 Varnish ArrayEC2 EC2 EC2 EC2 EC2 Frontend Array Backend Array RDS
  • 34. EC2 EC2 Varnish ArrayEC2 EC2 EC2 EC2 EC2 Frontend Array Backend Array RDS RDS
  • 35. S3 Assets Storage EC2 EC2 Varnish ArrayEC2 EC2 EC2 EC2 EC2 Frontend Array Backend Array RDS RDS
  • 36. Cloud S3 Assets Storage EC2 EC2 Varnish ArrayEC2 EC2 EC2 EC2 EC2 Frontend Array Backend Array RDS RDS
  • 37. Cloud S3 Assets Storage EC2 EC2 Varnish ArrayEC2 EC2 EC2 EC2 EC2 Frontend Array Backend Array EC2 Worker Array RDS RDS
  • 38. Cloud S3 Assets Storage ELB EC2 EC2 Varnish ArrayEC2 EC2 EC2 EC2 EC2 Frontend Array Backend Array EC2 Worker Array RDS RDS
  • 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. 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. 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. 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. 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. 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. Um zu Skalieren muss manden Flaschenhals finden und eliminieren
  • 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. HTTP Caching Traffic
  • 48. HTTP Caching (Magento) Frontend Traffic
  • 49. HTTP Caching (Magento) Frontend Traffic Offload expensive requests
  • 50. HTTP Caching (Magento) Browser Frontend Traffic Traffic Offload expensive requests
  • 51. HTTP Caching CDN (Magento) Browser Frontend Traffic Traffic Offload expensive requests
  • 52. HTTP Caching CDN (Magento) Browser Frontend Traffic Traffic Varnish (Reverse Proxy) Traffic Offload expensive requests
  • 53. HTTP Caching CDN (Magento) Browser Frontend Traffic Traffic Purging Varnish (Reverse Proxy) Traffic Offload expensive requests
  • 54. 10.000+ MÖGLICHE Seiten / Sekunde aus ELB + Varnish
  • 55. Application Tuning istgaaanz Individuell!
  • 56. Autoscaling Traffic
  • 57. Traffic AutoscalingEC2 EC2 EC2 Frontend Array
  • 58. Traffic AutoscalingEC2 EC2 EC2 Frontend Array
  • 59. Traffic AutoscalingEC2 EC2 EC2EC2 EC2 EC2 Frontend Array
  • 60. Autoscaling •Gruppen mit Policys Frontend Array Traffic EC2 EC2 EC2 EC2 EC2 EC2
  • 61. Autoscaling •Gruppen mit Policys Frontend Array • min, max Traffic EC2 EC2 EC2 EC2 EC2 EC2
  • 62. Autoscaling •Gruppen mit Policys Frontend Array • min, max • Votingrules for scale up/down Traffic EC2 EC2 EC2 EC2 EC2 EC2
  • 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. 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. 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. 10.000MÖGLICHE Bestellungen pro Stunde
  • 67. zu Erfolg gehört mehr als nur die Cloud man kann nicht alles vorhersehen.....aber man kann vorbereitet sein schnell zu reagieren
  • 68. ContinuousDeployment
  • 69. Don‘t be scared ofreleasing toproduction
  • 70. late night bugfixing?
  • 71. So muss ein Deploymentaussehen
  • 72. Definition Continuous Deployment
  • 73. Definition Continuous Deployment We want on-demand deployment
  • 74. Definition Continuous Deployment We want on-demand deployment of tested features and fixes
  • 75. Definition Continuous Deployment We want on-demand deployment of tested features and fixes in a quick and reliable way
  • 76. Wir erreichen das durch
  • 77. Wir erreichen das durch Alles zu
  • 78. Wir erreichen das durch Alles zu Build
  • 79. Wir erreichen das durch Alles zu Build Testing
  • 80. Wir erreichen das durch Alles zu Build Testing Deployment
  • 81. ..und
  • 82. ..unddas alles häufig ausführen
  • 83. flic kr ti m d e p es loy ad s3 ay . ....unddas alles häufig ausführen
  • 84. The DeploymentPipeline
  • 85. Angry Birds Deployment Pipeline Backup SVN Storage Commit and Build Build Downstream and Test Strategy Feedback to Developers
  • 86. Angry Birds Deployment Pipeline Backup SVN Storage Commit Unit Tests and Build Build Downstream and Test Strategy Feedback to Developers
  • 87. Angry Birds Deployment Pipeline Backup SVN Storage Commit Unit Tests and Build Build Downstream and Test Strategy Feedback to Developers
  • 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. Angry Birds Deployment Pipeline Backup SVN Storage Commit Install on Unit Tests and Build „latest“ Build Downstream and Test Strategy Feedback to Developers
  • 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. 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. 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. 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. Angry Birds Deployment Pipeline Install on Cloud Integration CloudDeployment Copy to S3 Deployment Tests deployment System Staging AOE + Rovio production
  • 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. 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. 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. 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. 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. 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. 0Sekunden Downtime
  • 102. Entwicklung und IT/Betrieb müssen an einem Strick ziehen
  • 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. 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. 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. The real life
  • 107. Day 1 - Release 1
  • 108. Day 2 - Release 2 - „get ready for Space“
  • 109. Day 3 - „People want it so badly“
  • 110. Day 3 - „People want it so badly“ New release deployed
  • 111. Day 3 - „People want it so badly“ Space game launched Array scales up New release deployed
  • 112. Day 3 - „People want it so badly“ USA wakes up Space game launched Array scales up New release deployed
  • 113. Day 4 - Release 3 „Performance
  • 114. Day 4 - Release 3 „Performance40% averageCPU usage.1-2 FE Serversare enough
  • 115. 5000(echte) Besucher gleichzeitig
  • 116. 10 0 PEOPLE 6 COUNTRIES 13 YEARS 2700% GROWTHCLIENTS Open Source COMMUNITY
  • 117. Danke fürszuhören! Follow us on Twitter: AOE: @aoemedia Daniel P: @danpoetz