Download - DevOps Practices:Configuration as Code

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.