DZone
Cloud Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Cloud Zone > Creating a Virtual Machine in Microsoft Azure

Creating a Virtual Machine in Microsoft Azure

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

Anoop Kumar Sharma user avatar by
Anoop Kumar Sharma
CORE ·
Aug. 12, 16 · Cloud Zone · Tutorial
Like (4)
Save
Tweet
4.67K Views

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:

  • Deploy ASP.Net MVC application to Microsoft Azure

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.
Virtual Machine azure Machine

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

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • 7 Great Terminal/CLI Tools Not Everyone Knows
  • Java Class Loading: Performance Impact
  • Key Metrics and Measurements to Track Project and Product Performance
  • Native vs Hybrid vs Cross-Platform: How and What to Choose?

Comments

Cloud Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo