INTRODUCTION
πΉ
In this guide, weβll walk through how to create a Virtual Machine (VM) in Microsoft Azure using a Free Trial Account with $200 in credits.
Follow these easy steps to set up, configure, and connect to your Azure VM like a pro. π
π 1. Create an Azure Free Trial Account
- Sign up for a free trial at Azure Free Trial.
- Get $200 in credits to explore and deploy Azure services.
π 2. Log in to Azure Portal
- Navigate to portal.azure.com.
- Enter your username and password to access the dashboard.
π 3. Search for "Virtual Machines"
- In the search bar, type βVirtual Machinesβ.
- Alternatively, click the β° (hamburger menu) β Create a Resource β Virtual Machine.
β 4. Select Virtual Machine from the Search Results
- Click on Virtual Machine from the search results.
π₯οΈ 5. Click on "Create"
- Click Create β Azure Virtual Machine.
- Choose βVirtual Machine hosted by Azure.β
π 6. Enter Project Details
- Select the appropriate Subscription.
- Click Create Resource Group β Enter a descriptive name (e.g.,
MyVMGroup).
βοΈ 7. Configure Virtual Machine Details
Enter the following details:
-
VM Name:
MyAzureVM - Operating System: Ubuntu Server 20.04 or Windows Server Datacenter β x64 G2
- VM Size: Keep the default (e.g., Standard_B1s for free-tier use)
π 8. Set Up Administrator Account
- Authentication Type: Password
-
Username:
azureuser -
Password:
password123*(β οΈ Change this for security)
π 9. Configure Inbound Port Rules
- Select SSH (22) for Linux or RDP (3389) for Windows.
β 10. Accept Licensing Terms
- Check the box to accept the license agreement.
π 11. Disable Boot Diagnostics
- Click Next β Monitoring tab
- Disable Boot Diagnostics to save costs.
π 12. Review & Deploy the Virtual Machine
- Click Review + Create.
- Ensure validation passes.
- Click Create to deploy.
π Deployment usually takes 3β5 minutes.
π 13. Check VM Status
- Once the status is Running, your VM is ready! π
π 14. Connect to the Virtual Machine
- Click Connect in the Azure VM blade.
π₯ 15. Download & Open RDP File (Windows VM Only)
- Click Native RDP β Download the
.rdpfile. - Open it on your computer.
π 16. Enter Admin Credentials
- Enter the Username & Password you created earlier.
- Click Connect.
β 17. Complete Connection
- Follow the prompts and click Continue if security warnings appear.
π 18. Wait for Configuration
- The remote desktop will configure in a few seconds.
π― 19. Success! Start Using Your VM
π You are now connected to your Azure Virtual Machine!
You can install apps, configure services, and begin exploring Azure.
π‘ Pro Tip: Connecting to Linux VM via SSH
If you created a Linux VM, connect via SSH instead:
ssh azureuser@<Public_IP>
You can find your Public IP address under the VM Overview section in Azure.
β Final Thoughts
By following these steps, youβve successfully created, deployed, and connected to an Azure Virtual Machine.
You now have your own environment to test, build, and explore the vast Azure ecosystem. βοΈ












Top comments (0)