Creating a Virtual Machine in Microsoft Azure

DZone 's Guide to

Creating a Virtual Machine in Microsoft Azure

Learn, step-by-step, how to set up VMs with Microsoft Azure's revamped deployment models.

· Cloud Zone ·
Free Resource

In this article, we will learn how to create and configure a virtual machine in Microsoft Azure. In a previous article, we saw:

Let’s Begin: 

First of all, you need to log in to Microsoft Azure Portal ( https://portal.azure.com/).

In the new portal, Azure has two different deployment models for creating VMs: Virtual Machine Classic and Virtual Machine (now with resource manager deployment). The older Azure Portal supports only the classic deployment model. Microsoft recommends using the resource manager for new resources and, if possible, re-deploying your existing VMs with it.

Select any deployment model for creating a Virtual Machine according to your need. Click on Add.

After clicking, you will see several images for your Virtual Machine:

You can also search for your VM image:

In this article, I am going to set up Windows Server in Azure. Click on Windows Server:

After that, select the version/feature of Windows Server. I will install Windows Server 2008 R2 SP1 in my VM:

Select the deployment model: Resource Manager or Classic and click on create:

Configure the basic settings for your Virtual Machine. Here you can set your username, password, VM Disk type (HDD, SSD), etc. and then click on OK:

Select the VM size and features:

Configure optional features for your VM. You can change the storage and networking options here:

Summary for your Virtual machine. Check everything carefully and then click on OK:

Within a few minutes, your VM will be ready for use:

Click on the VM in the Hub menu. You can track the status of your VM from here. Select it from the list:

Click on connect, and you will get an .rdp file (Remote Desktop Protocol file). Save this file and open it in order to connect to your VM.

Click on connect:

Enter your username and password for the account that you created for the VM. Click on OK:

Click on yes:

You will connect to Windows Server 2008 R2 — it will take a few minutes the first time to adjust and configure some settings.

Cheers! Our Windows Server 2008 R2 virtual machine is ready.
deployment ,virtual machine ,windows server

Published at DZone with permission of Anoop Kumar Sharma , DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}