Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

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

Linkerd, the open source service mesh for cloud native applications. Get the complete guide to using Linkerd and Kubernetes to build scalable, resilient applications.

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.

Linkerd, the open source service mesh for cloud native applications. Get the complete guide to using Linkerd and Kubernetes to build scalable, resilient applications.

Topics:
windows server ,virtual machine ,deployment

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

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

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

{{ parent.tldr }}

{{ parent.urlSource.name }}