DevOps for Normals - What’s Happening as Donkeys Adopt DevOps
DevOps Practices:Configuration as Code
-
Upload
doug-seven -
Category
Technology
-
view
1.297 -
download
1
description
Transcript of DevOps Practices:Configuration as Code
![Page 1: DevOps Practices:Configuration as Code](https://reader033.fdocuments.us/reader033/viewer/2022051323/547beac35906b55e798b466c/html5/thumbnails/1.jpg)
DevOps Practices:Configuration as CodeDoug [email protected]
![Page 2: DevOps Practices:Configuration as Code](https://reader033.fdocuments.us/reader033/viewer/2022051323/547beac35906b55e798b466c/html5/thumbnails/2.jpg)
http://www.devops.com
![Page 3: DevOps Practices:Configuration as Code](https://reader033.fdocuments.us/reader033/viewer/2022051323/547beac35906b55e798b466c/html5/thumbnails/3.jpg)
What Agile Did for Us
![Page 4: DevOps Practices:Configuration as Code](https://reader033.fdocuments.us/reader033/viewer/2022051323/547beac35906b55e798b466c/html5/thumbnails/4.jpg)
What Agile Did for Us
![Page 5: DevOps Practices:Configuration as Code](https://reader033.fdocuments.us/reader033/viewer/2022051323/547beac35906b55e798b466c/html5/thumbnails/5.jpg)
What DevOps Does For Us
![Page 6: DevOps Practices:Configuration as Code](https://reader033.fdocuments.us/reader033/viewer/2022051323/547beac35906b55e798b466c/html5/thumbnails/6.jpg)
What Makes an App?Execution CodeEnvironment
Application
![Page 7: DevOps Practices:Configuration as Code](https://reader033.fdocuments.us/reader033/viewer/2022051323/547beac35906b55e798b466c/html5/thumbnails/7.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022051323/547beac35906b55e798b466c/html5/thumbnails/8.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022051323/547beac35906b55e798b466c/html5/thumbnails/9.jpg)
Demo: OpsCode Chef
http://tinyurl.com/DevOps-Chef
![Page 10: DevOps Practices:Configuration as Code](https://reader033.fdocuments.us/reader033/viewer/2022051323/547beac35906b55e798b466c/html5/thumbnails/10.jpg)
Demo: PowerShellDesired State Configuration (DSC)http://tinyurl.com/DevOps-DSC
![Page 11: DevOps Practices:Configuration as Code](https://reader033.fdocuments.us/reader033/viewer/2022051323/547beac35906b55e798b466c/html5/thumbnails/11.jpg)
An App is Executables + Environments
Execution CodeEnvironment
Application
![Page 12: DevOps Practices:Configuration as Code](https://reader033.fdocuments.us/reader033/viewer/2022051323/547beac35906b55e798b466c/html5/thumbnails/12.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022051323/547beac35906b55e798b466c/html5/thumbnails/13.jpg)
This Afternoon
DevOps Practices: Continuous Delivery2:15 -3:15
![Page 14: DevOps Practices:Configuration as Code](https://reader033.fdocuments.us/reader033/viewer/2022051323/547beac35906b55e798b466c/html5/thumbnails/14.jpg)
Resourcehttp://tinyurl.com/DevOps-Book
![Page 16: DevOps Practices:Configuration as Code](https://reader033.fdocuments.us/reader033/viewer/2022051323/547beac35906b55e798b466c/html5/thumbnails/16.jpg)
© 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.