Note: these instructions only apply to Windows VMs created using Azure Resource Manager. For VMs created in Azure Classic mode (old portal at http://manage.windowsazure.com), WinRM / Remote Powershell is enabled by default for certified Windows images.
If you need WinRM (required to run remote Powershell commands) enabled on new Windows Virtual Machines created using Azure Resource Manager, you have two options:
1. Deploy your instance using the 201-vm-winrm-windows quick start ARM template located here. It creates a self signed certificate and configures all the firewall rules to accept HTTP and HTTPS connections in ports 5895 and 5896 (required by WinRM / Remote Powershell). You are done.
2. For VMs already deployed on Azure under the Resource Manager platform, and that were created using base or custom Windows OS images, do the following:
- Remote Desktop into the virtual machine (which is enabled by default when VMs are created using the portal).
- From the quick start template located here, copy the ConfigureWinRM.ps1, winrmconf.cmd and makecert.exe files to a local directory in the VM.
- Using Powershell, go to the folder where you copied these three files and execute the ConfigureWinRM.ps1 script.
- For the hostname, provide the exact FQDN that you used when the virtual machine was originally created.
- You are done!
Now you can remotely connect to your machine using Powershell and the Enter-PSSession cmdlet. Also, this is required if you are trying to certificate your image for the Azure Marketplace using the corresponding tool.
Content for the Microsoft Azure Readiness Kit DevCamps has been recently updated to reflect the latest announcements, including PaaS, App Services, IaaS, Machine Learning, Data platform and storage, Media, Integration and Identity. Great resource for beginners that want to understand the Azure platform or for experts who need a quick refresh on the multiple Azure offers. You can find the raw material here: https://github.com/Azure-Readiness/DevCamp or the installer here: http://aka.ms/azure-devcamp.
For the latest Azure Insider column Bruno Terkaly and I invited our colleague in France, Thomas Conté, to write an article about Telemetry Ingestion and Analysis using common cloud components, including Worker Roles, BLOB Storage, and HDInsight. He did an amazing job illustrating this specific workload, providing multiple options for each step of the process, as well as source codes samples. The online version of his article can be found here:
I hope that you find it useful.
After an overwhelming number of email messages, feedback and comments based on our previous Windows Azure Insider column, this month Bruno and I continue the conversation around the Internet-of-Things and Windows Azure, incorporating a hands-on approach to using the Service Bus to control an Arduino device using a Windows Phone client. We had a lot of fun building it, and we hope that you enjoy it and find it helpful.
This month, for the MSDN Magazine Windows Azure Insider column, Bruno and I write about one of the hottest topics in the industry: The Internet of Things (or IoT). We talked to some of the IoT experts inside the Windows Azure group, including Clemens Vasters and Abhishek Lal, and put together a two-piece article that involves a thorough analysis of the concepts behind it, architecture patterns, opportunities in different verticals, and a simple implementation of these ideas using an Arduino device and Service Bus queues.
For the December 2013 issue of the Windows Azure Insider column, Bruno and I write about how the public cloud can be used to create a robust backend to support multiplayer games for mobile devices, combining the power of Virtual Machines (IaaS) with Cloud Services (PaaS).
The article can be found here: http://msdn.microsoft.com/en-us/magazine/dn532200.aspx
Thanks for reading!
MSDN Magazine recently released a special issue about the tools, technologies and services that the government is using to digitally interact with citizens. Bruno and I contributed with an article that talks about the current state of cloud adoption for government institutions, explaining the different hybrid models for deployment (PaaS + IaaS) and services (public + private).
The article can be found here: http://msdn.microsoft.com/en-us/magazine/dn520239.aspx
Thanks for reading!