AWS Summit Berlin 2013 - "Angrybirds fly in the cloud" - Scaling and Market needs for the Angrybirds Shop
 

AWS Summit Berlin 2013 - "Angrybirds fly in the cloud" - Scaling and Market needs for the Angrybirds Shop

on

  • 1,842 views

The Angry Birds Global Merchandize Shop runs and scales 100% automatically in the AWS Infrastructure and is designed to easily handle 20x traffic peaks during marketing and new release peaks. Learn ...

The Angry Birds Global Merchandize Shop runs and scales 100% automatically in the AWS Infrastructure and is designed to easily handle 20x traffic peaks during marketing and new release peaks. Learn about the infrastructure and the applied strategies for Continuous Delivery, Autoscaling and Zero Downtime Rollouts with the Amazon Cloud.
Speaker: Daniel Pötzinger, CTO AOE Media

Statistics

Views

Total Views
1,842
Views on SlideShare
1,071
Embed Views
771

Actions

Likes
2
Downloads
24
Comments
0

1 Embed 771

https://twitter.com 771

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

AWS Summit Berlin 2013 - "Angrybirds fly in the cloud" - Scaling and Market needs for the Angrybirds Shop AWS Summit Berlin 2013 - "Angrybirds fly in the cloud" - Scaling and Market needs for the Angrybirds Shop Presentation Transcript

  • Freitag, 3. Mai 13
  • Angrybirds fly in thecloudFreitag, 3. Mai 13
  • Angrybirds fly in thecloudPresented byDaniel PötzingerAWS Summit 2013Freitag, 3. Mai 13
  • Freitag, 3. Mai 13
  • danpoetzFreitag, 3. Mai 13
  • Freitag, 3. Mai 13
  • Freitag, 3. Mai 13
  • Freitag, 3. Mai 13
  • 152,2 Million €68,5 Million € Consumer ProductsFreitag, 3. Mai 13
  • Freitag, 3. Mai 13
  • Freitag, 3. Mai 13
  • PC gamesPlush toys, shirts, ...Freitag, 3. Mai 13
  • > 24.000.000 likes > 500.000 followersSocial MediaImpactFreitag, 3. Mai 13
  • Irregular Traffic BehaviourFreitag, 3. Mai 13
  • ChallengesFreitag, 3. Mai 13
  • ChallengesFrequent developmentand releasing of newfeaturesFreitag, 3. Mai 13
  • ChallengesFrequent developmentand releasing of newfeaturesScalable and stableOperationFreitag, 3. Mai 13
  • Freitag, 3. Mai 13
  • The solution?Freitag, 3. Mai 13
  • Freitag, 3. Mai 13
  • ContinuousDeploymentCloudDevOpsFreitag, 3. Mai 13
  • ContinuousDeploymentCloudDevOpsFreitag, 3. Mai 13
  • ContinuousDeploymentCloudDevOpsFreitag, 3. Mai 13
  • Why Amazon Web Services ?Freitag, 3. Mai 13
  • ✓Scales quickly on demand✓Pay only what for whatyou useFreitag, 3. Mai 13
  • 8 regions with 2-4 availability zonesA lot of „edge servers“ for content deliveryFreitag, 3. Mai 13
  • Think cleanly about your operation infrastructureFreitag, 3. Mai 13
  • Setting up a new environment should alwaysbe faster than fixing an existing oneFreitag, 3. Mai 13
  • What you should doFreitag, 3. Mai 13
  • What you should doAutomate the setup of new serversFreitag, 3. Mai 13
  • What you should doAutomate the setup of new serversAutomate failoverFreitag, 3. Mai 13
  • What you should doAutomate the setup of new serversAutomate failoverAutomate scalingFreitag, 3. Mai 13
  • What you should doAutomate the setup of new serversAutomate failoverAutomate scalingDon‘t do work that others did betterFreitag, 3. Mai 13
  • Powerfull AWS Services for AngrybirdsFreitag, 3. Mai 13
  • Powerfull AWS Services for AngrybirdsEC2Freitag, 3. Mai 13
  • Powerfull AWS Services for AngrybirdsS3EC2Freitag, 3. Mai 13
  • Powerfull AWS Services for AngrybirdsS3EC2 RDSFreitag, 3. Mai 13
  • Powerfull AWS Services for AngrybirdsCloudFrontS3EC2 RDSFreitag, 3. Mai 13
  • Powerfull AWS Services for AngrybirdsCloudFront ElastiCacheS3EC2 RDSFreitag, 3. Mai 13
  • Powerfull AWS Services for AngrybirdsCloudFront ElastiCacheS3EC2 RDS ELBFreitag, 3. Mai 13
  • Powerfull AWS Services for AngrybirdsCloudFront ElastiCacheS3EC2 RDS ELB R53Freitag, 3. Mai 13
  • Powerfull AWS Services for AngrybirdsAmazon Web Services & Amazon ConsoleCloudFront ElastiCacheS3EC2 RDS ELB R53Freitag, 3. Mai 13
  • Powerfull AWS Services for AngrybirdsRightscale ServicesAmazon Web Services & Amazon ConsoleCloudFront ElastiCacheS3EC2 RDS ELB R53Freitag, 3. Mai 13
  • Freitag, 3. Mai 13
  • Freitag, 3. Mai 13
  • CloudArchitectureFreitag, 3. Mai 13
  • Freitag, 3. Mai 13
  • Varnish ArrayFreitag, 3. Mai 13
  • Varnish ArrayEC2 EC2Freitag, 3. Mai 13
  • Varnish ArrayFrontend ArrayEC2 EC2 EC2EC2 EC2Freitag, 3. Mai 13
  • Varnish ArrayFrontend Array Backend ArrayEC2 EC2EC2 EC2 EC2EC2 EC2Freitag, 3. Mai 13
  • Varnish ArrayFrontend Array Backend ArrayRDSEC2 EC2EC2 EC2 EC2EC2 EC2Freitag, 3. Mai 13
  • RDSVarnish ArrayFrontend Array Backend ArrayRDSEC2 EC2EC2 EC2 EC2EC2 EC2Freitag, 3. Mai 13
  • RDSVarnish ArrayFrontend Array Backend ArrayRDSS3Assets StorageEC2 EC2EC2 EC2 EC2EC2 EC2Freitag, 3. Mai 13
  • RDSVarnish ArrayFrontend Array Backend ArrayRDSCloudFrontCDN for AssetsS3Assets StorageEC2 EC2EC2 EC2 EC2EC2 EC2Freitag, 3. Mai 13
  • RDSVarnish ArrayFrontend Array Backend Array Worker ArrayRDSCloudFrontCDN for AssetsS3Assets StorageEC2 EC2EC2EC2 EC2 EC2EC2 EC2Freitag, 3. Mai 13
  • RDSVarnish ArrayFrontend Array Backend Array Worker ArrayELBRDSCloudFrontCDN for AssetsS3Assets StorageEC2 EC2EC2EC2 EC2 EC2EC2 EC2Freitag, 3. Mai 13
  • RDS„Deployment Definition“+ AutoscalingVarnish ArrayFrontend Array Backend Array Worker ArrayELBRDSCloudFrontCDN for AssetsS3Assets StorageEC2 EC2EC2EC2 EC2 EC2EC2 EC2Freitag, 3. Mai 13
  • RDS„Deployment Definition“+ AutoscalingVarnish ArrayFrontend Array Backend Array Worker ArrayELBRDSCloudFrontCDN for AssetsS3Assets StorageEC2 EC2EC2EC2 EC2 EC2EC2 EC2MonitoringFreitag, 3. Mai 13
  • RDS„Deployment Definition“+ AutoscalingVarnish ArrayFrontend Array Backend Array Worker ArrayELBRDSCloudFrontCDN for AssetsS3Assets StorageEC2 EC2EC2EC2 EC2 EC2EC2 EC2MonitoringAPIFreitag, 3. Mai 13
  • RDS„Deployment Definition“+ AutoscalingVarnish ArrayFrontend Array Backend Array Worker ArrayCloudFrontCDN for SkinELBRDSCloudFrontCDN for AssetsS3Assets StorageEC2 EC2EC2EC2 EC2 EC2EC2 EC2MonitoringAPIFreitag, 3. Mai 13
  • RDS„Deployment Definition“+ AutoscalingVarnish ArrayFrontend Array Backend Array Worker ArrayCloudFrontCDN for SkinELBR53DNSRDSCloudFrontCDN for AssetsS3Assets StorageEC2 EC2EC2EC2 EC2 EC2EC2 EC2MonitoringAPIFreitag, 3. Mai 13
  • RDS„Deployment Definition“+ AutoscalingVarnish ArrayFrontend Array Backend Array Worker ArrayCloudFrontCDN for SkinELBR53DNSRDSElastiCacheCache BackendCloudFrontCDN for AssetsS3Assets StorageEC2 EC2EC2EC2 EC2 EC2EC2 EC2MonitoringAPIFreitag, 3. Mai 13
  • RDS„Deployment Definition“+ AutoscalingVarnish ArrayFrontend Array Backend Array Worker ArrayCloudFrontCDN for SkinELBR53DNSRDSS3DeploymentElastiCacheCache BackendCloudFrontCDN for AssetsS3Assets StorageEC2 EC2EC2EC2 EC2 EC2EC2 EC2MonitoringAPIFreitag, 3. Mai 13
  • Scaling is about finding thebottleneckFreitag, 3. Mai 13
  • CPUNetworkStorage (DB)TrafficPossible BottlenecksOffloading, Optimisation,Caching, add more CPU (scale)...Offloading, Optimisation,Scale Storage UP (H/V),Replace Storage...Offloading (CDN, Proxy)Optimize Size of the SiteScale Network IS...Freitag, 3. Mai 13
  • HTTP CachingTrafficFreitag, 3. Mai 13
  • HTTP CachingApplicationTrafficFreitag, 3. Mai 13
  • HTTP CachingApplicationOffload expensive requestsTrafficFreitag, 3. Mai 13
  • HTTP CachingApplicationOffload expensive requestsTrafficBrowserTrafficFreitag, 3. Mai 13
  • HTTP CachingApplicationOffload expensive requestsTrafficCDNBrowserTrafficFreitag, 3. Mai 13
  • HTTP CachingApplicationVarnish(Reverse Proxy) TrafficOffload expensive requestsTrafficCDNBrowserTrafficFreitag, 3. Mai 13
  • HTTP CachingApplicationVarnish(Reverse Proxy) TrafficOffload expensive requestsTrafficCDNBrowserTrafficPurgingFreitag, 3. Mai 13
  • 10.000+Possible Pages / Secondefrom ELB &VarnishFreitag, 3. Mai 13
  • AutoscalingTrafficFreitag, 3. Mai 13
  • AutoscalingTrafficFrontendArrayEC2EC2EC2Freitag, 3. Mai 13
  • AutoscalingTrafficFrontendArrayEC2EC2EC2Freitag, 3. Mai 13
  • AutoscalingTrafficFrontendArrayEC2EC2EC2EC2EC2EC2Freitag, 3. Mai 13
  • Autoscaling•Groups with policys•Min, Max•Votingrules forscaling up & down•Replace brokeninstancesTrafficFrontendArrayEC2EC2EC2EC2EC2EC2Freitag, 3. Mai 13
  • 10.000possible Orders / HourFreitag, 3. Mai 13
  • Be prepared for changesFreitag, 3. Mai 13
  • Freitag, 3. Mai 13
  • Freitag, 3. Mai 13
  • ContinuousDeploymentFreitag, 3. Mai 13
  • Freitag, 3. Mai 13
  • Freitag, 3. Mai 13
  • Don‘t be scared ofreleasing toproductionFreitag, 3. Mai 13
  • Late night bugfixing?Freitag, 3. Mai 13
  • That’s how a deployment should look likeFreitag, 3. Mai 13
  • And you?Freitag, 3. Mai 13
  • And you?• Do you use continuous integration?Freitag, 3. Mai 13
  • And you?• Do you use continuous integration?• Do you use automated acceptance tests?Freitag, 3. Mai 13
  • And you?• Do you use continuous integration?• Do you use automated acceptance tests?• Do you keep them green?Freitag, 3. Mai 13
  • And you?• Do you use continuous integration?• Do you use automated acceptance tests?• Do you keep them green?• Do you use continuous deployment?Freitag, 3. Mai 13
  • Continuous DeploymentFreitag, 3. Mai 13
  • Continuous DeploymentWe want on-demand deploymentFreitag, 3. Mai 13
  • Continuous DeploymentWe want on-demand deploymentof tested features and fixesFreitag, 3. Mai 13
  • Continuous DeploymentWe want on-demand deploymentof tested features and fixesin a quick and reliable wayFreitag, 3. Mai 13
  • We reach this byFreitag, 3. Mai 13
  • Automating everythingWe reach this byFreitag, 3. Mai 13
  • Automating everythingWe reach this byBuildFreitag, 3. Mai 13
  • Automating everythingWe reach this byBuildTestingFreitag, 3. Mai 13
  • Automating everythingWe reach this byBuildTestingDeploymentFreitag, 3. Mai 13
  • ..andFreitag, 3. Mai 13
  • doing it frequently..andFreitag, 3. Mai 13
  • doing it frequently..andflickr deploys 3times a day...Freitag, 3. Mai 13
  • Freitag, 3. Mai 13
  • Freitag, 3. Mai 13
  • The DeploymentPipelineFreitag, 3. Mai 13
  • Freitag, 3. Mai 13
  • Freitag, 3. Mai 13
  • Commitand BuildBuild Downstream and Test StrategySVNBackupStorageAngry Birds Deployment PipelineFeedback to DevelopersFreitag, 3. Mai 13
  • Commitand BuildBuild Downstream and Test StrategySVNBackupStorageUnit TestsAngry Birds Deployment PipelineFeedback to DevelopersFreitag, 3. Mai 13
  • Commitand BuildBuild Downstream and Test StrategySVNBackupStorageUnit TestsAngry Birds Deployment PipelineFeedback to DevelopersFreitag, 3. Mai 13
  • Commitand BuildBuild Downstream and Test StrategySVNBackupStorageUnit TestsInstall on“latest”Angry Birds Deployment PipelineFeedback to DevelopersFreitag, 3. Mai 13
  • Commitand BuildBuild Downstream and Test StrategySVNBackupStorageUnit TestsInstall on“latest”Angry Birds Deployment PipelineFeedback to DevelopersFreitag, 3. Mai 13
  • SeleniumAcceptance TestsCommitand BuildBuild Downstream and Test StrategySVNBackupStorageUnit TestsInstall on“latest”Angry Birds Deployment PipelineFeedback to DevelopersFreitag, 3. Mai 13
  • SeleniumAcceptance TestsCommitand BuildBuild Downstream and Test StrategySVNBackupStorageUnit TestsInstall on“latest”Angry Birds Deployment PipelineFeedback to DevelopersFreitag, 3. Mai 13
  • SeleniumAcceptance TestsCommitand BuildBuild Downstream and Test StrategySVNBackupStorageUnit TestsInstall on“latest”PerformanceTestsAngry Birds Deployment PipelineFeedback to DevelopersFreitag, 3. Mai 13
  • SeleniumAcceptance TestsCommitand BuildBuild Downstream and Test StrategySVNBackupStorageUnit TestsInstall on“latest”PerformanceTestsAngry Birds Deployment PipelineFeedback to DevelopersFreitag, 3. Mai 13
  • Angry Birds Deployment PipelineInstall onDeploymentSystemCopy to S3CloudDeploymentStagingIntegrationTestsAOE + RovioClouddeploymentproductionFreitag, 3. Mai 13
  • Varnish ArrayAutoscalingFrontend ArrayBackendArrayWorkerArrayCloud DeploymentELBDeployment „Version 88“Start new release by✓ cloning old deployment✓ adjusting release numberRDSmySQLS3V V VWFE FE FE BE BE BER53DNSFreitag, 3. Mai 13
  • Varnish ArrayAutoscalingFrontend ArrayBackendArrayWorkerArrayCloud DeploymentELBDeployment „Version 88“RDSmySQLS3V V VWFE FE FE BE BE BER53DNSFreitag, 3. Mai 13
  • Deployment „Version 89“Varnish ArrayAutoscalingFrontend ArrayBackendArrayWorkerArrayCloud DeploymentELBDeployment „Version 88“RDSmySQLS3Varnish ArrayAutoscalingFrontend ArrayBackendArrayWorkerArrayV V VWFE FE FE BE BE BER53DNSFreitag, 3. Mai 13
  • Deployment „Version 89“Varnish ArrayAutoscalingFrontend ArrayBackendArrayWorkerArrayCloud DeploymentELBDeployment „Version 88“RDSmySQLS3Varnish ArrayAutoscalingFrontend ArrayBackendArrayWorkerArrayELBWV V VWFE FE FE BE BE BER53DNSFreitag, 3. Mai 13
  • Deployment „Version 89“Varnish ArrayAutoscalingFrontend ArrayBackendArrayWorkerArrayCloud DeploymentELBDeployment „Version 88“RDSmySQLS3Varnish ArrayAutoscalingFrontend ArrayBackendArrayWorkerArrayELBWFE FE FE BE BE BEV V VV V VWFE FE FE BE BE BER53DNSFreitag, 3. Mai 13
  • Deployment „Version 89“Varnish ArrayAutoscalingFrontend ArrayBackendArrayWorkerArrayCloud DeploymentELBDeployment „Version 88“RDSmySQLS3Varnish ArrayAutoscalingFrontend ArrayBackendArrayWorkerArrayELBWFE FE FE BE BE BEV V VV V VWFE FE FE BE BE BER53DNSFreitag, 3. Mai 13
  • 0Seconds DowntimeFreitag, 3. Mai 13
  • Freitag, 3. Mai 13
  • Freitag, 3. Mai 13
  • The real lifeFreitag, 3. Mai 13
  • Freitag, 3. Mai 13
  • Freitag, 3. Mai 13
  • Day 1 - Release 1Freitag, 3. Mai 13
  • Day 2 - Release 2 - “Get ready for Space”Freitag, 3. Mai 13
  • Day 3 - „People want it so badly“Freitag, 3. Mai 13
  • New releasedeployedDay 3 - „People want it so badly“Freitag, 3. Mai 13
  • New releasedeployedSpace gamelaunchedArray scales upDay 3 - „People want it so badly“Freitag, 3. Mai 13
  • New releasedeployedSpace gamelaunchedArray scales upUSA wakes upDay 3 - „People want it so badly“Freitag, 3. Mai 13
  • Day 4 - Release 3 „Performance Improvement“Freitag, 3. Mai 13
  • 40% averageCPU usage.1-2 FE Servers areenough for normaloperationsDay 4 - Release 3 „Performance Improvement“Freitag, 3. Mai 13
  • Freitag, 3. Mai 13
  • Freitag, 3. Mai 13
  • Thanks!Follow us on Twitter:AOE: @aoemediaDaniel P: @danpoetzFlickr photo contributions in the slide:http://www.flickr.com/photos/the-wanderers-eye/4494147652/sizes/l/http://www.flickr.com/photos/51293088@N05/8195327886/sizes/l/http://www.flickr.com/photos/k1rsch/3818553037/sizes/l/Freitag, 3. Mai 13