DEV Community

Cover image for How to create a virtual machine
Ajayi Daniel
Ajayi Daniel

Posted on

How to create a virtual machine

Step1 – Create a New VM
In the search bar at the top, type "Virtual Machines" and click on it.
Click "Create" → "Azure virtual machine"

Azure
Click "Create
create
best

Step 2 – Configure the Basics
Subscription: Select your Azure subscription.
Resource group: Create a new one or choose an existing group to organize resources.
Virtual machine name: Give your VM a unique name.
Region: Choose where to deploy the VM (closest to your users or data).
Image: Select the operating system ( Windows Server,
Size: Pick a VM size based on CPU, memory, and performance needs.
Authentication type:
Password (username + password)
SSH key (recommended for Linux)
Enter admin username and password

BASICS
Select your Azure subscription, Create a new one or choose an existing group to organize resources.

Imag
Give your VM a unique name.
Region: Choose where to deploy the VM (closest to your users or data).
Click on the availability zone

discount
click on Image: Select the operating system, security type, spot discount

next step
Size: Pick a VM size based on CPU, memory, and performance needs.
Authentication type:
Password (username + password)
SSH key
bond

bond2

Step 3 Configure Disks
Choose an OS disk type (SSD for faster performance, HDD for cheaper storage).
Add data disks if needed.
local

Step4 Configure Networking
Select a Virtual Network (VNet) and Subnet.
Configure Public IP
save as

Igo
Step 5 configure the monitoring
Boot diagnostic - disable

Image
Step 5 CONFIGURE TAG

TAG

Step 6 Review and Create
Azure will validate your settings.
If all is correct, click Create.
Wait for deployment to complete (usually 1–5 minutes).

review

deploy

step 7 Connect to Your VM
Go to your VM in the Azure portal.
Click Connect: RDP
Enter credentials and start using your VM.

save as

click
enter the credentials
virtual machine created

capture

Top comments (2)

Collapse
 
realcloudprojects profile image
SKILL.SCH

Welldone

Collapse
 
yuvraj_raulji profile image
yuvraj raulji

interesting. I told every time my system administrator to create VM (virtual machine) 😜😜 . But now i got how to create.