2. Application Rate of Change Is Increasing
Source 2013 State of DevOps Report
Puppet Labs, IT Revolution Press
Top Performers
30x more frequent
code deployments
More than 25% can
deploy on demand
3. ~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
4. 75%
Reduction in
outages triggered
by software
deployments since
2006
90%
Reduction in
outage minutes
triggered by
software
deployments
Business Value of Frequent
Deployments
~0.001%
Software
deployments
cause an
outage
5. example.com – Online auction
AWS Sydney Region
Public subnet App subnet
HAProxy Vertx
Glassfish
Data subnet
Puppet
Stack
ELK
StackMgmt subnet
Jenkins
7. Start with a Base Image
Machine Images can come from several sources..
- AWS Provided (Quick Start)
- AWS Marketplace
- Community AMIs
- Build your own AMIs
- Migrate On Premise Image
We need a server to
build an image to
build a server
21. Bake an AMI Puppet +
Sweet spot
To AMI or not to AMI
Start an instance
Configure the instance
Create an AMI from your
instance
Start new ones from the AMI
Launch an instance
Use metadata service to get
hiera roles
Puppet run performs post
launch config
22. The Butler orchestrates
* Golden AMI – Glassfish + HAProxy + Vertx + Applications with all services turned off
Minor Release
Major Release
+
+
CodeDeploy Autoscaling group Scheduled
Autoscaling
group
Packer AMI* DynamoDB
Autoscaling
group
Packer AMI* DynamoDB