- 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:

- Learning NServiceBus(Second Edition)
- ASP.NET MVC4框架揭秘
- 密碼學原理與Java實現
- MySQL 8從入門到精通(視頻教學版)
- Learning ArcGIS Pro 2
- Scratch 3.0少兒編程與邏輯思維訓練
- Silverlight魔幻銀燈
- Building Mapping Applications with QGIS
- SQL Server 2016數據庫應用與開發習題解答與上機指導
- Learning Three.js:The JavaScript 3D Library for WebGL
- Learning Vaadin 7(Second Edition)
- Mastering ROS for Robotics Programming
- Python趣味編程與精彩實例
- 數據分析與挖掘算法:Python實戰
- ArcPy and ArcGIS(Second Edition)