šŸš€ Day 1: Azure Zero to Hero Series - Setting up Your Azure Account and Deploying Your First Virtual Machine

Welcome to Day 1 of the Azure Zero to Hero series!
Today, we’ll walk through:

  • Creating your Azure free account

  • Exploring the Azure Portal

  • Launching your first Virtual Machine (VM) using the Portal

Let’s get started! šŸ”§


ā˜ļø Step 1: Create Your Free Azure Account

Microsoft offers $200 free credits for 30 days when you sign up, plus free tier services for 12 months (like Linux/Windows VMs, storage, databases, and more).

šŸ‘‰ Go to: https://azure.microsoft.com/free

šŸ”‘ You’ll need:

  • Microsoft account (Gmail/Outlook/etc.)

  • Mobile number

  • Credit/debit card (for identity verification only – no charges!)

āœ… After sign-up, you’ll land on the Azure Portal – your cloud dashboard.


šŸ’» Step 2: Explore the Azure Portal

Azure Portal: A web-based UI for creating, managing, and monitoring Azure resources.

Here’s what you’ll see:

  • Dashboard: Customizable view of your services

  • All Services: List of over 200 Azure services

  • Search Bar: Quickly find services (e.g., "Virtual Machines")

  • Cloud Shell: Browser-based CLI for running Azure commands

šŸ” Explore some core services like:

  • Virtual Machines

  • Storage Accounts

  • App Services

  • Resource Groups


🧱 Step 3: Create a Resource Group

A Resource Group is a container to hold related Azure resources (VMs, storage, IPs, etc.).

šŸ“Œ Steps:

  1. In the Portal, click ā€œResource Groupsā€

  2. Click ā€œ+ Createā€

  3. Fill details:

    • Subscription: Free Trial

    • Resource Group Name: my-first-rg

    • Region: Choose nearest to your location (e.g., East US, Central India)

  4. Click ā€œReview + Createā€ → ā€œCreateā€

āœ… Done! Now, let’s launch a VM inside it.


āš™ļø Step 4: Deploy Your First Virtual Machine

We’ll create a basic Ubuntu Linux VM using the Azure Portal.

🧭 Steps:

  1. In the search bar, type ā€œVirtual Machinesā€

  2. Click ā€œ+ Createā€ → ā€œAzure Virtual Machineā€

  3. Basics tab:

    • Subscription: Free Trial

    • Resource Group: my-first-rg

    • VM name: myfirstvm

    • Region: Same as Resource Group

    • Availability options: No infrastructure redundancy required (for now)

    • Image: Ubuntu 20.04 LTS

    • Size: Select B1s (Free tier eligible)

    • Authentication type: Password

    • Username: azureuser

    • Password: (create a strong password)

    • Public inbound ports: Allow selected ports → SSH (22)

  4. Click ā€œReview + Createā€ → ā€œCreateā€

Azure will begin deploying your VM. It usually takes 2–3 minutes.


🌐 Step 5: Connect to Your VM

Once deployed:

  1. Go to your VM → Click ā€œConnectā€ → ā€œSSHā€

  2. Copy the SSH command:

     ssh azureuser@<public-ip>
    
  3. Paste it into your local terminal (Linux/macOS) or use PuTTY on Windows

āœ… You’re now logged into your first cloud-hosted VM!


šŸ“Œ Cleanup and save credits

To avoid using free credits:

  • Go to Resource Groups → my-first-rg

  • Click ā€œDelete Resource Groupā€

  • Type the name and confirm deletion


āœ… Summary

StepTask
1ļøāƒ£Created a free Azure account
2ļøāƒ£Explored the Azure Portal
3ļøāƒ£Created a resource group
4ļøāƒ£Deployed a Linux VM
5ļøāƒ£Connected via SSH

šŸ’” What’s Next?

In Day 2, we’ll explore:

  • Azure CLI vs PowerShell

  • Installing Azure CLI

  • Creating resources using command-line tools


šŸ—Øļø Got stuck or have questions? Drop a comment!
šŸ“¢ Follow for more days in the Azure Zero to Hero journey!

šŸ”— Stay tuned for Day 2: Working with Azure CLI – Automate Your Infrastructure

0
Subscribe to my newsletter

Read articles from SRINIVAS TIRUNAHARI directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

SRINIVAS TIRUNAHARI
SRINIVAS TIRUNAHARI