Wouldn’t it be great to remove the “it works on my machine” scenario? Don’t you have better things to do with your time then manually configure systems? In this live, hands-on demonstration Matt will introduce you to the concepts of Infrastructure as Code and Automation; show you how we to use Chef to develop and test system configuration locally, and then deploy them to a production environment in Microsoft Azure.
10. Golden
images
are
not
the
answer.
Gold
is
heavy.
It’s
hard
to
transport.
Its
hard
to
mold.
And
easy
to
lose
configura?on
detail.
11. This
won’t
scale
or
let
you
move
fast.
There’s
no
feedback
loop
from
ops
to
dev,
and
the
devs
aren’t
coordina?ng
with
ops
12. What
is
Chef?
Open
Source
Framework
for
managing
complexity
Declara?ve
language
for
describing
&
configuring
infrastructure
An
awesome
community
of
professionals
A
fast-‐growing
company
based
in
Sea6le,
WA
13. How
does
Chef
work?
Ensures
desired
state
by
con?nually
tes?ng
and
repairing
individual
resources
in
the
system
You
compose
policies
using
a
series
of
simple
declara?ons
The
Chef
client
fetches
those
policies
from
a
central
server
and
applies
them
to
the
local
machine
The
state
of
the
machine
is
recorded
and
sent
back
to
a
database,
where
it
is
indexed
for
search,
repor?ng,
and
audit.
14. Infrastructure
as
Cod
in
a
nutshell:
Define
Policy
That
Describes
Your
Infrastructure
An
Autonomous
Agent
Implements
Your
Policy
Policy
Enforcement
is
Con?nuous
and
Safe
Automate
All
Your
Infrastructure
at
Scale
15. Build
Anything!
Simple
internal
applica?ons
Complex
external
applica?ons
Worksta?ons
Hadoop
clusters
IaaS
infrastructure
PaaS
infrastructure
SaaS
applica?ons
Storage
systems
You
name
it
16. And
manage
it
simply:
Automa?cally
reconfigure
everything
Linux,
Windows,
Unixes,
BSDs
Load
balancers
Metrics
collec?on
systems
Monitoring
systems
Cloud
migra?ons
become
trivial
17. DevOps
is
a
Two-‐Way
Street
It’s
great
when
developers
care
about
Up?me!
Scaling!
Deployment!
Put
them
on
call!
etc.
etc.
etc.
20. “Old”
SoDware
Development
Workflow
Write
some
code
<ad-‐hoc
verifica?on
here>
Go
to
pre-‐produc?on
<ad-‐hoc
verifica?on
here>
Go
to
produc?on
ProducHon
failure
21. Modern
SoDware
Development
workflow
Write
some
code
Write
and
run
some
unit
tests
Go
to
pre-‐produc?on
Run
some
integraHon/acceptance
tests
Go
to
produc?on
Lowered
chance
of
producHon
failure
22. Old
Chef
Cookbook
Workflow
Write
some
cookbook
code
<ad-‐hoc
verifica?on
here>
Go
to
pre-‐produc?on
<ad-‐hoc
verifica?on
here
Go
to
produc?on
Whoops,
broke
producHon
23. New
Chef
Cookbook
Workflow
Write
some
cookbook
code
Check
for
code
correctness
Write
and
run
some
unit
tests
Go
to
pre-‐produc?on
Run
some
integraHon
tests
Go
to
produc?on
24. Demo
of
Azure
and
Chef
integra?on.
See
h6p://youtu.be/wOj03WZHIr4
for
a
similar
demo.