@petecheslock
Pick Any 3:

Good, Fast, or Safe
DevOps from Scratch
@petecheslock
Who Am I?
Pete Cheslock
@petecheslock
Technical Operations at Threat Stack
@petecheslock
@petecheslock
GOOD
FAST
SAFE
@petecheslock!5
Companies are Choosing
Speed Over Security
52%
of Companies Admit to
Sacrificing Security for Speed
64%
of Sales professionals say
they have had a deal slowed
down by insufficient security
6
Let Threat Stack Help You Build 

a Cloud SecOps Program
@petecheslock
What Even is The DevOps?
@petecheslock
@petecheslock
@petecheslock
@petecheslock
@petecheslock
@petecheslock
DevOps is
Anything Your Heart Desires
@petecheslock
@petecheslock
http://html5zombo.com/
@petecheslock
Let’s Talk About the
Bad Old Days
@petecheslock
@petecheslock
@petecheslock
Crop image to fit inside this box
The Bad
Old Days
Software
Crop image to fit inside this box
The Bad
Old Days
Software
Devs would rarely even have access to
production systems…
…which means Ops would have to take
the code and install it based on Dev’s
instructions
@petecheslock
The Bad
Old Days
Infrastructure
Lead time for new servers would be
measured in weeks (best) or months (worst)
Code could be ready before servers were
available.
Long feedback loops in running code on
actual hardware, wasted time and money.
@petecheslock
@petecheslock@petecheslock
Dev’s job is to
add new
features
Ops’s job is to
keep the site
stable and fast
Traditional Thinking
@petecheslock
I want
stability!
I want
change!
WallofConfusion
Development Operations
@petecheslock
@petecheslock
Devs Ops Security
WallofConfusion
@petecheslock
DevOps
Operations job is NOT to keep the site stable
and fast.


Operations (and Dev’s) job is to enable the
business.
@petecheslock
Tools Culture&
Lowering the risk of change through
@petecheslock
1 2 3
This is a Story in Three Acts
ACT THREE
Ownership and
Accountability.
ACT TWO
Metrics are a first class
citizen.
ACT ONE
Optimize for ease of
software deployment.
@petecheslock
Simplify the act of getting new
software to Customers.
Iterate and improve upon that
process.
Leverage tools like Canary
Deployments and Dark Shipping
Ship the code when its “Ready”
Software Deployment
@petecheslock
Simplify the act of getting new
software to Customers.
Iterate and improve upon that
process.
Leverage tools like Canary
Deployments and Dark Shipping
Ship the code when its “Ready”
Software Deployment
@petecheslock
COMPILE 

YOUR SOURCE
BUILD A 

PACKAGE
SIGN THE 

PACKAGE
TEST THE 

PACKAGE
DEPLOY THE 

PACKAGE
Software Deployment
@petecheslock
COMPILE 

YOUR SOURCE
BUILD A 

PACKAGE
SIGN THE 

PACKAGE
TEST THE 

PACKAGE
DEPLOY THE 

PACKAGE
Software Deployment
THIS IS KIND OF
IMPORTANT
@petecheslock
What even IS ready?
Ready means…
Reviewed by other engineers
Passed a series of unit,
integration, and functional tests
Reviewed to ensure that it meets
other business or security
requirements
@petecheslock
@petecheslock
@petecheslock
@petecheslock
“If you want metrics for your apps - send your data here”
Ops responsibility is to build the systems and make them easy to use
Dev’s responsibility is to instrument their application to understand perf
What About Metrics?
@petecheslock
collectd -> write_graphite ->
statsd_plugin
app1 app2 app3
Graphite
@petecheslock
Devs AND Ops work together to ensure we are
using the right instance types for the workloads.
Metrics
@petecheslock
Devs AND Ops work together to ensure we are
using the right instance types for the workloads.
Metrics
@petecheslock
How do we know this is working?
@petecheslock
We own the overall health of the
infrastructure.
Ensure we are making the right choices for
Scalability, Availability, and Cost.
We build the tools that enable teams to
deploy, manage, and update their
applications.
Ownership & Accountability
Operations owns the infrastructure
@petecheslock
They are on-call and get paged when their
application runs into problems
They manage the life of the service from
idea to deployment and scaling.
Ownership & Accountability
Development owns their applications
@petecheslock
Everyone cares about the
health of Threat Stack
@petecheslock
How we do DevOps
@petecheslock
Ops needs to
trust dev to
involve them on
feature
discussions
How we do DevOps
@petecheslock
Devs need to
trust Ops to
discuss
infrastructure
changes.
How we do DevOps
Ops needs to
trust dev to
involve them on
feature
discussions
@petecheslock
Everyone needs to trust
that everyone is doing
their best for the business
@petecheslock@petecheslock
What About DevOpsSec?
@petecheslock@petecheslock
What About DevOpsSec?
SecDevOps?
@petecheslock@petecheslock
What About DevOpsSec?
SecDevOps?
OpsDevSec?
@petecheslock@petecheslock
What About DevOpsSec?
SecDevOps?
OpsDevSec?
DevSecOps?
@petecheslock@petecheslock
What About DevOpsSec?
SecDevOps?
OpsDevSec?
DevSecOps?
OpsDevSec?
@petecheslock
@petecheslock
Crop image to fit inside this box
How to Integrate SecOps?
Similar to integrating Dev and Ops
teams.
Adding Security into the mix - leverage
your shared tools and processes.
Threat Stack uses Threat Stack to
protect Threat Stack.
@petecheslock
"Abrasive individuals will single-handed do
more to undermine the security brand and
culture at your company than anything else.”
https://speakerdeck.com/iodboi/crafting-an-effective-security-organisation-kiwicon-8
- Rich Smith (Etsy)
@petecheslock
The best security
culture is collaborative
not prescriptive.
@petecheslock
@petecheslock
Thank You
threatstack.com

DevOpsDays - Pick any Three - Devops from scratch