devops practices:configuration as code

16
DevOps Practices: Configuration as Code Doug Seven [email protected]

Upload: doug-seven

Post on 30-Nov-2014

1.298 views

Category:

Technology


1 download

DESCRIPTION

The DevOps movement, like its Agile predecessor, is focused on improving the communication and collaboration between the development and operations teams responsible for different aspects of an app throughout its lifecycle. While successful DevOps initiatives start and end with organizational and cultural change, there are also common practices that are enablers and/or tools used in support of DevOps. In this session you will learn about the DevOps practice of Configuration as Code &ndash managing and maintaining application configuration as versionable assets. This session will focus on the practice of Configuration as Code, while demonstrating a few of the popular tools available today, including Opscode Chef, Powershell DSC (Desired State Configuration) and others. If you are interested in implementing a DevOps initiative in your organization, then this session is a must-see.

TRANSCRIPT

Page 1: DevOps Practices:Configuration as Code

DevOps Practices:Configuration as CodeDoug [email protected]

Page 2: DevOps Practices:Configuration as Code

http://www.devops.com

Page 3: DevOps Practices:Configuration as Code

What Agile Did for Us

Page 4: DevOps Practices:Configuration as Code

What Agile Did for Us

Page 5: DevOps Practices:Configuration as Code

What DevOps Does For Us

Page 6: DevOps Practices:Configuration as Code

What Makes an App?Execution CodeEnvironment

Application

Page 7: DevOps Practices:Configuration as Code

Configuration as Code

• Enables you to collaborate with operations on the application environments to ensure they have the correct configuration.

• Allows “continuous deployment” and prevents “configuration drift”.

Page 8: DevOps Practices:Configuration as Code

Configuration Fundamentals

Environment Configuration(Dev Test Production)

Define the Environmente.g. 3 Nodes (2 Web Severs, 1 Database Server)

Structural Configuration

Define the capabilities of the nodee.g. Windows IIS

Idempotent Automation

Make It So

Page 9: DevOps Practices:Configuration as Code

Demo: OpsCode Chef

http://tinyurl.com/DevOps-Chef

Page 10: DevOps Practices:Configuration as Code

Demo: PowerShellDesired State Configuration (DSC)http://tinyurl.com/DevOps-DSC

Page 11: DevOps Practices:Configuration as Code

An App is Executables + Environments

Execution CodeEnvironment

Application

Page 12: DevOps Practices:Configuration as Code

Config as Code Principles

• Environment configuration should be automated.

• Keep absolutely everything in version control.• Keep it as simple as possible.• Test configuration at deployment.

Page 13: DevOps Practices:Configuration as Code

This Afternoon

DevOps Practices: Continuous Delivery2:15 -3:15

Page 14: DevOps Practices:Configuration as Code

Resourcehttp://tinyurl.com/DevOps-Book

Page 15: DevOps Practices:Configuration as Code

Thank You!

[email protected]

Page 16: DevOps Practices:Configuration as Code

© 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.