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

- Spring Boot 2實戰(zhàn)之旅
- Building Modern Web Applications Using Angular
- Vue.js入門與商城開發(fā)實戰(zhàn)
- Java面向對象程序開發(fā)及實戰(zhàn)
- Linux環(huán)境編程:從應用到內核
- Eclipse Plug-in Development:Beginner's Guide(Second Edition)
- Reactive Programming With Java 9
- Apache Mahout Clustering Designs
- Haxe Game Development Essentials
- Visual Basic程序設計(第三版)
- 大學計算機應用基礎(Windows 7+Office 2010)(IC3)
- Java高并發(fā)編程詳解:深入理解并發(fā)核心庫
- C語言程序設計教程
- Java設計模式深入研究
- Mastering Bootstrap 4