Creating a Virtual Machine in Microsoft Azure
Learn, step-by-step, how to set up VMs with Microsoft Azure's revamped deployment models.
Join the DZone community and get the full member experience.Join For Free
In this article, we will learn how to create and configure a virtual machine in Microsoft Azure. In a previous article, we saw:
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.
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:
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.
Published at DZone with permission of Anoop Kumar Sharma, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.