![Page 1: Operations Validation for Infrastructure As Code - PSConfEU 2016](https://reader035.vdocuments.us/reader035/viewer/2022062822/5880aed31a28abf32c8b5f29/html5/thumbnails/1.jpg)
Operations Validation For Infrastructure as
Code
Ravikanth Chaganti
An Overview
![Page 2: Operations Validation for Infrastructure As Code - PSConfEU 2016](https://reader035.vdocuments.us/reader035/viewer/2022062822/5880aed31a28abf32c8b5f29/html5/thumbnails/2.jpg)
• Principal Engineer at Dell Inc.• MVP, CDM (Windows PowerShell)• Founder and Editor, PowerShell Magazine
• Author• PowerShell Desired State Configuration Revealed
• Layman‘s Guide to PowerShell 2.0 Remoting• WMI Query Language via PowerShell• A few more coming soon!
About_Author
![Page 3: Operations Validation for Infrastructure As Code - PSConfEU 2016](https://reader035.vdocuments.us/reader035/viewer/2022062822/5880aed31a28abf32c8b5f29/html5/thumbnails/3.jpg)
Agenda• Why Operations Validation?• Demo• Operations Validation Framework
![Page 4: Operations Validation for Infrastructure As Code - PSConfEU 2016](https://reader035.vdocuments.us/reader035/viewer/2022062822/5880aed31a28abf32c8b5f29/html5/thumbnails/4.jpg)
The Phoenix Project
![Page 5: Operations Validation for Infrastructure As Code - PSConfEU 2016](https://reader035.vdocuments.us/reader035/viewer/2022062822/5880aed31a28abf32c8b5f29/html5/thumbnails/5.jpg)
THE Phoenix Project?
Image: http://www.bloomberg.com/news/articles/2012-08-14/knight-software
![Page 6: Operations Validation for Infrastructure As Code - PSConfEU 2016](https://reader035.vdocuments.us/reader035/viewer/2022062822/5880aed31a28abf32c8b5f29/html5/thumbnails/6.jpg)
KCG Debacle!
![Page 7: Operations Validation for Infrastructure As Code - PSConfEU 2016](https://reader035.vdocuments.us/reader035/viewer/2022062822/5880aed31a28abf32c8b5f29/html5/thumbnails/7.jpg)
Infrastructure as Code
Reusable AutomationSource ControlUnit Testing
Continuous Deployment
![Page 8: Operations Validation for Infrastructure As Code - PSConfEU 2016](https://reader035.vdocuments.us/reader035/viewer/2022062822/5880aed31a28abf32c8b5f29/html5/thumbnails/8.jpg)
Infrastructure as Code
Reusable automationSource ControlUnit Testing
Continuous DeploymentIntegration and OperationsValidation
![Page 9: Operations Validation for Infrastructure As Code - PSConfEU 2016](https://reader035.vdocuments.us/reader035/viewer/2022062822/5880aed31a28abf32c8b5f29/html5/thumbnails/9.jpg)
• Not same as integration testing• Integration tests validate the desired state
• Operational tests validated the functionality at desired state!
Operations Validation
![Page 10: Operations Validation for Infrastructure As Code - PSConfEU 2016](https://reader035.vdocuments.us/reader035/viewer/2022062822/5880aed31a28abf32c8b5f29/html5/thumbnails/10.jpg)
DemoEnough Talk!
![Page 11: Operations Validation for Infrastructure As Code - PSConfEU 2016](https://reader035.vdocuments.us/reader035/viewer/2022062822/5880aed31a28abf32c8b5f29/html5/thumbnails/11.jpg)
Scenario
• Hyper-V Converged Virtual Switch
• Common architecture across cluster of nodes
• DSC configuration along with tests is an infrastructure blueprint
![Page 12: Operations Validation for Infrastructure As Code - PSConfEU 2016](https://reader035.vdocuments.us/reader035/viewer/2022062822/5880aed31a28abf32c8b5f29/html5/thumbnails/12.jpg)
Packaging Blueprints
https://github.com/rchaganti/InfraBlueprints
![Page 13: Operations Validation for Infrastructure As Code - PSConfEU 2016](https://reader035.vdocuments.us/reader035/viewer/2022062822/5880aed31a28abf32c8b5f29/html5/thumbnails/13.jpg)
Operations Validation Framework• https://github.com/PowerShell/Operation-Validation-Framework
• The module structure required is as follows:• ModuleBase\
• Diagnostics\• Simple• Comprehensive
![Page 14: Operations Validation for Infrastructure As Code - PSConfEU 2016](https://reader035.vdocuments.us/reader035/viewer/2022062822/5880aed31a28abf32c8b5f29/html5/thumbnails/14.jpg)
Summary
DON‘T IGNORE OPERATIONS VALIDATION
![Page 15: Operations Validation for Infrastructure As Code - PSConfEU 2016](https://reader035.vdocuments.us/reader035/viewer/2022062822/5880aed31a28abf32c8b5f29/html5/thumbnails/15.jpg)
• Now: 15 min break
• Grab a coffee• Stay here to enjoy next presentation• Change track and switch to another room
• Ask me questions or meet me in a breakout session room afterwards
Next Steps...
![Page 16: Operations Validation for Infrastructure As Code - PSConfEU 2016](https://reader035.vdocuments.us/reader035/viewer/2022062822/5880aed31a28abf32c8b5f29/html5/thumbnails/16.jpg)
Questions?