Day 5 – Azure Virtual Machines: Your First Compute Resourc

Azure Functions dashboard showing serverless function creation and execution.

Introduction
Azure Virtual Machines (VMs) are the cornerstone of cloud computing, enabling you to run applications in a flexible, scalable, and secure environment. For cloud engineers, mastering VMs is essential because they represent the compute layer of almost every cloud solution.
At curiositytech.in, we emphasize learning by doing—starting from creating a VM to configuring advanced networking and security, providing learners with practical expertise that is directly applicable in real-world enterprise scenarios.


  1. Azure VM Fundamentals
    Key Concepts:
    ● VM Sizes: Determines CPU, RAM, and disk I/O capabilities. Examples include B-series (economy), D-series (general purpose), E-series (memory optimized).

● Images: OS options like Windows Server, Ubuntu, Red Hat, etc.

● Regions & Availability Zones: Ensure low-latency access and high availability.

● Networking: Assign a Virtual Network (VNet), subnet, and public IP.

● Disks: OS disk + optional data disks. Types include SSD (premium) and HDD (standard).

Table 1: Common Azure VM Sizes
Series CPU vCores RAM Best Use Case
B-Series 1–8 1–32 GB Development, testing
D-Series 2–64 8–256 GB Production workloads
E-Series 2–64 16–432 GB Memory-intensive apps
F-Series 2–32 4–64 GB Compute-intensive workloads


  1. Step-by-Step VM Deployment (Hands-On)
    Step 1: Navigate to Azure Portal
    ● Go to Azure Portal

● Click “Create a Resource” → Compute → Virtual Machine

Step 2: Configure Basics
● Subscription: Choose your active subscription

● Resource Group: Select or create (e.g., RG-WebApp-Dev)

● VM Name: VM-WebApp-01

● Region: e.g., East US

● Image: Ubuntu 22.04 LTS

● Size: B2s (2 vCPU, 4 GB RAM)

Step 3: Administrator Account & Authentication
● Username: azureuser

● Authentication: SSH key (recommended) or Password

● SSH public key can be generated locally with ssh-keygen

Step 4: Configure Disks
● OS Disk Type: Premium SSD

● Additional Data Disks: Optional

Step 5: Networking Setup
● VNet/Subnet: Create new or select existing

● Public IP: Enable for remote access

● Network Security Group (NSG): Automatically created to allow SSH/RDP

Step 6: Advanced Options
● Monitoring: Enable Azure Monitor and boot diagnostics

● Extensions: Optional (e.g., for configuration management)

Step 7: Review + Create
● Validate configuration

● Click Create

● Deployment typically completes in 3–5 minutes

Diagram: VM Deployment Flow


  1. Post-Deployment Tasks
  2. Connect to VM:

○ For Linux: ssh azureuser@

○ For Windows: RDP connection using provided credentials

  1. Install Web Server:

○ Example for Ubuntu: sudo apt update && sudo apt install nginx -y

  1. Verify Connectivity:

○ Navigate to in browser; Nginx welcome page should appear

Tip: Use tags and naming conventions (Environment=Dev, Owner=TeamA) to track VMs in multi-project environments.


  1. High Availability & Scaling Considerations
    ● Availability Sets: Protect against hardware failures within a single region

● Availability Zones: Spread VMs across physically separate zones for disaster recovery

● Virtual Machine Scale Sets (VMSS): Auto-scale VMs based on demand

VM Infographic:

  1. Security & Cost Optimization Tips
  2. Enable NSGs to control inbound/outbound traffic
  3. Use Managed Disks for secure, durable storage
  4. Shutdown unused VMs to save costs
  5. Leverage Reserved Instances for long-term workloads
  6. Monitor usage with Azure Monitor and Cost Management tools

Expert Advice: Becoming an Azure VM expert requires continuous hands-on practice, understanding compute sizing, and learning networking, storage, and monitoring concepts in parallel. Platforms like curiositytech.in provide practical labs to strengthen these skills.


Conclusion
Azure Virtual Machines are more than just compute resources—they are the building blocks for all cloud applications. By mastering VM deployment, configuration, networking, and scaling strategies, cloud engineers gain the confidence to manage production-ready environments efficiently. Integrating practical exercises from curiositytech.in ensures learners progress from theory to expert-level profie, Azure compute resource, cloud engineer training, VM scale sets, Azure hands-on labs
ciency.


Leave a Comment

Your email address will not be published. Required fields are marked *