Slide 1

Slide 1 text

Windows: Having It’s Ass Kicked by Puppet and PowerShell since 2012 Paul Stack http://www.paulstack.co.uk http://twitter.com/stack72 mail: [email protected]

Slide 2

Slide 2 text

About Me Develop software for OpenTable DevOps Extremist Conference Junkie

Slide 3

Slide 3 text

Agenda Classic infrastructure management Snowflake / Phoenix Servers / Immutable Infrastructure Infrastructure as Code PowerShell as a way to manage Windows PowerShell + Puppet = Kicking Windows’ Ass

Slide 4

Slide 4 text

Classic Infrastructure Management

Slide 5

Slide 5 text

“The Run book”

Slide 6

Slide 6 text

People are generally rubbish at performing manual repetitive tasks

Slide 7

Slide 7 text

SnowFlake Server Image courtesy of Liz West and under Creative Commons License Martin Fowler: http://martinfowler.com/bliki/SnowflakeServer.html

Slide 8

Slide 8 text

Machines are much more reliable at performing repetitive tasks

Slide 9

Slide 9 text

Image courtesy of FoodBev Photos and under Creative Commons License

Slide 10

Slide 10 text

Can’t we automate our manual run books?

Slide 11

Slide 11 text

Infrastructure As Code

Slide 12

Slide 12 text

Phoenix Servers Martin Fowler: http://martinfowler.com/bliki/PhoenixServer.html

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

No content

Slide 16

Slide 16 text

Simian Army

Slide 17

Slide 17 text

Immutable infrastructure Chad Fowler: http://chadfowler.com/blog/2013/06/23/immutable-deployments/

Slide 18

Slide 18 text

Code Is Better

Slide 19

Slide 19 text

Windows Infrastructure Management…..

Slide 20

Slide 20 text

No content

Slide 21

Slide 21 text

Managing Windows Server 2008 with PowerShell

Slide 22

Slide 22 text

Puppet

Slide 23

Slide 23 text

Puppet on Windows

Slide 24

Slide 24 text

Types Available file user group scheduled_task package service exec host

Slide 25

Slide 25 text

Demo

Slide 26

Slide 26 text

Our modules evolve everyday….

Slide 27

Slide 27 text

Get a good development environment

Slide 28

Slide 28 text

Puppet Forge

Slide 29

Slide 29 text

Puppet integration with Windows will get better and better

Slide 30

Slide 30 text

The Foreman

Slide 31

Slide 31 text

Summary Code is much better for managing servers than people PowerShell is a tool to use when working with Windows Puppet compliments what PowerShell does perfectly in a DSL format Windows Server management is no longer a pain in the ass.

Slide 32

Slide 32 text

Further Information http://forge.puppetlabs.com/ http://blogs.msdn.com/b/powershell/ http://github.com/opentable