Virtual-Machine-Azure
This tutorial outlines the steps to create a virtual machine on Microsoft Azure, the leading cloud platform for building and managing services.- Microsoft Azure (Virtual Machines/Compute)
- Remote Desktop
- Internet Information Services (IIS)
- Windows 11 (23H2)
- Microsoft Account
- Azure Subscription
- Internet Access
- Supported Browser
- Basic Knowledge of Cloud Concepts
- A Microsoft account (free to create if you don't have one).
- An Azure subscription (you can start with the Azure Free Account which gives you free credits).
- Go to https://portal.azure.com.
- Sign in with your Microsoft account.
- Click on "Create a resource" (top left corner).
- In the search box, type "Virtual Machine".
- Click "Virtual Machine" from the list, then click "Create".
- Subscription: Select your available subscription.
- Resource Group: Create a new one or select an existing one.
- Virtual Machine Name: Choose a name (example:
MyFirstVM). - Region: Select the nearest region (example:
East US). - Image: Select the operating system you want (e.g., Windows 11, Ubuntu).
- Size: Choose a size (you can select free tiers if available).
- Username and Password: Create login credentials for your VM.
- Go through tabs like Disks, Networking, Management.
- Allow Public Inbound Ports.
- Under "Select inbound ports", choose RDP (3389) for Windows or SSH (22) for Linux.
- Click Review + Create.
- After validation, click Create to start deployment.
- Once deployed, open the VM resource.
- Click Connect and choose RDP (Windows) or SSH (Linux).
- Download the RDP file and log in with your credentials.
, or you won't be able to connect to your VM.
- ✅ Use Strong Credentials: Always set a strong username and password for better security.
- ✅ Monitor VM Status: If your VM is running, it continues to use resources — this can cost money over time like leaving a device plugged into electricity.
- ✅ Shut Down or Deallocate When Not in Use: After you're done, shut down your VM through the Azure portal to avoid unexpected charges.
- ✅ Check Resource Groups: Deleting a VM doesn't automatically delete the Resource Group — clean up any unused resources to avoid extra charges.
- ✅ Be Careful With Public IPs: Exposing services to the internet (like RDP) without proper security can create vulnerabilities.
Important Reminder: 0fbb-4b2d-a1c1-d7b885fc7c8e)
Just like leaving lights on at home, keeping your VM running 24/7 can build up real charges. Always monitor usage to stay within your free credit or budget!







