Microsoft Azure Fundamentals Explained — Complete Beginner's Guide
Microsoft Azure is a cloud computing platform offering infrastructure, platform, and software-as-a-service solutions — deeply integrated with Microsoft’s ecosystem of Windows, Active Directory, and Visual Studio.
What You’ll Learn
By the end of this tutorial, you’ll understand Azure’s core services (Virtual Machines, App Service, Azure SQL, Entra ID), how to set up an Azure account, deploy a web app, and manage identity and access.
Why Azure Matters
Azure is the second-largest cloud provider, with strong adoption in enterprise and government sectors. Over 95% of Fortune 500 companies use Azure. If you work with Microsoft technologies, Azure is the natural cloud choice. At DodaTech, Azure powers parts of our data analytics pipeline.
Azure Learning Path
flowchart LR
A[Cloud Basics] --> B[Azure]
B --> C{You Are Here}
C --> D[Azure VMs]
C --> E[App Service]
C --> F[Azure SQL]
D --> G[Deploy Your App]
style C fill:#f90,color:#fff
What Is Azure? (The “Why” First)
Think of Azure as Microsoft’s operating system for the cloud. Just as Windows provides APIs, security, and management for desktop applications, Azure provides the same for cloud applications — with deep integration for Active Directory, SQL Server, and .NET.
Azure’s strength is its enterprise readiness: compliance certifications, hybrid cloud capabilities, and seamless integration with on-premises Microsoft infrastructure.
Core Azure Services
Azure Virtual Machines
Similar to AWS EC2 — provision Windows or Linux VMs with configurable specs.
Key differentiators:
- Native support for Windows Server and SQL Server licensing
- Azure Hybrid Benefit — use existing Windows/SQL licenses for discounts
- Automatic OS patching with Azure Update Manager
# Create an Azure VM with Azure CLI
az vm create \
--resource-group MyResourceGroup \
--name MyVM \
--image UbuntuLTS \
--admin-username azureuser \
--generate-ssh-keys
# Connect via SSH
ssh azureuser@<public-ip-address>Azure App Service
A PaaS offering for hosting web applications, REST APIs, and mobile backends. Supports .NET, Java, Node.js, Python, and PHP.
Key features:
- Auto-scaling based on traffic
- Built-in deployment slots (staging, production)
- Automatic TLS/SSL certificates
- Integrated CI/CD with GitHub and Azure DevOps
# flask_webapp.py
# Deploy this Flask app to Azure App Service
from flask import Flask
import os
app = Flask(__name__)
@app.route('/')
def home():
return """
<h1>Hello from Azure App Service!</h1>
<p>Deployed by DodaTech Tutorials</p>
"""
if __name__ == '__main__':
app.run(host='0.0.0.0', port=int(os.environ.get('PORT', 5000)))# Deploy to Azure App Service
az webapp up \
--name my-dodatech-app \
--resource-group MyResourceGroup \
--sku F1 \
--runtime "PYTHON:3.11"
# Open the deployed app
az webapp browse --name my-dodatech-app --resource-group MyResourceGroupAzure SQL Database
A fully managed relational database based on SQL Server. Handles backups, patching, and replication automatically.
Service tiers:
| Tier | Use Case | Features |
|---|---|---|
| Basic | Small workloads | 2GB, 5 DTUs |
| Standard | Production apps | 250GB, auto-scaling |
| Premium | High-performance | 4TB, in-memory, 99.99% SLA |
| Serverless | Intermittent usage | Auto-pause, compute billed per second |
Microsoft Entra ID (formerly Azure Active Directory)
Enterprise identity and access management service. It’s not just for Azure — it’s used by Microsoft 365, Dynamics 365, and thousands of third-party apps.
Key capabilities:
- Single sign-on (SSO) across applications
- Multi-factor authentication (MFA)
- Conditional access policies
- Device management (Intune integration)
flowchart LR
A[User] --> B[Entra ID]
B --> C[Microsoft 365]
B --> D[Azure Apps]
B --> E[Third-party SaaS]
B --> F[On-premises Apps]
B -->|MFA Challenge| A
A -->|Verify| B
B -->|Token| A
A --> G["Access Granted"]
Azure AI Services
Azure offers pre-built AI APIs that require no machine learning expertise:
| Service | What It Does |
|---|---|
| Computer Vision | Extract text, describe images, detect objects |
| Language Service | Sentiment analysis, entity recognition, translation |
| Speech Service | Speech-to-text, text-to-speech, speaker recognition |
| Azure OpenAI | GPT-4, DALL-E, embeddings (same as OpenAI) |
# azure_ai_demo.py
# Using Azure AI Language service for sentiment analysis
import os
from azure.ai.textanalytics import TextAnalyticsClient
from azure.core.credentials import AzureKeyCredential
def analyze_sentiment(text):
"""Analyze sentiment of a given text."""
endpoint = os.environ.get("AZURE_LANGUAGE_ENDPOINT")
key = os.environ.get("AZURE_LANGUAGE_KEY")
if not endpoint or not key:
return "Set AZURE_LANGUAGE_ENDPOINT and AZURE_LANGUAGE_KEY environment variables."
client = TextAnalyticsClient(endpoint=endpoint,
credential=AzureKeyCredential(key))
documents = [text]
response = client.analyze_sentiment(documents)[0]
return {
"sentiment": response.sentiment,
"positive_score": response.confidence_scores.positive,
"neutral_score": response.confidence_scores.neutral,
"negative_score": response.confidence_scores.negative
}
# Example
result = analyze_sentiment(
"DodaTech tutorials are incredibly helpful and well-structured!"
)
print(f"Sentiment: {result['sentiment']}")
print(f"Confidence: {result['positive_score']:.2%} positive")Expected output:
Sentiment: positive
Confidence: 98.50% positiveAzure vs AWS — Key Differences
| Feature | Azure | AWS |
|---|---|---|
| VMs | Azure VMs | EC2 |
| Serverless | Azure Functions | Lambda |
| Object storage | Blob Storage | S3 |
| Managed DB | Azure SQL | RDS |
| Container orchestration | AKS (Kubernetes) | EKS |
| AI services | Azure AI | SageMaker, Rekognition |
| Identity | Entra ID | IAM |
| Enterprise focus | Strong Microsoft integration | Broadest service catalog |
When to choose Azure: You use Microsoft tools (Office 365, .NET, SQL Server, Active Directory). You need hybrid cloud (connect on-premises and cloud). You work in a regulated industry (government, healthcare, finance).
Common Azure Mistakes
1. Not Using Resource Groups
Resource groups organize related resources. Without them, you’ll lose track of resources and costs. Always tag and group resources.
2. Ignoring Azure Policy
Azure Policy enforces compliance rules (e.g., “all VMs must use managed disks”). Without policies, inconsistent configurations slip through.
3. Forgetting to Set Budget Alerts
Azure costs can surprise you. Set budgets and alerts in Cost Management + Billing from day one.
4. Using Shared Admin Credentials
Use Azure RBAC (Role-Based Access Control) instead of sharing passwords. Assign roles like “Contributor” or “Reader” at the appropriate scope.
5. Not Using Managed Identities
Instead of storing credentials in code, use Managed Identities — Azure automatically rotates the credentials.
6. Overlooking Azure Backup
Azure Backup provides automated backup for VMs, SQL Server, and files. Configure it before you need to restore.
7. Skipping the Architecture Center
Azure’s Architecture Center provides proven reference architectures. Don’t design from scratch — adapt existing patterns.
Practice Questions
1. What are the three main service categories in Azure?
Compute (VMs, App Service, Functions), Storage (Blob, Disk, Files, SQL), and Networking (VNet, Load Balancer, VPN Gateway).
2. What is Azure App Service and what does it handle?
App Service is a PaaS for web apps. It handles OS patching, load balancing, auto-scaling, and TLS/SSL — you just deploy code.
3. How does Microsoft Entra ID differ from AWS IAM?
Entra ID is enterprise identity management for apps and users (including non-Azure). AWS IAM is primarily for AWS resource access control.
4. What is the Azure Hybrid Benefit?
It lets you use existing Windows Server and SQL Server licenses with Software Assurance to get discounted rates in Azure — saving up to 40%.
5. Challenge: Design a backup strategy for a production database.
Use Azure Backup for daily full backups, transaction log backups every 15 minutes, geo-redundant storage, and point-in-time restore for the last 35 days.
Mini Project: Deploy a Static Site on Azure
# Deploy a static site to Azure Storage static website hosting
# 1. Create a storage account
az storage account create \
--name dodatechstatic2026 \
--resource-group MyResourceGroup \
--kind StorageV2 \
--location eastus
# 2. Enable static website
az storage blob service-properties update \
--account-name dodatechstatic2026 \
--static-website \
--index-document index.html \
--error-document 404.html
# 3. Create a simple page
echo "<h1>DodaTech on Azure!</h1><p>Static sites are free.</p>" > index.html
# 4. Upload
az storage blob upload \
--account-name dodatechstatic2026 \
--container-name \$web \
--name index.html \
--file index.html
# 5. Get the URL
az storage account show \
--name dodatechstatic2026 \
--query "primaryEndpoints.web" \
--output tsvFAQ
Try It Yourself
Sign up for Azure’s free account and complete:
- Create an Azure Free Account (requires credit card for identity verification, but won’t be charged)
- Deploy a “Hello World” web app using Azure App Service (free F1 tier)
- Create a storage account and upload a file to Blob Storage
- Configure a budget alert for $10/month
This same infrastructure hosts DodaTech’s internal tools for Doda Browser telemetry processing and Durga Antivirus Pro update distribution.
What’s Next
What’s Next
Congratulations on completing this Azure Fundamentals tutorial! Here’s where to go from here:
- Practice daily — Consistency is more important than long study sessions
- Build a project — Apply what you learned by building something real
- Explore related topics — Check out other tutorials in the same category
- Join the community — Discuss with other learners and share your progress
Remember: every expert was once a beginner. Keep coding!
Built by the developers of DodaTech
Doda Browser, DodaZIP & Durga Antivirus Pro