In the vast world of cloud computing, one of the most important service is a virtual machine. In this article, we will be considering steps to creating a virtual machine. However, it is important that we understand the term 'Virtual Machine'. Hence, what is a virtual machine?
A virtual machine (VM) is a software-based simulation of a real computer. It resides as a file or collection of files on a host computer, yet it runs an operating system and apps exactly like a real computer. A virtual machine comprises a virtual processor, memory, storage and networking as a physical computer. It is an Infrastructure as a Service (IaaS) offering that provides total control and customization.
Having understood what a VM is, let's proceed to what the title states.There are various methods of creating a VM but in this article, we will be creating the virtual machine in Azure portal.
Below are the sequential steps needed to create a virtual machine.
Step 1: Go to your browser, type portal.azure.com, this takes you to the login portal of Azure. Login to your Azure portal or create an account if you don't have one.
Step 2: Go to the search box/bar (search resources, services and docs), type virtual, this gives you a list of auto suggested services. Click 'Virtual Machine'.
Step 3: After acessing the virtual machine dashboard, click create, a drop down menu appears and then select Azure virtual machine.
Step 4: Fill in the Basic details. As soon as the creation platform loads, you'll be required to fill in some details that customizes your VM. These details include:
a) Project details: This includes your subscription and resource group. The subscription gives you authorized access on the Azure portal while the resource group allows you to have all your resources in a single unit.
b) Instance details: This allows for flexibility in choosing a name for your VM, the region, availability zone, size etc.
c) Administrator account: A virtual machine is an IaaS that gives you full control. In this field, you input your desired username and password ensuring it complies with Microsoft password policy.
d) Inbound port rules: Here, the public inbound port should be left on default parameters while the inbound port can be selected as RDP and Http.
Step 5: Having filled the basic details, proceed to review and create. Click on create after successful validation and await deployment. After successful deployment, click 'go to resource' to view your VM
Step 6: Click connect to connect your VM using RDP (Remote desktop protocol)
Tadaa! You have successfully created a VM that runs based on your specification.
NOTE: After deploying the VM, ensure you delete it when it's no more in use.
Thanks for reading!
Top comments (0)