Chef and PowerShell Desired State Configuration

2,210 views

Published on

Chef and PowerShell DSC deck from Microsoft TechEd 2014.

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,210
On SlideShare
0
From Embeds
0
Number of Embeds
24
Actions
Shares
0
Downloads
23
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • This is Mark Russinovitch of Microsoft presenting the native Azure integration at ChefConf – come by our booth to see more or find the video at youtube.com/getchef

    Key points:

    Chef is baked INTO the Azure portal for customer option to use Chef
    Microsoft is participating in the Chef community with Azure cookbooks
    Joint engineering to create Powershell integration
    Technical docs and support via Chef

    You can also use PowerShell with Desired State Configuration.

    PowerShell Desired State Configuration provides a tool-agnostic configuration management platform. DSC enables you to make your resources configurable in such a way that your customers can then choose whatever configuration management tool they prefer. This enables a modern DevOps workflow through collaboration with market leaders like Chef.

    Items with an x are experimental. The team is very aggressive in ensuring resources are enabled using DSC.

    DSC uses a DMTF standards based file format for managing resources. Those configuration files can be created by, or embedded in, a Chef Recipe. As Microsoft continue to invest in DSC we will see the power of tools like Chef really coming into their own when applied to the Windows ecosystem.

  • Chef and PowerShell Desired State Configuration

    1. 1. Chef and PowerShell DSC Microsoft TechEd 2014 Julian Dunn Senior Consultant, Chef May 12, 2014
    2. 2. 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 :install end package 'httpd' do action :install end
    3. 3. 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)
    4. 4. 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 :add end DSC Resource Non-DSC Chef Resource
    5. 5. Monitoring and Run Status Integration
    6. 6. Overall Infrastructure Status
    7. 7. 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!
    8. 8. Thank You Chef is in booth 747 in the main exhibit hall

    ×