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
66. CPU
Network
Storage (DB)Traffic
Possible Bottlenecks
Offloading, Optimisation,
Caching, add more CPU (scale)...
Offloading, Optimisation,
Scale Storage UP (H/V),
Replace Storage...
Offloading (CDN, Proxy)
Optimize Size of the Site
Scale Network IS...
Freitag, 3. Mai 13
79. Autoscaling
•Groups with policys
•Min, Max
•Votingrules for
scaling up & down
•Replace broken
instances
Traffic
FrontendArray
EC2EC2EC2
EC2EC2EC2
Freitag, 3. Mai 13
91. And you?
• Do you use continuous integration?
Freitag, 3. Mai 13
92. And you?
• Do you use continuous integration?
• Do you use automated acceptance tests?
Freitag, 3. Mai 13
93. And you?
• Do you use continuous integration?
• Do you use automated acceptance tests?
• Do you keep them green?
Freitag, 3. Mai 13
94. 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
112. Commit
and Build
Build Downstream and Test Strategy
SVN
Backup
Storage
Angry Birds Deployment Pipeline
Feedback to Developers
Freitag, 3. Mai 13
113. Commit
and Build
Build Downstream and Test Strategy
SVN
Backup
Storage
Unit Tests
Angry Birds Deployment Pipeline
Feedback to Developers
Freitag, 3. Mai 13
114. Commit
and Build
Build Downstream and Test Strategy
SVN
Backup
Storage
Unit Tests
Angry Birds Deployment Pipeline
Feedback to Developers
Freitag, 3. Mai 13
115. Commit
and Build
Build Downstream and Test Strategy
SVN
Backup
Storage
Unit Tests
Install on
“latest”
Angry Birds Deployment Pipeline
Feedback to Developers
Freitag, 3. Mai 13
116. Commit
and Build
Build Downstream and Test Strategy
SVN
Backup
Storage
Unit Tests
Install on
“latest”
Angry Birds Deployment Pipeline
Feedback to Developers
Freitag, 3. Mai 13
117. Selenium
Acceptance Tests
Commit
and Build
Build Downstream and Test Strategy
SVN
Backup
Storage
Unit Tests
Install on
“latest”
Angry Birds Deployment Pipeline
Feedback to Developers
Freitag, 3. Mai 13
118. Selenium
Acceptance Tests
Commit
and Build
Build Downstream and Test Strategy
SVN
Backup
Storage
Unit Tests
Install on
“latest”
Angry Birds Deployment Pipeline
Feedback to Developers
Freitag, 3. Mai 13
119. Selenium
Acceptance Tests
Commit
and Build
Build Downstream and Test Strategy
SVN
Backup
Storage
Unit Tests
Install on
“latest”
Performance
Tests
Angry Birds Deployment Pipeline
Feedback to Developers
Freitag, 3. Mai 13
120. Selenium
Acceptance Tests
Commit
and Build
Build Downstream and Test Strategy
SVN
Backup
Storage
Unit Tests
Install on
“latest”
Performance
Tests
Angry Birds Deployment Pipeline
Feedback to Developers
Freitag, 3. Mai 13
121. Angry Birds Deployment Pipeline
Install on
Deployment
System
Copy to S3
Cloud
Deployment
Staging
Integration
Tests
AOE + Rovio
Cloud
deployment
production
Freitag, 3. Mai 13
124. Deployment „Version 89“
Varnish Array
Autoscaling
Frontend Array
Backend
Array
Worker
Array
Cloud Deployment
ELB
Deployment „Version 88“
RDS
mySQL
S3
Varnish Array
Autoscaling
Frontend Array
Backend
Array
Worker
Array
V V V
WFE FE FE BE BE BE
R53
DNS
Freitag, 3. Mai 13
125. Deployment „Version 89“
Varnish Array
Autoscaling
Frontend Array
Backend
Array
Worker
Array
Cloud Deployment
ELB
Deployment „Version 88“
RDS
mySQL
S3
Varnish Array
Autoscaling
Frontend Array
Backend
Array
Worker
Array
ELB
W
V V V
WFE FE FE BE BE BE
R53
DNS
Freitag, 3. Mai 13
126. Deployment „Version 89“
Varnish Array
Autoscaling
Frontend Array
Backend
Array
Worker
Array
Cloud Deployment
ELB
Deployment „Version 88“
RDS
mySQL
S3
Varnish Array
Autoscaling
Frontend Array
Backend
Array
Worker
Array
ELB
WFE FE FE BE BE BE
V V VV V V
WFE FE FE BE BE BE
R53
DNS
Freitag, 3. Mai 13
127. Deployment „Version 89“
Varnish Array
Autoscaling
Frontend Array
Backend
Array
Worker
Array
Cloud Deployment
ELB
Deployment „Version 88“
RDS
mySQL
S3
Varnish Array
Autoscaling
Frontend Array
Backend
Array
Worker
Array
ELB
WFE FE FE BE BE BE
V V VV V V
WFE FE FE BE BE BE
R53
DNS
Freitag, 3. Mai 13
144. Thanks!
Follow us on Twitter:
AOE: @aoemedia
Daniel P: @danpoetz
Flickr 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