- Building Hybrid Clouds with Azure Stack
- Markus Klein Susan Roesner
- 161字
- 2021-07-02 19:35:58
PowerShell desired state configuration
In the previous section, we talked about ARM and ARM templates that define resources, but they are unable to design the way a VM looks inside, specify which software needs to be installed, and how the deployment should be done. This is why we need to have a look at VM extensions. VM extensions define what should be done after ARM deployment has finished. In general, the extension could be anything that's a script. The best practice is to use PowerShell and it's add-on called Desired State Configuration (DSC).
DSC defines quite similarly to ARM, how the software needs to be installed and configured. The great concept is, that it also monitors whether the desired state of a virtual machine is changing (for example, because an administrator uninstalls or re-configures a machine). If it does, it makes sure within minutes whether the original state will be fulfilled again and rolls back the actions to the desired state:

- 微服務設計(第2版)
- HTML5移動Web開發技術
- HTML5 移動Web開發從入門到精通(微課精編版)
- Android Native Development Kit Cookbook
- Instant Ext.NET Application Development
- 硅谷Python工程師面試指南:數據結構、算法與系統設計
- Keras深度學習實戰
- Bootstrap 4 Cookbook
- Visual Studio 2015高級編程(第6版)
- 零基礎學編程系列(全5冊)
- VMware vSphere Design Essentials
- 一步一步學Spring Boot:微服務項目實戰(第2版)
- Hands-On ROS for Robotics Programming
- Web前端開發技術實踐指導教程
- A/B 測試:創新始于試驗