3. What is Continuous Integration?
Changes to code automatically deployed to mainline branch
• After passing unit and mock tests
Makes changes to code, and deployments iterative, not
monolithic
Bugs are detected quickly
Allows rapid development
Helps automate deployments
18. New AWS Managed Options
CodeDeploy
• Deploy your code to hundreds or thousands of instances
CodeCommit
• AWS Managed Git Hosting
CodePipelines
• AWS Managed Continuous Integration System
20. Why?
Customers are asking
Share Amazon tools and processes with customers
Showcase and integrate AWS partner tools
9/25/14 20
21. Source Control
Private Git repositories hosted on Amazon S3
Full Git compatibility (use with existing tools)
All the benefits of the cloud
(scalable, durable, reliable, low pay as you go pricing)
No size limits on repositories (store binary files)
Online code tools with browse, edit, diff
10/13/14 21
22.
23. Continuous Delivery
Customizable release automation, with integrated build and test
Model and visualize custom release workflow
(source build beta gamma prod)
Automate builds, tests, and deployments
Enforce custom rules, approvals, and gates
Integrate with third-party and custom tools
10/13/14 23
24.
25. Deployment
Coordinate software updates to fleets of EC2 instances
Rolling updates for no downtime
Deployment health checks and easy rollback
Auto Scaling integration
Works with any application
Reuse existing setup tools
(Bash, Powershell, Chef, Puppet…)
10/13/14 25
48. They had this built for the previous 3 months, a
on the East Coast.
49. They had this built for the previous 3 months, a
on the East Coast.
We built this part in
9 hours to be safe.
AWS +
Puppet +
Netflix Asgard +
WAN Optimization Software +
DevOps =
Cross-Continent Fault-
Tolerance On-Demand
51. Webmaker.org circa 2012
• Included Apps, non-SOA: Thimble, Popcorn, Goggles
• ~20 pushes of new software in 2012
• Operations and Development interacted mostly through bugzilla
tickets for deploys.
• Hosting in physical datacenter at Mozilla
Webmaker.org circa early 2013
• Deciding to go 12-factor, SOA in app layer
• Weekly pushes of Popcorn on train model
• Operations and Development interacted mostly through bugzilla
tickets for deploys.
52. April 2013
Webmaker begins rebuilding entire platform
SOA, 12-factor in node.js exclusively
Moving apps into AWS and DevOps / CI
53. Since April 2013….
Openbadges, Webmaker combine for: 1339 Pushes
Pushes Per Day to Staging / Prod
Pushes Per Day (Staging and Prod)
54. Who?
• ~30 Paid Developers
• Hundreds of Students
• Thousands of Contributors
• One DevOps / Internet Jedi
• Multiple Teams
How?
• Puppet, Jenkins, Fabric
• Tight feedback loops:
Newrelic, Opsview
• Culture Shift
• Staging Envs
• Brave devs iterate,
keeping work in-context
• Visible Ops
• Cross-train developers in
operations
56. 1) Know How You Were Doing Before
2) Know What Changed When
3) Know How You Are Now Doing
=
The confidence to try more things
and try them faster, with minimum
viable planning.
78. 11.6s
Mean time
between
deployments
(weekday)
1,079
Max number of
deployments in a
single hour
10,000
Mean number of
hosts
simultaneously
receiving a
deployment
30,000
Max number of
hosts
simultaneously
receiving a
deployment
DEPLOYMENTS AT
AMAZON.COM