Table of Contents
- Introduction
- Prerequisites
- Step 1: Create a resource group
- Step 2: Create the virtual machine
- Step 3: Configure the idle timeout
- Step 4: How to Associate & Dissociate Public IP addresses
- Step 5: Access the Windows 11 VM using RDP
- Conclusion
Introduction
What is a VM (virtual machine)? This is a software emulation of a computer that runs in isolation on its own operating system on a physical host computer. In simple words, it is a computer inside a computer, a virtual computer inside a physical one, typically with its own OS (operating system) (e.g., Linux, Windows, MacOS).
In this tutorial, I will guide you in developing a fully functional Windows 11 VM using Azure and Remote Desktop Protocol (RDP) and also show you how to associate and disassociate public IP addresses. By the end of the tutorial, we would have created a cost-efficient Windows 11 VM to carry out tasks.
Prerequisite
To successfully carry out this project, you will need the following:
An Azure account with an active subscription. Login/Sign-up
RDP (Remote Desktop Protocol) to launch the VM on your computer. If you use a Mac, you can try downloading the Windows app or the AnyDesk app in the App Store.
Now let's get right into the steps.
Step 1: Create a resource group
- In the portal, search for and select Resource groups.
- Select + Create.
- Give your resource group a name.
- Select a region.
- Select Review and create to validate the resource group.
- Select Create to deploy the resource group.
Step 2: Create the virtual machine
- Search for and select Virtual machines.
- Click on + Create and select "Virtual machine.
- Select the resource group created earlier.
- Give the VM a name.
- For Availability options select No infrastructure redundancy required.
- Select Windows 11 Pro for the Image.
- Check the Run with Azure Spot discount box.
- Navigate through to see all sizes and select a size.
- Set a Username and a Password.
- Under inbound port check HTTP (80) and notice RDP is already checked.
- Confirm licencing
- Click on Review and create If the validation passes, the deployment will proceed. If not, note any recommendations and fix them.
- Go to resource
Step 3: Configure the Idle timeout
- Open the VM
- Navigate to Configuration under Settings.
- Locate Idle timeout (minutes) increase to 30 minutes
- Apply changes.
Step 4: How to Associate & Dissociate Public IP addresses
- Search for and select Public IP addresses.
- Notice there is already an IP address set up for the VM and select it
- To dissociate it, simply click on Dissociate and select Yes to confirm.
- To associate, select Associate
- For the Resource type select Network interface then select the VM
- Click Ok to apply changes.
Access the Windows 11 VM using RDP
- Navigate back to the VM
- Click on the Connect button in the Overview of the virtual machine blade in the Azure portal.
- Confirm access by clicking Check access.
- Download RDP file.
- Open the RDP file and click connect.
- Put in the Password set up earlier, then click Ok.
- Click on Yes to connect.
- Boot it up just like a new computer.
Conclusion
In this article, we learned how to create a resource group, create and deploy a virtual machine, and associate and dissociate IP addresses. With these skills, you can successfully deploy a fully functional Windows 11 VM (virtual machine) for carrying out tasks, personal use, or even exploring more advanced features.
Thank you for reading my blog.😊😊
If you need further assistance, feel free to reach out in the comment or hit me up on Twitter. You can also follow me on GitHub. My DM's are open and love discussions on cloud topics as always!😁
Oluwatofunmi Emmanuel Oluwaloseyi
























Top comments (0)