DEV Community

Cover image for How to Create a Virtual Machine on Macbook
Adisa Oluwaseyi
Adisa Oluwaseyi

Posted on

How to Create a Virtual Machine on Macbook

What is a Virtual Machine (VM)?

A Virtual Machine is a software emulations of physical computers, they include a virtual processor, memory, storage and networking resources. A virtual machine host an operating system and you can install and run software just like a physical computer.

Steps to create a Virtual Machine

Step 1:
Visit portal.azure.com, login or sign up if you don't have an account, you can get a free account at azure.microsoft.com/en-us/free/

Step 2:
Type Virtual Machine into the search box as seen in the image below, then select Virtual Machine from the search result.

Image description

Step 3:
Click Create and select Azure Virtual Machine from the drop down options.

Image description

Step 4:
Resource group
Create a new resource group by clicking create new option shown below the input bar, you can use any name of your choice.
Then what is a Resource Group, A resource group is a container that holds related resources for an Azure solution.

Virtual Machine Name
Input the Virtual Machine name of your choice, in this example i will be using VM

Region
Select a region where the Virtual Machine will be located, in this example i will be using East US

Availability Option
Select No infrastructure redundancy required

Security type
Select Standard

Image
Select an operating system (which is image) of your choice, in this example i will be using Windows Server 2019 Datacenter x64 Gen2

VM Architecture
Select x64

Image description

Step 5:
Enter a username which must be between 1 and 20 characters long, in this example i will be using azureuser as my username.
Set a password that the value is between 12 and 123 characters long, in this example i will be using Password123* as my password.

Image description

Step 6:
Set Public Inbound Ports as Allow Selected Ports.
For Select Inbound Ports leave as RDP(3389)

Image description

Step 7:
Click Review+Create button as seen in the image below.

Image description

Step 8:
Goto monitoring and disable Boot diagnostics

Image description

Step 9:
Go back to review+create tab and click the create button.
After clicking create the portal will start your Virtual Machine deployment process

Image description

Step 10:
After the deployment process is complete click the Goto Resource button

Image description

Step 11:
Click connect button and a drop down will show select RDP from the dropdown options.

Image description

Step 12:
Click Download RDP File and your Virtual Machine RDP file will be downloaded

Image description

Step 13:
Goto downloads and open the RDP File, make sure you have Microsoft Remote Desktop application installed, Download and Install it here: apps.apple.com/us/app/microsoft-remote-desktop/id1295203466?mt=12

Step 14:
Open the RDP File and input your username and password you set while creating your Virtual Machine

Image description

Step 15:
A prompt window will pop up click continue

Image description

Step 16:
Viola your Virtual Machine is ready!

Image description

Top comments (1)

Collapse
 
rdgmh profile image
Raphael Gab-Momoh

Welldone