Windows - Having Its Ass Kicked by Puppet and PowerShell Since 2012

Preview:

DESCRIPTION

Unix environments has fantastic tooling order to irridicate the need for manual server configuaration. Windows is completely behind in the use of these tools. PowerShell is now emerging as the tool for Windows admins to manage environments and deployments. Can PowerShell help to bring the devops culture to the Windows development world? In this session, I will demonstrate how PowerShell has become a tool necessary to know when working on a windows environment. The session will demonstrate how development environments can be built in a fraction of the time using Puppet and PowerShell. PowerShell is fast becoming a rockstar of the Windows configuration world. Since Puppet added support for Windows, we can really kick windows configuration management into submission Paul Stack Principal Software Developer, OpenTable Paul Stack is a London based developer working on the .net technology stack. Paul has spoken at various events throughout the world as well as extensively in the UK about his passion for continuous integration and continuous delivery and why they should be part of what developers do on a day to day basis. He believes that reliably delivering software is just as important as its development. Paul's newest passion is the DevOps movement and how this helps not just development and operations but the entire business and it's customers.

Citation preview

Windows: Having It’s Ass Kicked by Puppet and PowerShell since 2012

Paul Stackhttp://www.paulstack.co.ukhttp://twitter.com/stack72mail: puppetconf@paulstack.co.uk

Saturday, August 24, 13

About Me

Develop software for OpenTable

Member of the Jetbrains Development Academy

DevOps Extremist

Saturday, August 24, 13

PaurShellThis is actually the Northern Irish pronunciation of the Windows task based framework, PowerShell

Saturday, August 24, 13

Agenda

Classic infrastructure management

Snowflake / Phoenix Servers / Immutable Infrastructure

Infrastructure as Code

PowerShell as a way to manage Windows

PowerShell + Puppet = Kicking Windows’ Ass

Saturday, August 24, 13

Classic Infrastructure Management

Saturday, August 24, 13

“The Run book”

Saturday, August 24, 13

People are generally rubbish at performing manual repetitive tasks

Saturday, August 24, 13

SnowFlake Server

Image courtesy of Liz West and under Creative Commons License

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

Saturday, August 24, 13

Machines are much more reliable at performing repetitive tasks

Saturday, August 24, 13

Image courtesy of FoodBev Photos and under Creative Commons License

Saturday, August 24, 13

Can’t we automate our manual run books?

Saturday, August 24, 13

Infrastructure As Code

Saturday, August 24, 13

Phoenix Servers

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

Saturday, August 24, 13

ChaosMonkey

Chaos Monkey: http://techblog.netflix.com/2012/07/chaos-monkey-released-into-wild.html

Saturday, August 24, 13

Immutable infrastructure

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

Saturday, August 24, 13

Code Is Better

Saturday, August 24, 13

What can we do on Windows?

Saturday, August 24, 13

Saturday, August 24, 13

Managing Windows Server 2008 with PowerShell

Saturday, August 24, 13

Puppet on Windows

Saturday, August 24, 13

Types Availablefile

user

group

scheduled_task

package

service

exec

hostSaturday, August 24, 13

Puppet + PowerShell = Windows Tap Out

Saturday, August 24, 13

Puppet Forge

Saturday, August 24, 13

Puppet integration with Windows will get better and better

Saturday, August 24, 13

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.

Saturday, August 24, 13

Further Information

http://forge.puppetlabs.com/

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

http://github.com/opentable/puppet-iis

http://github.com/opentable/puppet-windowsfeature

Saturday, August 24, 13

Recommended