Launching and Accessing an Azure Virtual Machine: A Step-by-Step Guide

mdshamsfiroz
2 min readOct 27, 2024

--

Introduction

Azure Virtual Machines (VMs) provide scalable computing resources in the cloud. In this tutorial, we’ll walk through the process of creating a Windows VM using the Azure portal, configuring its network settings, and accessing it via Remote Desktop Protocol (RDP).

Step 1: Create a Virtual Machine

  1. Log in to the Azure portal (https://portal.azure.com).
  2. Click “Create a resource” and search for “Virtual Machine”.
  3. Select “Virtual Machine” and click “Create”.

Step 2: Configure Basic Settings

  1. Choose your subscription and resource group (create a new one if needed).
  2. Enter a name for your VM (e.g., “MyFirstVM”).
  3. Select a region close to your location.
  4. Choose the image (e.g., “Windows Server 2019 Datacenter”).
  5. Select a VM size (e.g., Standard_D2s_v3).
  6. Set up an administrator account with a username and password.

Step 3: Configure Network Settings

  1. In the “Networking” tab, create a new virtual network or use an existing one.
  2. Ensure that the “Public IP” option is set to create a new IP address.
  3. Under “NIC network security group”, select “Basic” and allow RDP (3389) inbound traffic.

Step 4: Review and Create

  1. Review your settings on the “Review + create” page.
  2. Click “Create” to deploy your VM.

Step 5: Access the VM via RDP

  1. Once deployment is complete, go to the VM’s overview page.
  2. Click on “Connect” and select “RDP”.
  3. Download the RDP file.
  4. Open the RDP file and enter your VM’s credentials when prompted.

Practical Demonstration

To see this process in action, I’ve created a Loom video demonstrating these steps. You can view it here:

https://www.loom.com/embed/d9ab2d3f12c942cca9e34b5e839d768b?sid=af395b1b-1745-4640-a800-4eb4fdca5a19

In the video, you’ll see me:

  • Navigate the Azure portal
  • Create a new Windows VM
  • Configure network settings
  • Successfully connect to the VM using RDP

Conclusion

Creating and accessing an Azure VM is a straightforward process that opens up a world of possibilities for cloud computing. Whether you’re testing applications, running services, or learning about cloud infrastructure, Azure VMs provide a flexible and powerful platform.Remember to stop or deallocate your VM when not in use to avoid unnecessary charges.

So, whether you’re a tech enthusiast, a professional, or just someone who wants to learn more, I invite you to follow me on this journey. Subscribe to my blog and follow me on social media to stay in the loop and never miss a post.

Together, let’s explore the exciting world of technology and all it offers. I can’t wait to connect with you!”

Connect me on Social Media: https://linktr.ee/mdshamsfiroz

Happy coding! Happy learning! Happy cloud computing!

--

--

mdshamsfiroz
mdshamsfiroz

Written by mdshamsfiroz

Trying to learn tool by putting heart inside to make something

No responses yet