Download pdf - Puppet powershell

Transcript
Page 1: Puppet powershell

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]

Page 2: Puppet powershell

About Me

Develop software for OpenTable

DevOps Extremist

Conference Junkie

Page 3: Puppet powershell

Agenda

Classic infrastructure management

Snowflake / Phoenix Servers / Immutable Infrastructure

Infrastructure as Code

PowerShell as a way to manage Windows

PowerShell + Puppet = Kicking Windows’ Ass

Page 4: Puppet powershell

Classic Infrastructure Management

Page 5: Puppet powershell

“The Run book”

Page 6: Puppet powershell

People are generally rubbish at performing manual repetitive tasks

Page 7: Puppet powershell

SnowFlake Server

Image courtesy of Liz West and under Creative Commons License

Martin Fowler: http://martinfowler.com/bliki/SnowflakeServer.html

Page 8: Puppet powershell

Machines are much more reliable at performing repetitive tasks

Page 9: Puppet powershell

Image courtesy of FoodBev Photos and under Creative Commons License

Page 10: Puppet powershell

Can’t we automate our manual run books?

Page 11: Puppet powershell

Infrastructure As Code

Page 12: Puppet powershell

Phoenix Servers

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

Page 13: Puppet powershell
Page 14: Puppet powershell
Page 15: Puppet powershell
Page 16: Puppet powershell

Simian Army

Page 17: Puppet powershell

Immutable infrastructure

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

Page 18: Puppet powershell

Code Is Better

Page 19: Puppet powershell

Windows Infrastructure Management…..

Page 20: Puppet powershell
Page 21: Puppet powershell

Managing Windows Server 2008 with PowerShell

Page 22: Puppet powershell

Puppet

Page 23: Puppet powershell

Puppet on Windows

Page 24: Puppet powershell

Types Availablefile

user

group

scheduled_task

package

service

exec

host

Page 25: Puppet powershell

Demo

Page 26: Puppet powershell

Our modules evolve everyday….

Page 27: Puppet powershell

Get a good development environment

Page 28: Puppet powershell

Puppet Forge

Page 29: Puppet powershell

Puppet integration with Windows will get better and better

Page 30: Puppet powershell

The Foreman

Page 31: Puppet powershell

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.

Page 32: Puppet powershell

Further Information

http://forge.puppetlabs.com/

http://blogs.msdn.com/b/powershell/

http://github.com/opentable


Recommended