Step-By-Step: Managing an Azure VM via Windows Server Manager

08/18/2014

2 minutes to read

In this article

Interest in cloud adoption has been notably increasing rapidly. Organizations of all sizes are researching its possibilities in enabling further growth and resiliency capabilities. What more, many organizations are looking at their existing infrastructure and are planning for the upcoming retirement of support for Windows Server 2003. So should today’s business be all in with the cloud?

The capabilities of Windows Server 2012 R2 has been explored at length amidst this blog. The enablement it provides on premise makes it easier for companies to create balance in enabling in cloud solutions concluding in a hybrid solution. This Step-By-Step will detail this balance in detailing the ability to manage in cloud or Azure VMs with traditionally implemented on premise tools. Namely the Server Manager offering found in Windows Server 2012 R2.

Step 1: Adding an Azure Virtual Machine to Server Manager

On your desired management server, client notebook/tablet or admin VM, open PowerShell as an Administrator.

Type the following command (Replacing <ID> with your Unique ID value) and hit Enter:



Set-Item wsman:\localhost\client\trustedhosts itcservice<ID>.cloudapp.net –concatenate –force

Run Server Manager on the assigned management server, client notebook/tablet or admin VM.

In Server Manager, click All Servers.

Click Manage.

Click Add Servers.

On the DNS tab, in Search, type ITCService<ID>.cloudapp.net and hit Enter.



Note: Remember to replace <ID> with the unique value of your Azure VM. This is required at every instance this is mentioned in these steps.

Right-Click ITCService<ID> and select Manage as.

In the Windows Security dialog box, enter your assigned Administrator username and password and hit Enter.



Note: It may take a few minutes to allow for Server Manager to connect to the Azure VM to enable management capability.



Step 2: Creating a Server Group to Manage Azure VMs

While not entirely necessary, it does provide a cleaner instance in managing Azure VMs.

In Server Manager, click Manage.

Click Create Server Group.

In the Server group name field, type Azure VMs.

Add ITCService<ID> then click OK.

In Server Manager, select Dashboard.



Once completed, monitoring the health of your Azure VM from your Server Manager console is now enabled.