DEV Community

Cover image for Creating a Windows Virtual Machine (VM) in Azure
Nwafor Somadina Emeka
Nwafor Somadina Emeka

Posted on

Creating a Windows Virtual Machine (VM) in Azure

A virtual machine is a computer in the cloud.

Steps to Create a Windows VM in Azure

1. Sign in to Azure

  • Go to the Azure Portal.
  • Log in with your Microsoft account. If you don’t have one, create a free Azure account.

2. Create a New Virtual Machine

  • In the portal, select Create a resource β†’ Virtual Machine. nCreate a New Virtual Machine

Create a New Virtual Machine2

3. Configure Basic Settings

  • Go to Basic tab.
  • Subscription & Resource Group: Select your subscription and create or choose a resource group.

Configure Basic Settings

  • VM Name: Enter a name for your VM. feb20vm
  • Region: Pick the Azure region closest to you for better performance.
  • Availability Options: Choose redundancy options if needed. No infrastructure redundancy required for high availability.
  • security type chose standard
  • Image: Confirm the Windows OS image.
  • Size: Select the VM size (CPU, RAM) based on your workload. This determines your VMs pricing on an hourly bases. Basic tab

4. Set Administrator Account

  • Create a username and password for logging into the VM. ### 5. Networking
  • Configure virtual network, subnet, and public IP.
  • Use Http (80), RDP (Port 3389) to connect remotely.
  • confirm licensing option  Account

6. Monitoring tab

  • Disable - Boot diagnostics to ensure privacy Monitoring tab

7. Disks & Storage (optional)

  • Choose between Standard HDD, Standard SSD, or Premium SSD depending on performance needs.

8. Review + Create tab

  • Review all settings.
  • Click Create to deploy the VM after validation. Review + Create

validation

9. Connect to Your VM

  • select Go to resource

Connect

Connect

  • Once deployed, Select Connect and download RDP file.
    download RDP file

  • Download the RDP file and open it to log in with your credentials.
    download RDP file

  • connect
    download RDP file

  • Enter password and click OK

Enter password

10. Testing: Install Software

  • Inside the VM,
    Install Software

  • you can install any applications you need. _screenpresso _from Microsoft Store.
    screenpresso

screenpresso

screenpresso description

  • you may check your storage in the vm. screenpresso

Please πŸ™ like, comment and share.

Windows Virtual Machine

Top comments (1)

Collapse
 
realcloudprojects profile image
SKILL.SCH

Good job!