Microsoft Azure

Microsoft Azure: How to create an Azure VM and connect via Remote Desktop

Azure can be tried out for free for a short period. For me it’s the first time I’m playing with Microsoft Azure. Last week I used my subscription to create my first virtual computer in Azure. You may guess which operating system I have chosen ;-). Ok now I have a Windows Server 2016 Datacenter Server in the Cloud.

This article should give you an overview and orientation how to create a VM and connect to it.

Creating a new Azure VM (Windows Server 2016 Datacenter)

The first thing is to login to your Azure portal https://portal.azure.com. If you don’t have one, create it. On the dashboard select New.

1.PNG

Next select Windows or Linux. This article is about Windows Server 2016 Datacenter. Hey man, I’m a Microsoft MVP. Do you really think I’m going to show you how to create a Linux VM? ;-). Each operating system has its advantages and disadvantages. I have to admit, I would choose Linux for a web server.

2.PNG

Choose a name for your new VM. Select your favourite disk type. It’s not necessary to mention that SSD is more expensive than HDD ;-). Pay attention to the Ressource Group. You have to create one and provide a name.

Unbenannt.PNG

On the next screen select your VM type.

Unbenannt.PNG

Now it’s time to configure the Network Settings. By default your Computer will be configured with a Public IPv4 Address. Consider the Auto Shutdown Settings. You can configure your computer to automatically shutdown when not needed. In Azure you pay for uptime, not for the VM.

Unbenannt.PNG

Go to the next screen and complete the wizard. You’ve now created a VM in the Cloud.

Connecting to the Azure VM (Remote Desktop)

After this tutorial let’s change to my VM. I’m very proud to have my first VM in the cloud!

Unbenannt.PNG

The first difficulty was that I was not able to connect to my VM via Remote Desktop. I clicked on Virtual Machines and was faced with a greyed out Connect button.

1.PNG

After some research, I found out, that I have to configure Network Inbound Rules, which can be found in the Network Security Group. Well, RDP is using Port 3389, so let’s configure a Rule to allow access via RDP.

1.PNG

3.PNG

I strongly recommend to restrict remote access to a single IP-Address. In my testing environment it’s allowed for hosts. (Source:Any)

After some time I tried to connect via Remote Desktop. The connect button now appears and I was able to connect to my new server.

4.PNG

Yeah, I am in!

Unbenannt.PNG

Connect via Smartphone

Go to your Apple or Google Play Store and download the Microsoft Remote Desktop App. Then connect via your Smartphone to your Azure VM. (Don’t forget to connect to your public IPv4 Address!) More information can be found here:

https://docs.microsoft.com/de-de/windows-server/remote/remote-desktop-services/clients/remote-desktop-clients

You can try out Azure here: https://azure.microsoft.com/en-us/free/free-account-faq/

What’s next?

If you want to establish a connection via PowerShell then have a look at my article Microsoft Azure: Connect to your Azure VM with PowerShell (AzureRM)

Have fun with Azure! For me it’s time to shut down my VM to avoid unnecessary costs.

5 replies »

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.