How To Create A Virtual Machine On Azure Portal
Tags: beginners, cloudcomputing, devops, azure
Published: 2023-09-02 15:51:51

**Step 1:** Log in to portal.azure.com


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0f5gsx9bvioxmu8mked1.png)

**Step 2:** On the search researches,services and docs field, search for virtual machines. Select the grayed option and click enter and it will take you to the virtual machine's page.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/m240akiv4l8y5bnzsufe.png)

**Step 3:** On the virtual machine's page click on +create


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cgcyv46w7bo1dq95ogsl.png)

**Step 4:** On the basics tab, fill out your project details

Your project details has two basic components to it. Your subscription and your resource group.

* **Azure subscription:** Provides you with authenticated and authorized access to Azure accounts

* **Azure resource group:** It is a container to manage and aggregate resources in a single unit. It holds all your things for a specific project.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xp1dkqxsdha5wkr2ptlp.png)

**Step 5:** Fill out your instance details.

* **Virtual machine name:**  It's a text-based label or title that helps you distinguish one virtual machine from another within a virtualization or cloud computing environment.

* **Region:** a region refers to a geographical area or location where Microsoft has data centers.

* **Availability options:** refer to the various strategies and technologies used to ensure the availability and reliability of IT systems, services, and data.

* **Availability zones:** are a way for cloud providers to make their services more reliable and resilient. They do this by creating separate clusters of data centers within a region, so if one cluster has problems, the others can step in to keep things running smoothly.

* **Security type:** refers to the method or protocol used to secure and protect data, systems, networks, or communications.

* **Image:** typically refers to a pre-configured virtual machine (VM) or server template that contains a snapshot of an operating system, applications, and configurations.

* **VM architecture:** This is the underlying structure and components that make up a virtualized computing environment.

* **Size:** typically refers to the specification or configuration of various Azure resources, such as virtual machines, storage accounts, and databases.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4l3pq7njjwmf5rkwfq0r.png)

**Step 6:** Put in your username and password and confirm your password in your administrator account details.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/b5qaoytty1ovn0ms962r.png)

**Step 7:** Fill in the Inbound port rules details.

* **Public inbound ports:** refers to a network port on a computer or device that is accessible from the internet or an external network.

You select your inbound port. 
I selected RDP(3389)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cut1y4z1927aeg2xx2tq.png)

**Step 8:** You scroll back to the top and select monitoring, it will take you to the monitoring page


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lstice8ukz2aeqx25yy2.png)

**Step 9:** In the monitoring page, go to diagnostics and click on disable to avoid monitoring.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tr2gua1glt8ap7ixbcjk.png)

**Step 10:** Click on review + create. After it's done reviewing you click create.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4519lctfz4azi40mxmhj.png)

**Step 11:** After the virtual machine is done deploying, you will click on connect at the top


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/d6c0x0izy6sekkbntksl.png)

**Step 12:** On the next tab, scroll down and in the Native RDP box, click on select.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x9qgd3h7lcwshw8w7k6c.png)

**Step 13:** A pop up will appear on your right, on that pop up, click on **DOWNLOAD RDP FILE** and you are set.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k0wy7hljcz2ww6b9euz6.png)

**Step 14:** Go to your download folder and click to open the RDP file that has just being downloaded and put in the Username and Password you used in opening your virtual machine


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/q7kw0t4bvxh667phej1g.png)


And you are good to go!


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ux2meh55jows3nw0wupg.png)