This guide walks you through the process of creating a Windows virtual machine (VM) in Azure using the Azure portal. Azure Virtual Machines gives you the flexibility of virtualization for a wide variety of computing workloads. Deploying a Windows VM in Azure is a common scenario.
Before you begin, you need an Azure account with an active subscription. If you don't have one, you can create a free account before you start.
Open your web browser and navigate to the Azure portal. Sign in with your Azure account credentials.
In the Azure portal search bar at the top, enter "Virtual machines" and select Virtual machines from the search results.
On the Virtual machines page, click + Create and then select Virtual machine.
On the Create a virtual machine page, under the Basics tab, fill in the following fields:
myWindowsVM).Standard_B1s is often sufficient and cost-effective.azureuser).Click on the Disks tab. For this quickstart, you can accept the default disk settings. A OS disk type of Premium SSD is recommended for better performance.
Click on the Networking tab. You can accept the default network settings. Azure will create a virtual network, subnet, public IP address, and network security group for you.
For this quickstart, you can leave the default settings for the Management, Advanced, and Tags tabs. You can explore these options for more advanced configurations later.
Click on the Review + create tab. Azure will validate your configuration.
Once validation passes, review the summary of your VM configuration. If everything looks correct, click Create.
Deployment can take a few minutes. Once the deployment is complete, navigate to the virtual machine resource. You can find your VM by searching for its name in the Azure portal search bar.
On the VM's overview page, click the Connect button, then select RDP.
Download the RDP file. Open the downloaded file and click Connect.
When prompted, enter the username and password you created in Step 4. You might see a certificate warning; click Yes to proceed.
You should now be connected to your Windows virtual machine in Azure!
When you no longer need the virtual machine and its associated resources, you can delete the resource group. Deleting the resource group will remove the VM, the virtual network, the public IP address, and other related resources.
myResourceGroup).