In this repo, I'm documenting the learnings of Azure Services.
- Regions and Zones
- VM
- Availability
- VMSS
- Scaling
- Managed Services: Iaas, Paas, Saas
- Azure Web App
- Azure Administration: Azure CLI, AzurePowershell & Cloudshell, Azure Resource Manager (ARM), Azure Dashboard
- Container
- ACI (Azure Container Instances)
- Container Orchestration (AKS & Service Fabric)
- Serverless (Azure Functions)
- Shared Responsibility Model
- Storage types, Azure Storage ----------- Storage ---------------
- Azure Storage - Data Redundancy
- Region Pairs
- Azure files
- Database
- Networking: Virtual Network, Subnet, Load balncer, Azure front door, Application Gateway vs API Gateway, Content Delivery Network (CDN)
- Azure Network Security: Firewall, Network Security Group (NSG), DDoS, Azure Private Link & Private Endpoints, Bastin Host, VNet Peering
- Organizing & Managing Azure Resources: Resource Hierarchy (Management Groups > Subscription > Resource Group > Resources)
- Azure Identity Services: AAD, RBAC
- Azure Logic App
- Azure App Service =====================================================================================
Azure Virtual Machine (VM) is an IaaS (Infrastructure as a Service) offering. It lets you create a virtual computer in the cloud. Just like your laptop or server, but running inside Azureβs datacenters.
- You control the OS, software, and settings.
- Azure provides the physical hardware.
Let's create a VM
Virtual Machine Scale Sets (VMSS) let you automatically create and manage a group of identical virtual machines (VMs).
- They all run the same application.
- They scale out (add VMs) when demand is high.
- They scale in (remove VMs) when demand is low.
- Azure handles the scaling for you.
Let's create a VMSS with 2 identical VMs, configure Nginx on both VMs, 1 Load balancer and then check the accessibility of both VM and LB using curl command using Cloud Shell
Check the VMs..
These VMs can be accessible using their Public IPs as fillowing.. VM1
VM2
Load Balancer (lb)
Now we will use Cloud shell and hit the lb url using curl command and lb will redirect on the availabele VMs.
curl http://135.235.112.61
Azure Web App is part of Azure App Service. It lets you host websites and web applications without managing any servers!
- Azure takes care of the hardware, updates, scaling, and security.
- You just focus on your app (like your website, API, or backend).
Hit the domain of Web App on browser, we can see the web app page as follow.
8. Azure Administration: Azure CLI, AzurePowershell & Cloudshell, Azure Resource Manager (ARM), Azure Dashboard
The Azure Dashboard is a customizable canvas in the Microsoft Azure portal that allows you to monitor resources, track billing, view metrics, and access tools in one place. Itβs especially helpful for system administrators, DevOps engineers, and developers to quickly access and manage their cloud resources. Lets create a Dashboard..

-
Lets create a container using azure portal
-
We have given the Public IP for container, now hit the domain name on browser. We'll get the Azure Container Instances page.
containerlh24.atayd9hqd7h6bpdn.westindia.azurecontainer.io
Azure Region Pairs are two Azure regions that are linked together to:
- Provide high availability π‘οΈ
- Support disaster recovery π
- Ensure data backup across a wide area π
If one region has an outage (disaster, update), the paired region can take over.
Azure Files is a cloud-based shared file system that you can access just like a network drive β but it lives in Azure.
- Fully managed by Azure
- Accessible from Windows, Linux, and macOS
- Access over SMB protocol (the same protocol you use for network drives at work)
Let's create a Storage Account from the Azure portal
Create a File share in this storage
Azure Front Door is a global, scalable entry point for your web applications.
It helps to:
- Route user traffic smartly,
- Accelerate performance (make apps load faster),
- Protect against threats like DDoS attacks.
Think of it as a smart doorman that directs users to the best and fastest version of your app.
A Snapshot is a full backup of a VM's disk that you can use for backup, recovery, or creating new disks/VMs.
- It captures the exact state of your VM disk.
- You can restore your VM later using the snapshot if needed (like after a crash or accidental deletion).
- A full backup of one or more VM disks (automated).
- Regular, scheduled backups for long-term retention.
- Whole VM, including OS and data disks.
- Snapshot = Manual, one-time, disk-level.
- Disk Backup = Scheduled, full VM-level protection using Azure Backup service.
Swap memory is virtual memory used when your system's RAM is full. It's a portion of disk storage that acts like "extra RAM" to keep the system running smoothly. System moves less-used data to swap space (on disk) to free up memory.
- Itβs slower than RAM
- Helps prevent crashes when RAM is overloaded
- Server hardening means securing your server by reducing its vulnerabilities.
- Server hardening in Azure means following best practices to secure virtual machines, including limiting access, keeping systems updated, and monitoring activity.
- In Azure: Use tools like NSGs, Just-in-Time VM access, Microsoft Defender for Cloud
An Azure Virtual Network (VNet) is the foundation of networking in Azure. It's a private, isolated network you create in the Azure cloud, much like a traditional network in your on-premises environment.
| Features | Description |
|---|---|
| Isolation | Each VNet is isolated from other VNets and from the public internet unless you connect them. |
| Subnets | You can divide a VNet into subnets to organize and secure resources. |
| Private IP Addressing | Resources in a VNet (like VMs, databases) get private IPs. |
| Secure Communication | Resources within a VNet can communicate securely with each other. |
| Internet Access | Outbound internet access is allowed by default; inbound is restricted unless configured. |
| VNet Peering | You can connect VNets across regions or subscriptions privately using VNet Peering. |
Azure Virtual Network (VNet) Peering is a mechanism that connects two VNets in the same or different Azure regions, enabling resources in each VNet to communicate with each other using private IP addresses - just as if they were part of the same network.
- Intra-region VNet Peering
- Peers VNets within the same Azure region
- Uses low-latency, high-bandwidth Azure backbone
- No encryption between VNets (since it's internal)
- Global VNet Peering
- Peers VNets across different Azure regions
- Also uses Azure backbone, but incurs data transfer charges
- Private IP connectivity across VNets
- No public internet, VPN, or gateway required
- Low latency, high bandwidth connectivity
- Supports transitive routing (via NVA) with custom configuration
- Can be used with Hub-and-Spoke or Mesh architectures
- Peering is not transitive by default (A β B and B β C doesn't mean A β C)
- Network security groups (NSGs) and route tables still apply
- You can enable/disable options like:
- Forwarded traffic
- Gateway transit
- Remote gateway usage
We can see the current subscription details, as follow


