Nano Server in the Azure Gallery and VM Agent Support

As part of Windows Server 2016 General Availability, there are new Nano Server images in the Azure Gallery. In addition to the new image, there is also a helper script attached to this blog post that can be used to customize the image when deploying in Azure.

Nano Server now supports running a limited VM Agent when deploying in Azure, as well as the running of Extensions. Due to the small nature of Nano Server, most of the Windows extensions do not run on Nano Server and are not required. For Nano Server, we provide two special-case extensions:

VMAccess: Used to change the Administrator password through the Azure interface

Azure Resource Manager

The module NanoServerAzureHelper.psm1 in the attached zip file provides a helper function: Set-HelperAzureRmCustomScript. This helper function makes the configuration easier, similar to Set-AzureVMCustomScriptExtension, and also provides automatic creation of storage accounts and containers and uploading of the scripts. Here are some examples of its use.

To run a plain Windows command, without any scripts to download into the extension:

Set-HelperAzureRmCustomScript can create the storage account and container, if they didn't already exist. To upload the PowerShell script "RunMe.ps1" and an input data file from C:\MyScripts and run the script:

PLEASE add Nano support for Azure diagnostics and recovery services. Nano + premium storage + new sla for single vm = great file server for a web farm of load balanced vms that auto scale on and off with demand.

But I need to monitor the server to ensure I have sized it correctly and I need to easily snapshot the file server on a regular schedule for DR and Business continutity. No matter how good the sla for premium storage is, I can’t tell my customers their content only lives in on location.