chef and powershell desired state configuration

9
Chef and PowerShell DSC Microsoft TechEd 2014 Julian Dunn Senior Consultant, Chef May 12, 2014

Upload: julian-dunn

Post on 25-Jun-2015

1.189 views

Category:

Technology


0 download

DESCRIPTION

Chef and PowerShell DSC deck from Microsoft TechEd 2014.

TRANSCRIPT

Page 1: Chef and PowerShell Desired State Configuration

Chef and PowerShell DSCMicrosoft TechEd 2014

Julian Dunn

Senior Consultant, Chef

May 12, 2014

Page 2: Chef and PowerShell Desired State Configuration

Chef: Infrastructure as Code

• Declarative (like PowerShell DSC)• Cross-platform• Rich toolchain and testing

ecosystem

• Use cases:• Configuration Management

• Application Deployment

• Continuous Delivery

windows_feature 'Web-Server' do action :installend

package 'httpd' do action :installend

Page 3: Chef and PowerShell Desired State Configuration

Use PowerShell DSC Resources in Chef

include_dsc 'WindowsFeature'

dsc_windowsfeature 'iis' do dsc_name 'Web-Server' dsc_ensure 'Present'end

Corresponds to DSC Resource Name

Native Chef resource syntax with mapping rules to avoid reserved words in Chef language (dsc_ prefix)

Page 4: Chef and PowerShell Desired State Configuration

Mix and Match Chef Native Resources & DSC

dsc_windowsfeature 'iis' do dsc_name 'Web-Server' dsc_ensure 'Present'end

iis_pool 'FourthCoffee' do runtime_version "4.0" action :addend

DSC Resource

Non-DSC Chef Resource

Page 5: Chef and PowerShell Desired State Configuration

Monitoring and Run Status Integration

Page 6: Chef and PowerShell Desired State Configuration

Overall Infrastructure Status

Page 7: Chef and PowerShell Desired State Configuration

Chef, Windows, PowerShell DSC and Azure

• PowerShell DSC native support shipping soon (2014 Q2/Q3 target)

• Native Azure portal integration• 3 Microsoft Chef Cookbooks• Technical docs maintained by Chef• Highlighted at //Build & ChefConf• Come visit us in booth 747!

Page 8: Chef and PowerShell Desired State Configuration

Thank YouChef is in booth 747 in the main exhibit hall

Page 9: Chef and PowerShell Desired State Configuration