| Module | Title | Exam Weighting |
|---|---|---|
| 1 | Azure Architecture and Core Services | 35โ40% |
| 2 | Identity, Security, and Governance | 30โ35% |
| 3 | Management, Deployment, and Cost Monitoring | 30โ35% |
| Total coverage | 100% |
Welcome, cloud master! ๐ You have already learned the basics and intermediate skills. Now it is time to become an expert. In this module, we will explore Azure's architecture โ the physical and organisational structure โ and its core services in great detail. Think of it like becoming an architect who knows not just how to build a house, but why every beam and brick is placed perfectly.
Imagine you are the chief architect of a global city ๐. Your city is not in one place โ it is everywhere!
In this module, you will learn how to design and manage this global city โ Azure!
Definition: A region is a specific geographical location where Azure has data centres. For example, "South Africa North" is a region.
Why important: You choose a region to keep your data close to your users, so it is fast and meets legal rules (data residency).
Simple: A region is like a city where Azure has a big computer warehouse.
Real-life: If you are in Nigeria, using the South Africa region is faster than using a region in the USA.
School: Your school has a computer lab in a specific building โ that is like a region.
Home: Your family might store photos on a cloud server in a region close to you.
Nigerian: Many Nigerian companies use the South Africa region because it is the closest.
Region = a place on the map (e.g., South Africa, Europe, US)
โ Summary: Regions are physical locations of Azure data centres.
Definition: A region pair is a set of two regions in the same geography that are connected. For example, South Africa North and South Africa West are paired.
Why important: If one region has a disaster, the other region can keep your data safe. Azure also updates them one at a time to avoid downtime.
Simple: Like having a best friend who lives in another city โ if your house has a problem, you can stay at your friend's house.
Real-life: Microsoft replicates data between paired regions for disaster recovery.
School: Your school has a backup building in another part of town.
Home: You keep a spare key at a neighbour's house.
Nigerian: Azure has a region pair for South Africa.
Region Pair: South Africa North โ South Africa West
โ Summary: Region pairs provide backup and safe updates.
Definition: An availability zone is a separate data centre within a region. Each zone has its own power, cooling, and networking.
Why important: If one zone fails, another zone can keep your app running.
Simple: Imagine a city has three different power stations. If one goes down, the others still work.
Real-life: Banks use zones to keep customer data safe.
School: Your school has two buildings; if one has a power cut, you can move to the other.
Home: You keep a spare key at a neighbour's house โ that is like a backup zone.
Nigerian: A Lagos bank uses two zones in South Africa for redundancy.
Region
โโโ Zone 1 (data centre A)
โโโ Zone 2 (data centre B)
โโโ Zone 3 (data centre C)
โ Summary: Zones are separate data centres inside a region for extra reliability.
Definition: A resource is any single item you can create in Azure, like a virtual machine, a storage account, or a virtual network.
Why important: Resources are the things you use to build your cloud solutions.
Simple: A resource is like a Lego brick โ you snap them together to build something bigger.
Real-life: A company creates a VM (resource) to run its website.
School: The school creates a storage account (resource) for student files.
Home: You create a VM (resource) to play a game.
Nigerian: A startup creates a storage account (resource) for customer data.
Resource = any Azure service you create (VM, storage, network, etc.)
โ Summary: Resources are the individual services you create in Azure.
Definition: A resource group is a container that holds related Azure resources (like virtual machines, storage, and networks).
Why important: It helps you manage everything together โ like a folder for a project.
Simple: A resource group is like a school bag that holds all the books for one subject.
Real-life: A company has a resource group for its website and another for its mobile app.
School: One resource group for maths assignments, another for science.
Home: A folder for family photos, another for school documents.
Nigerian: A fintech startup uses a resource group for its payment system.
Resource Group "Project X"
โโโ Virtual Machine
โโโ Storage Account
โโโ Virtual Network
โ Summary: Resource groups help you organise your cloud resources.
Definition: A subscription is a way to group resources for billing and access control. You can have multiple subscriptions.
Why important: It helps you separate projects and track costs.
Simple: A subscription is like a wallet โ you use it to pay for your resources.
Real-life: A company has one subscription for development and another for production.
School: The school has a subscription for the IT department and another for the science department.
Home: You might have a free trial subscription to try Azure.
Nigerian: A large bank has separate subscriptions for each branch.
Subscription = billing and access management
โ Summary: Subscriptions manage billing and who can access resources.
Definition: A management group is a container that holds multiple subscriptions. It helps you manage policies and access across many subscriptions.
Why important: Large organisations need to govern many subscriptions.
Simple: Like a school principal who oversees many classrooms (subscriptions).
Real-life: A global company with many country offices uses management groups.
School: The principal manages all class groups.
Home: Parents manage all family accounts.
Nigerian: A large bank with many branches uses management groups to oversee all subscriptions.
Management Group
โโโ Subscription 1
โ โโโ Resource Group A
โ โโโ Resource Group B
โโโ Subscription 2
โโโ Resource Group C
โโโ Resource Group D
โ Summary: Management groups help you manage multiple subscriptions easily.
Definition: A virtual machine (VM) is a computer inside a computer. It runs an operating system like Windows or Linux.
Why important: You can have many VMs without buying physical hardware.
Simple: It is like having a pretend computer that lives in the cloud.
Real-life: A company uses VMs to host websites and databases.
School: Your IT class uses VMs to practise without breaking real computers.
Home: You can create a VM to run a game server.
Nigerian: A software company in Lagos rents VMs to test their apps.
Physical Server
โโโ VM1 (Windows)
โโโ VM2 (Linux)
โโโ VM3 (Windows)
โ Summary: VMs are virtual computers you can rent by the hour.
Definition: An availability set is a logical grouping of VMs that helps Azure keep them on different physical hardware to avoid a single point of failure.
Why important: It improves availability โ if one physical server fails, your other VMs keep running.
Simple: Like parking your cars in different garages โ if one garage burns down, you still have a car.
Real-life: A company puts its web servers in an availability set.
School: The school puts its exam servers in an availability set.
Home: Not used at home.
Nigerian: A bank uses availability sets for its critical apps.
Availability Set
โโโ VM1 (on rack 1)
โโโ VM2 (on rack 2)
โโโ VM3 (on rack 3)
โ Summary: Availability sets keep VMs on different physical hardware.
Definition: App Service is a PaaS (Platform as a Service) that lets you host web apps, REST APIs, and mobile backends.
Why important: You don't need to manage the server โ just upload your code.
Simple: It is like a magic oven โ you put in your recipe (code) and it bakes a website.
Real-life: Many companies host their public websites on App Service.
School: Your school's online portal might be hosted on App Service.
Home: You can create a simple blog using App Service.
Nigerian: A restaurant in Abuja uses App Service for their online menu.
App Service = Host web apps without managing servers
โ Summary: App Service lets you host websites without managing servers.
Definition: ACI lets you run containers (lightweight packages of code) in Azure without managing any servers.
Why important: It is fast and cheap for small applications.
Simple: Like a microwave meal โ quick and easy!
Real-life: A company runs a small reporting tool in ACI.
School: A teacher runs a quiz app in ACI.
Home: You run a fun game in ACI.
Nigerian: A startup runs a prototype in ACI.
Container = small package of code + environment
ACI = run containers without managing servers
โ Summary: ACI lets you run containers easily and cheaply.
Definition: Azure Functions is a serverless service โ you write code that runs only when triggered.
Why important: You pay only when the code runs, not for idle time.
Simple: Like a vending machine โ it only works when you press a button.
Real-life: A photo app uses a function to resize images when you upload them.
School: A function could send a notification when a teacher posts homework.
Home: A function could turn on your smart lights when you arrive home.
Nigerian: A delivery app uses a function to calculate shipping costs.
Trigger (e.g., upload photo) โ Function runs โ Done (resized photo)
โ Summary: Functions run code only when needed, saving money.
Definition: VNet is a private network inside Azure, just like your home Wi-Fi.
Why important: It keeps your resources safe and connected.
Simple: A VNet is like a private road system for your cloud resources.
Real-life: A company uses VNet to connect its web server to its database securely.
School: The school network connects all computers โ VNet does the same in Azure.
Home: Your home Wi-Fi connects your phone, laptop, and TV.
Nigerian: A healthcare provider uses VNet to connect patient records safely.
VNet = private cloud network
โโโ Subnet A (Web servers)
โโโ Subnet B (Database servers)
โโโ Subnet C (Application servers)
โ Summary: VNet creates a private network for your Azure resources.
Definition: VNet peering lets you connect two VNets so they can communicate as if they were one network.
Why important: You can connect resources in different regions.
Simple: Like building a bridge between two islands.
Real-life: A company has VNets in Lagos and Europe and peers them.
School: Two school buildings connected by a walkway.
Home: Two routers connected to share internet.
Nigerian: A bank peers VNets in South Africa and Nigeria.
VNet Peering = Connect two VNets
โ Summary: VNet peering connects two VNets.
Definition: Azure Storage is a set of services for storing files, messages, and data. It includes Blob, File, Disk, and Queue.
Why important: You need a place to keep your data permanently.
Simple: Storage is like a giant digital warehouse.
Real-life: Photos, videos, and backups are stored in Azure Storage.
School: Your school stores exam papers in a storage account.
Home: Your family's cloud backup uses Azure Storage.
Nigerian: A music streaming service stores songs in Azure Storage.
| Storage type | What it is for | Example |
|---|---|---|
| Blob | Unstructured data (files, images, videos) | Photos, backups |
| File | Shared network drives | Team folders |
| Disk | Virtual hard drives for VMs | OS disk |
| Queue | Message queue for communication | Order processing |
โ Summary: Azure Storage is a family of services to keep your data safe.
Global Azure Infrastructure
โโโ Region (e.g., South Africa North)
โ โโโ Zone 1
โ โโโ Zone 2
โ โโโ Zone 3
โโโ Region Pair (e.g., South Africa West)
Management Group
โโโ Subscription 1
โ โโโ Resource Group A
โ โ โโโ VM
โ โ โโโ Storage
โ โโโ Resource Group B
โโโ Subscription 2
โโโ Resource Group C
โโโ Resource Group D
VMs โ Full control, custom OS
App Service โ Web apps, managed
Containers โ Lightweight, portable
Functions โ Serverless, on-demand
| Service | Type | Use case |
|---|---|---|
| Virtual Machines | IaaS | Full control, custom OS |
| App Service | PaaS | Web apps, APIs |
| Container Instances | Container | Lightweight apps |
| Functions | Serverless | Event-driven, short tasks |
| Type | Best for |
|---|---|
| Blob | Files, images, backups |
| File | Shared network drives |
| Disk | VM operating system disks |
| Queue | Message queuing between apps |
In this expert-level module, we explored Azure's architecture and core services in depth. We covered:
You now have a deep understanding of Azure's architecture and core services. In the next module, we will learn about Identity, Security, and Compliance.
Match the service with its description.
| Service | Description |
|---|---|
| Virtual Machine | A virtual computer |
| App Service | Host web apps |
| Functions | Run code on demand |
| Container Instances | Run lightweight containers |
| Blob Storage | Store files and images |
| VNet | Private network |
| VNet Peering | Connect two VNets |
| Availability Set | Keep VMs on different hardware |
Scenario 1: A Nigerian bank wants to host a website for customers. They need high availability and want to avoid server management. Which Azure service should they use?
Scenario 2: A company needs to store large videos for training. They will access them often. Which storage type should they use?
Scenario 3: A fintech startup wants to run a small piece of code when a transaction is made. Which service should they use?
In groups, design a cloud architecture for a Nigerian e-commerce company. Include compute, networking, and storage. Present your design.
Draw a diagram of the Azure resource hierarchy (Management Group โ Subscription โ Resource Group โ Resource). Label each part.
Cloud Architecture Design: Design a cloud architecture for a mobile app that lets users upload and share photos. Specify which Azure services you would use for compute, storage, and networking. Draw a diagram and explain your choices.
If you have an Azure account, do the following:
Research how to create an Azure Function that triggers when a file is uploaded to Blob Storage. Write a simple guide on how to set it up.
In the next module, we will learn about Identity, Security, and Compliance. We will cover:
Review your knowledge of subscriptions and resource groups โ they will be very important in Module 2.
๐ Congratulations! You have completed Module 1 (Expert). Keep going! ๐
Welcome, security master! ๐ก๏ธ You have built your cloud architecture. Now it is time to protect it. In this expert module, we will dive deep into identity, security, and compliance โ the tools that keep your Azure resources safe. Think of it like being the head of security for a global city โ you need to know who enters, what they can do, and how to stop bad guys.
Imagine you are the Supreme Guardian of a mighty kingdom ๐ฐ. You have:
In this module, you will learn how to protect your cloud kingdom!
Definition: Microsoft Entra ID (formerly Azure AD) is a cloud-based service that manages identities and access.
Why important: It is the central place where you control who can access your Azure resources.
Simple: Like a school register โ it has the names of all students and who can enter which classroom.
Real-life: A company uses Entra ID to manage employee logins to all their apps.
School: The school uses a system to manage student and teacher logins.
Home: Your Microsoft account is an Entra ID identity.
Nigerian: A Lagos bank uses Entra ID to manage employee access to banking apps.
Entra ID = Master list of users and their permissions
โโโ Users (people)
โโโ Groups (teams)
โโโ Applications (apps they can use)
โ Summary: Entra ID is the service that manages identities in Azure.
Definition: A tenant is a dedicated instance of Entra ID for your organisation. It is like your own private copy of the service.
Why important: It keeps your users and data separate from other organisations.
Simple: Like having your own locker at school โ only you have the key.
Real-life: Each company has its own tenant.
School: The school has its own tenant for all teachers and students.
Home: Not used at home.
Nigerian: A fintech has its own tenant for its employees.
Tenant = Your private directory in Entra ID
โ Summary: A tenant is your organisation's private space in Entra ID.
Definition: A user is a person (or application) that needs access. A group is a collection of users.
Why important: Groups make it easy to give permissions to many people at once.
Simple: A user is like a student; a group is like a class.
Real-life: A company has users (employees) and groups (Marketing, Sales, IT).
School: Students are users; a class is a group.
Home: Family members are users; the "family" is a group.
Nigerian: A startup has users (employees) and groups (Developers, Managers).
User = Individual person
Group = Collection of users (e.g., "Finance Team")
โ Summary: Users are individuals; groups are collections of users.
Definition: Guest users are users from outside your organisation who need access to your resources (e.g., partners, vendors).
Why important: You can collaborate with external partners securely.
Simple: Like a visitor pass for someone visiting your school.
Real-life: A company invites a vendor to access a document.
School: A guest teacher gets temporary access.
Home: You share a document with a relative.
Nigerian: A fintech invites an external auditor.
Guest User = External user with limited access
โ Summary: Guest users allow external collaboration.
Definition: SSO lets you log in once with one set of credentials to access multiple apps.
Why important: You don't need to remember many passwords.
Simple: Like a master key that opens all doors in your house.
Real-life: Employees log in once to access email, HR system, and cloud apps.
School: Students use one login for the school portal and online library.
Home: You use your Google account to log in to YouTube, Gmail, and Drive.
Nigerian: A bank uses SSO for employees to access multiple internal apps.
Login once โ Access all apps (no need to re-enter passwords)
โ Summary: SSO means one login for many apps.
Definition: MFA requires two or more verification methods to log in. For example, a password + a code sent to your phone.
Why important: It makes it much harder for hackers to break in.
Simple: Like a bank vault that needs a key and a combination.
Real-life: Your online banking uses MFA.
School: Teachers use MFA to access student records.
Home: You can enable MFA on your Microsoft account.
Nigerian: Many Nigerian banks use MFA for online banking.
Step 1: Enter password
Step 2: Enter code from phone
โ
Access granted!
โ Summary: MFA adds an extra layer of security to your login.
Definition: RBAC assigns permissions to users, groups, or applications based on their roles.
Why important: You give people only the permissions they need.
Simple: Like a school where teachers can grade, but students can only view.
Real-life: An admin can create VMs, a reader can only view them.
School: The principal can change settings, but the librarian can only view.
Home: Parents have full control, children have limited access.
Nigerian: A company gives developers "contributor" rights but not "owner".
| Role | Permissions |
|---|---|
| Owner | Can do everything |
| Contributor | Can create/manage resources but not give access |
| Reader | Can only view resources |
โ Summary: RBAC gives permissions based on roles.
Definition: Custom roles allow you to create your own roles with specific permissions, beyond the built-in roles.
Why important: You can create roles for very specific needs.
Simple: Like creating a custom role for a project manager who needs some, but not all, admin rights.
Real-life: A company creates a "Backup Operator" role.
School: The school creates a "Substitute Teacher" role.
Home: Not used at home.
Nigerian: A bank creates a "Read-Only Auditor" role.
Custom Role = Your own set of permissions
โ Summary: Custom roles let you define precise permissions.
Definition: Azure Security Center is a tool that helps you monitor and improve your security posture.
Why important: It alerts you to threats and gives recommendations.
Simple: Like a security guard who watches cameras and tells you if something is wrong.
Real-life: A company uses Security Center to monitor its VMs for threats.
School: The school uses it to protect student data.
Home: Not used at home.
Nigerian: A hospital uses Security Center to protect patient records.
Security Center
โโโ Monitors for threats
โโโ Gives security recommendations
โโโ Shows Secure Score (how secure you are)
โ Summary: Security Center monitors your Azure resources for security issues.
Definition: Azure Defender is a service that provides advanced threat protection for your resources, like VMs, databases, and storage.
Why important: It detects sophisticated attacks that basic tools might miss.
Simple: Like a detective who investigates suspicious activities.
Real-life: A bank uses Azure Defender to detect unusual transactions.
School: Not used in schools.
Home: Not used at home.
Nigerian: A fintech uses Azure Defender to protect against fraud.
Azure Defender = Advanced security for VMs, databases, storage, etc.
โ Summary: Azure Defender provides advanced threat protection.
Definition: Key Vault is a service that securely stores secrets, keys, and certificates.
Why important: You don't want to hard-code passwords in your code.
Simple: Like a safe where you keep your most valuable items.
Real-life: A company stores database passwords in Key Vault.
School: The school stores API keys in Key Vault.
Home: Not used at home.
Nigerian: A startup stores payment gateway keys in Key Vault.
Key Vault = Secure storage for:
โโโ Secrets (passwords, keys)
โโโ Keys (encryption keys)
โโโ Certificates (SSL/TLS)
โ Summary: Key Vault securely stores your secrets.
Definition: A managed identity is an identity that Azure creates for a service (like a VM or Function) so it can authenticate to other Azure services.
Why important: You don't need to store credentials โ Azure handles it.
Simple: Like a security badge that is automatically given to a robot.
Real-life: A VM uses a managed identity to access Key Vault.
School: Not used in schools.
Home: Not used at home.
Nigerian: A function app uses a managed identity to access storage.
Managed Identity = Automatic identity for Azure services
No need to store passwords!
โ Summary: Managed identities let Azure services authenticate automatically.
Definition: Azure Policy is a service that lets you create rules to enforce standards across your resources.
Why important: It prevents people from making mistakes, like creating VMs in the wrong region.
Simple: Like school rules โ you can't run in the hallway.
Real-life: A company uses a policy to only allow VMs in a specific region.
School: A policy ensures all school resources use the same naming convention.
Home: Not used at home.
Nigerian: A bank uses policies to ensure all VMs are in South Africa.
Policy: Allowed locations = South Africa, Europe
If VM created in US โ Policy denies it
โ Summary: Azure Policy enforces rules to keep things consistent.
Definition: Azure Blueprints is a service that lets you define a set of resources, policies, and roles to create a repeatable environment.
Why important: You can deploy a whole set of resources with one click.
Simple: Like a recipe โ follow it to bake the same cake every time.
Real-life: A company uses Blueprints to create new development environments.
School: The school uses Blueprints to set up new labs.
Home: Not used at home.
Nigerian: A startup uses Blueprints to deploy its app to multiple regions.
Blueprint = Pre-packaged environment (resources + policies + roles)
โ Summary: Blueprints help you deploy compliant environments quickly.
Definition: Defense in depth is a strategy that uses multiple layers of security. Zero Trust is a model that assumes every request is untrusted until verified.
Why important: They provide comprehensive protection.
Simple: Like a castle with walls, a moat, and guards โ and even the guards have to prove who they are.
Real-life: A company uses firewalls, MFA, and encryption.
School: The school has locks on doors, security cameras, and passwords.
Home: Your home has a gate, a door lock, and an alarm.
Nigerian: A bank uses firewalls, encryption, and MFA with Zero Trust principles.
Defense in Depth:
Layer 1: Network (firewall, NSG)
Layer 2: Identity (MFA, RBAC)
Layer 3: Data (encryption)
Layer 4: Applications (secure code)
Zero Trust: Never trust, always verify
โ Summary: Defense in depth uses multiple layers; Zero Trust assumes nothing is safe.
Layer 1: Network (firewalls, NSGs)
Layer 2: Identity (MFA, RBAC)
Layer 3: Data (encryption)
Layer 4: Applications (secure code)
Owner โ Full control
Contributor โ Can create/update resources
Reader โ Can only view
Custom Role โ Your own permissions
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Never Trust, Always Verify โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Identity โ Device โ Network โ App โ
โ (MFA) (Compliant) (Segmented) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
| Service | Purpose |
|---|---|
| Security Center | Monitoring and recommendations |
| Azure Defender | Advanced threat protection |
| Key Vault | Store secrets |
| Azure Policy | Enforce rules |
| Blueprints | Deploy compliant environments |
| Role | Can create resources? | Can assign roles? |
|---|---|---|
| Owner | Yes | Yes |
| Contributor | Yes | No |
| Reader | No | No |
| Custom Role | As defined | As defined |
In this expert module, we learned about identity, security, and compliance in Azure. We covered:
You now have a deep understanding of how to secure and govern your Azure resources. In the next module, we will learn about Cost Management and Optimization.
Match the service with its purpose.
| Service | Purpose |
|---|---|
| Entra ID | Manage identities |
| MFA | Extra security |
| RBAC | Assign permissions |
| Key Vault | Store secrets |
| Azure Policy | Enforce rules |
| Resource Lock | Prevent deletion |
| Tags | Organise resources |
| Zero Trust | Never trust, always verify |
Scenario 1: A Nigerian bank wants to ensure that only IT staff can create VMs. Which Azure service should they use?
Scenario 2: A company wants to store database passwords securely. Which service should they use?
Scenario 3: A hospital wants to monitor its resources for threats. Which service should they use?
In groups, design a security plan for a Nigerian e-commerce company. Include:
Create a list of tags you would use for a cloud project. Include tags for project, department, environment, and cost centre.
Security Plan: Create a security plan for a fictional Nigerian company. Include identity management, access control, monitoring, governance, and Zero Trust. Present your plan to the class.
If you have an Azure account, try the following:
Research how to create an Azure Policy that only allows VMs in a specific region. Write a simple guide on how to set it up.
In the next module, we will learn about Cost Management and Optimization. We will cover:
Review your knowledge of subscriptions and resource groups โ they will be important in Module 3.
๐ Congratulations! You have completed Module 2 (Expert). Keep going! ๐
Welcome, financial master! ๐ต You have built your cloud architecture and secured it. Now it is time to manage your money. In this expert module, we will learn how to plan, track, and reduce Azure costs like a pro. Think of it like being the treasurer of a global city โ you need to know where every penny goes and how to save big.
Imagine you are the treasurer of a big city ๐๏ธ. You need to:
In this module, you will learn how to be a smart treasurer for your Azure cloud!
Definition: Azure uses a pay-as-you-go model โ you pay only for what you use, and you can stop anytime.
Why important: You don't need to buy expensive hardware upfront.
Simple: Like paying for water โ you pay for what comes out of the tap.
Real-life: A company pays for VMs only when they are running.
School: The school pays for storage only for the term.
Home: You pay for extra iCloud storage only if you need it.
Nigerian: A small business uses cloud services and pays only for what they use each month.
Pay-as-you-go = pay per unit (like โฆ per GB or per hour)
โ Summary: You pay only for what you consume, like a utility bill.
Definition: The Pricing Calculator is a free tool on the Azure website that helps you estimate how much a service will cost.
Why important: You can plan before you spend.
Simple: Like using a calculator to add up your shopping list.
Real-life: A company calculates the cost of running a VM for a year.
School: The IT teacher estimates the cost of hosting the school website.
Home: You can use it to see how much it would cost to store your family photos.
Nigerian: A fintech startup uses the calculator before launching a new service.
Pricing Calculator
โโโ Choose service (e.g., VM)
โโโ Set options (size, region, hours)
โโโ Get estimated cost
โ Summary: The Pricing Calculator helps you estimate your Azure costs.
Definition: The TCO (Total Cost of Ownership) calculator compares the cost of running your own servers (on-premises) versus using the cloud.
Why important: It helps you decide if moving to the cloud saves money.
Simple: Like comparing the cost of buying a car vs. renting one.
Real-life: A company uses TCO to decide whether to move to Azure.
School: A school compares the cost of a physical server room vs. cloud.
Home: Not usually used by individuals.
Nigerian: A bank uses the TCO calculator to justify moving to the cloud.
| Aspect | On-premises | Cloud (Azure) |
|---|---|---|
| Hardware cost | High upfront | Pay as you go |
| Maintenance | You manage | Microsoft manages |
| Electricity | You pay | Included |
| Scalability | Hard | Easy |
โ Summary: TCO calculator shows the total cost of on-premises vs. cloud.
Definition: A tool in the Azure portal that shows you exactly how much you're spending and on what.
Why important: You need to see where your money is going.
Simple: Like a bank statement for your cloud usage.
Real-life: A manager checks Cost Management to see if a project is over budget.
School: The school's finance officer tracks cloud spending monthly.
Home: You can see how much your free trial is using.
Nigerian: A company in Abuja reviews Cost Management every week.
Cost Management
โโโ View spending by resource
โโโ Set budgets & alerts
โโโ Recommendations to save money
โ Summary: Cost Management + Billing helps you track and control spending.
Definition: A budget is a spending limit you set for a subscription or resource group. You get alerts when you reach a certain percentage.
Why important: It prevents surprise bills.
Simple: Like a weekly allowance โ you can't spend more than you have.
Real-life: A company sets a monthly budget of $10,000 for Azure.
School: The school sets a budget for cloud storage.
Home: You set a budget for your mobile data.
Nigerian: A startup sets a budget of โฆ500,000 per month.
Budget: โฆ500,000/month
Alert at 80% (โฆ400,000) โ Get email notification
โ Summary: Budgets help you limit spending and avoid surprises.
Definition: Cost Analysis is a tool that lets you see your spending over time, by resource, by service, or by tag.
Why important: You can find out which services cost the most.
Simple: Like looking at a pie chart of your spending.
Real-life: A company sees that 60% of their cost is from VMs.
School: The school sees that storage costs the most.
Home: You see which apps use the most data.
Nigerian: A fintech sees that database costs are high.
Cost Analysis = Detailed view of your spending
โโโ By service (VMs, storage, etc.)
โโโ By resource (VM1, VM2, etc.)
โโโ By tag (Project, department)
โ Summary: Cost Analysis helps you understand where your money goes.
Definition: Azure Advisor is a free service that gives you personalized recommendations to save money, improve performance, and increase security.
Why important: It tells you exactly what to do to save money.
Simple: Like a friend who gives you tips on saving money.
Real-life: Azure Advisor recommends shutting down idle VMs.
School: The school gets recommendations to resize VMs.
Home: Not used at home.
Nigerian: A startup gets recommendations to use reserved instances.
Azure Advisor
โโโ Cost recommendations (save money)
โโโ Performance recommendations (make things faster)
โโโ Security recommendations (make things safer)
โ Summary: Azure Advisor gives you free recommendations to save money.
Definition: Reserved Instances let you pay for a VM or other service for 1 or 3 years in advance, at a discount of up to 72%.
Why important: It saves a lot of money for long-term workloads.
Simple: Like buying a yearly movie pass instead of paying per movie.
Real-life: A company reserves a VM for 3 years and saves 50%.
School: The school reserves a database server for 1 year.
Home: Not used at home.
Nigerian: A bank reserves VMs for 3 years to save costs.
| Payment option | Discount | Best for |
|---|---|---|
| Pay-as-you-go | 0% | Short-term, variable workloads |
| 1-year Reserved | Up to 40% | Predictable workloads |
| 3-year Reserved | Up to 72% | Long-term, stable workloads |
โ Summary: Reserved Instances save money for long-term use.
Definition: Savings Plans are similar to Reserved Instances but more flexible โ you commit to a certain amount of spend per hour, and you get a discount on many services.
Why important: It offers flexibility โ you can change services and still get a discount.
Simple: Like a monthly subscription that gives you a discount on everything you buy.
Real-life: A company commits to spending $50/hour and gets a discount on VMs and databases.
School: Not used in schools.
Home: Not used at home.
Nigerian: A startup uses Savings Plans to save on multiple services.
Savings Plans = Commit to a hourly spend, get discounts
โโโ Compute Savings Plan (VMs, App Service, etc.)
โโโ EC2 Instance Savings Plan (similar)
โ Summary: Savings Plans offer flexible discounts for committing to a spend.
Definition: Azure Hybrid Benefit lets you use your on-premises Windows Server and SQL Server licenses in Azure, saving up to 40%.
Why important: You already paid for the licenses, so you save money.
Simple: Like using a gift card you already have.
Real-life: A company with on-premises Windows licenses uses them in Azure.
School: Not used in schools.
Home: Not used at home.
Nigerian: A bank with existing SQL Server licenses saves 40% in Azure.
Azure Hybrid Benefit = Use your existing licenses in Azure
Saves up to 40% on Windows VMs and SQL Server
โ Summary: Azure Hybrid Benefit saves money by using your existing licenses.
Definition: Right-sizing means choosing the right size for your VMs and other resources โ not too big, not too small.
Why important: A VM that is too big wastes money. A VM that is too small is slow.
Simple: Like buying shoes โ you need the right size!
Real-life: A company monitors VM usage and resizes VMs to save money.
School: The school resizes a VM from Standard D4s to D2s.
Home: Not used at home.
Nigerian: A startup uses Azure Advisor to right-size VMs.
Monitor CPU usage โ If usage is low (below 30%) โ Downsize VM
If usage is high (above 80%) โ Upsize VM
โ Summary: Right-sizing helps you avoid paying for resources you don't need.
Definition: Idle resources are resources that are running but not being used. For example, a VM that runs 24/7 but is only used during business hours.
Why important: You pay for idle resources, so you can save money by stopping them.
Simple: Like turning off the lights when you leave a room.
Real-life: A company automatically stops VMs at night and on weekends.
School: The school stops VMs during holidays.
Home: You turn off your computer when not in use.
Nigerian: A startup uses Azure Automation to stop VMs after business hours.
Schedule: Stop VM at 6 PM, start at 8 AM
Save 60% of VM cost!
โ Summary: Stop idle resources to save money.
Definition: Storage tiers (Hot, Cool, Archive) let you pay less for data you don't access often.
Why important: It saves money on storage.
Simple: Like moving winter clothes to the attic โ they are harder to reach but save space.
Real-life: A company moves old project files to Archive after 2 years.
School: Old student records are archived.
Home: Old photos are moved to Archive.
Nigerian: A bank archives old transaction records.
| Tier | Access frequency | Cost |
|---|---|---|
| Hot | Frequent | High |
| Cool | Infrequent | Medium |
| Archive | Rare | Low |
โ Summary: Use storage tiers to save money on old data.
Definition: Tags are labels you add to resources to track costs by project, department, or environment.
Why important: You can see which department or project is spending the most.
Simple: Like putting a name tag on your lunch box.
Real-life: A company tags resources by department (Marketing, IT, Finance).
School: The school tags resources by class.
Home: You tag photos with names and dates.
Nigerian: A startup tags resources by region (Lagos, Abuja).
Tag: Department = Finance
Tag: Project = PayrollApp
Tag: Environment = Production
โ Summary: Tags help you track costs by project or department.
Definition: Best practices are the recommended ways to manage costs effectively.
Why important: They help you save money and avoid surprises.
Simple: Like a checklist for saving money.
Real-life: A company uses all these practices to keep costs low.
School: The school follows these practices.
Home: You follow similar practices for your personal budget.
Nigerian: A startup uses these practices to stay within budget.
Best Practices:
1. Use Pricing Calculator
2. Set budgets and alerts
3. Use Reserved Instances
4. Right-size resources
5. Stop idle VMs
6. Use storage tiers
7. Tag resources
8. Use Azure Advisor
โ Summary: Following best practices helps you save money in Azure.
Plan โ Use โ Track โ Adjust
Hot (frequent access) โ $$$
Cool (infrequent) โ $$
Archive (rarely) โ $
Pay-as-you-go โ 100% cost
1-year RI โ 60% cost (40% savings)
3-year RI โ 28% cost (72% savings)
| Option | Commitment | Discount | Flexibility |
|---|---|---|---|
| Pay-as-you-go | None | 0% | High |
| Reserved Instance (1-year) | 1 year | Up to 40% | Low |
| Reserved Instance (3-year) | 3 years | Up to 72% | Low |
| Savings Plan | 1 or 3 years | Up to 65% | Medium |
| Tier | Access frequency | Cost | Retrieval time |
|---|---|---|---|
| Hot | Frequent | High | Milliseconds |
| Cool | Infrequent | Medium | Milliseconds |
| Archive | Rare | Low | Hours |
In this expert module, we learned how to manage and optimize costs in Azure. We covered:
You now have the tools to keep your Azure costs under control. This is the final module of the expert course โ you are ready to take your Azure skills to the highest level!
Match the tool/service with its purpose.
| Tool/Service | Purpose |
|---|---|
| Pricing Calculator | Estimate costs |
| TCO Calculator | Compare on-premises vs. cloud |
| Cost Management | Track spending |
| Budget | Set spending limit |
| Azure Advisor | Give recommendations |
| Reserved Instance | Prepay to save |
| Savings Plan | Flexible savings |
| Storage Tier | Save on old data |
| Tag | Cost allocation |
Scenario 1: A Nigerian company runs a VM 24/7 but only uses it for 8 hours a day. How can they save money?
Scenario 2: A school has 5 years of student records that they rarely access. Which storage tier should they use?
Scenario 3: A fintech startup has a steady workload on VMs and wants to save money. What should they do?
In groups, design a cost management plan for a Nigerian company using Azure. Include:
Use the Azure Pricing Calculator to estimate the cost of running a VM for 1 year in the South Africa region. Write down your estimate and the assumptions you made.
Cost Optimization Plan: Create a cost optimization plan for a fictional Nigerian e-commerce company. Include cost estimation, tracking, savings strategies, and optimization practices. Present your plan.
If you have an Azure account, try the following:
Research how to create an Azure Automation runbook to stop VMs automatically after business hours. Write a simple guide.
Congratulations! ๐ You have completed all three modules of the Azure Fundamentals โ Expert course.
You are now ready to take the next step in your Azure journey. Here are some suggestions:
Good luck, future Azure expert! โ๏ธ๐
๐ You have completed the expert course! Keep learning and exploring the cloud. ๐
Welcome, master operator! ๐ฎ You have built your cloud architecture, secured it, and managed costs. Now it is time to take full control. In this expert module, we will learn how to manage Azure like a pro, monitor everything that moves, and automate repetitive tasks. Think of it like being the chief engineer of a spaceship โ you need to know every control, watch every screen, and let the computer do the boring work.
Imagine you are the chief engineer of a starship ๐. You have:
In this module, you will learn how to be the best chief engineer for your Azure starship!
Definition: The Azure Portal is a website where you can manage all your Azure resources visually.
Why important: It is the easiest way for beginners to interact with Azure.
Simple: Like a car dashboard โ you can see everything and control everything.
Real-life: A company's IT team uses the portal to create VMs and storage.
School: The IT teacher uses the portal to manage the school's resources.
Home: You can use the portal to create your free account.
Nigerian: A startup uses the portal to deploy its app.
Azure Portal = Web-based management
โโโ Create resources
โโโ Monitor resources
โโโ Manage access
โ Summary: The Azure Portal is the main graphical interface for Azure.
Definition: Azure CLI (Command Line Interface) is a tool that lets you manage Azure using commands in a terminal or script.
Why important: It is faster for repetitive tasks and can be used in scripts.
Simple: Like typing instructions instead of clicking buttons.
Real-life: A developer uses CLI to create 100 VMs in one command.
School: The IT teacher uses CLI to automate tasks.
Home: Not used at home.
Nigerian: A sysadmin in Lagos uses CLI to manage multiple subscriptions.
az vm create --name MyVM --resource-group MyRG --image UbuntuLTS
โ Summary: Azure CLI lets you manage Azure via commands.
Definition: Azure PowerShell is a tool that uses PowerShell commands (like CLI) to manage Azure, especially on Windows.
Why important: It is powerful for Windows automation.
Simple: Like CLI but for PowerShell fans.
Real-life: A Windows admin uses PowerShell to manage Azure VMs.
School: The IT teacher uses PowerShell for Windows tasks.
Home: Not used at home.
Nigerian: A bank uses PowerShell for Windows-based automation.
New-AzVM -Name MyVM -ResourceGroupName MyRG -Image UbuntuLTS
โ Summary: Azure PowerShell lets you manage Azure from Windows.
Definition: Cloud Shell is a browser-based terminal where you can run CLI or PowerShell commands without installing anything.
Why important: You don't need to install any software โ just use your browser.
Simple: Like having a terminal in your browser.
Real-life: A developer uses Cloud Shell from any computer.
School: Students use Cloud Shell for labs.
Home: You can use Cloud Shell from your browser.
Nigerian: A startup uses Cloud Shell for quick management.
Cloud Shell = Terminal in the browser
โโโ Azure CLI
โโโ Azure PowerShell
โ Summary: Cloud Shell lets you use CLI/PowerShell from your browser.
Definition: ARM (Azure Resource Manager) templates are JSON files that define your infrastructure in code.
Why important: You can deploy the same environment over and over consistently.
Simple: Like a recipe โ follow it to bake the same cake every time.
Real-life: A company uses ARM templates to deploy its production and test environments.
School: The school uses a template to set up a lab for students.
Home: Not used at home.
Nigerian: A startup uses ARM templates to deploy their app in multiple regions.
ARM Template = JSON code
โโโ VM
โโโ Storage
โโโ VNet
โโโ Deploy โ Creates all resources together
โ Summary: ARM templates let you define your infrastructure as code.
Definition: Bicep is a new language for Infrastructure as Code that is simpler and more readable than ARM templates.
Why important: It is easier to write and understand.
Simple: Like writing a recipe in plain English instead of a complicated list.
Real-life: A company uses Bicep for faster deployments.
School: The school uses Bicep for lab environments.
Home: Not used at home.
Nigerian: A startup uses Bicep for faster infrastructure deployment.
resource vm 'Microsoft.Compute/virtualMachines@2023-03-01' = {
name: 'MyVM'
location: 'southafricanorth'
...
}
โ Summary: Bicep is a simpler language for Infrastructure as Code.
Definition: Azure Monitor collects data from your resources (like performance, logs, and metrics) and helps you understand what is happening.
Why important: You need to know if your app is running well.
Simple: Like a doctor's check-up for your cloud resources.
Real-life: A developer uses Azure Monitor to see if a VM is running out of memory.
School: The IT team monitors the school's website to see if it is fast.
Home: Not used at home.
Nigerian: A fintech uses Monitor to track transaction processing times.
Azure Monitor
โโโ Metrics (CPU, memory, etc.)
โโโ Logs (detailed records)
โโโ Alerts (notify when something is wrong)
โ Summary: Azure Monitor helps you see how your resources are performing.
Definition: Log Analytics is a tool within Azure Monitor that lets you query and analyze logs using KQL (Kusto Query Language).
Why important: You can find specific events or patterns in your logs.
Simple: Like searching through a giant diary to find a specific event.
Real-life: A developer uses Log Analytics to find errors in their app.
School: The IT team uses Log Analytics to see who accessed the system.
Home: Not used at home.
Nigerian: A bank uses Log Analytics to detect fraud.
Log Analytics
โโโ Query logs
โโโ Create dashboards
โโโ Set up alerts
โ Summary: Log Analytics lets you search and analyze logs.
Definition: Application Insights is a tool that monitors your application's performance and user behaviour.
Why important: It tells you how your app is performing for users.
Simple: Like a fitness tracker for your app.
Real-life: A company uses Application Insights to see which pages are slow.
School: The school uses it to monitor the online learning portal.
Home: Not used at home.
Nigerian: A startup uses Application Insights to improve their app.
Application Insights
โโโ Performance metrics
โโโ User analytics
โโโ Exception tracking
โ Summary: Application Insights monitors your application's performance.
Definition: Alerts are notifications that something is wrong (e.g., CPU too high). Action Groups are groups of actions to take (e.g., send an email).
Why important: You need to know when something goes wrong.
Simple: Like a smoke alarm โ it tells you when there is a fire.
Real-life: A company sets an alert when VM CPU is over 80%.
School: The school gets an alert when the website goes down.
Home: Not used at home.
Nigerian: A fintech gets alerts for high transaction volumes.
Alert: CPU > 80% โ Action Group โ Send email to IT team
โ Summary: Alerts notify you when something needs attention.
Definition: Azure Automation is a service that lets you automate tasks using runbooks (scripts) and DSC (Desired State Configuration).
Why important: You can save time and reduce errors.
Simple: Like a robot that does your chores.
Real-life: A company uses Automation to stop VMs at night.
School: The school uses Automation to back up data daily.
Home: Not used at home.
Nigerian: A startup uses Automation to deploy updates.
Automation
โโโ Runbooks (scripts)
โโโ Desired State Configuration (DSC)
โโโ Schedules (when to run)
โ Summary: Azure Automation automates repetitive tasks.
Definition: Azure Logic Apps is a service that lets you create workflows using a visual designer โ no coding required!
Why important: You can connect different systems and automate processes.
Simple: Like building a LEGO castle โ you just connect the pieces.
Real-life: A company uses Logic Apps to send emails when a file is uploaded.
School: The school uses Logic Apps to send notifications.
Home: Not used at home.
Nigerian: A startup uses Logic Apps to integrate with payment systems.
Trigger (e.g., file upload) โ Action (e.g., send email)
โ Summary: Logic Apps let you create workflows visually.
Definition: Service Health shows the status of Azure services across regions and alerts you about outages or planned maintenance.
Why important: If Azure has a problem, you need to know.
Simple: Like a weather report for the cloud.
Real-life: A company checks Service Health before blaming their app for slowness.
School: The school checks if Azure is down before calling IT.
Home: You might check if Xbox Live is down.
Nigerian: A startup checks Service Health to know if Azure is having issues.
Service Health = Status of Azure services
โโโ Service issues
โโโ Planned maintenance
โโโ Health advisories
โ Summary: Service Health tells you the status of Azure services.
Definition: Azure Resource Graph is a service that lets you query your resources across subscriptions with a powerful language.
Why important: You can find specific resources quickly in large environments.
Simple: Like a super-fast search engine for your Azure resources.
Real-life: A company uses Resource Graph to find all VMs with a specific tag.
School: The school uses it to find all resources in a specific region.
Home: Not used at home.
Nigerian: A bank uses Resource Graph to audit resources.
Resource Graph Query:
resources | where type == 'Microsoft.Compute/virtualMachines' | project name, location
โ Summary: Azure Resource Graph helps you query and find resources quickly.
Definition: Best practices are the recommended ways to manage, monitor, and automate Azure effectively.
Why important: They help you stay organised, save time, and avoid issues.
Simple: Like a checklist for a clean and efficient Azure environment.
Real-life: A company follows all these practices to keep their Azure environment healthy.
School: The school follows these practices.
Home: Not used at home.
Nigerian: A startup follows these practices to scale.
Best Practices:
1. Use resource groups and tags.
2. Use ARM or Bicep for IaC.
3. Set up alerts for critical resources.
4. Use Azure Automation for repetitive tasks.
5. Monitor performance regularly.
โ Summary: Following best practices helps you manage Azure effectively.
Azure Portal โ Graphical (click)
Azure CLI โ Command line (type)
Azure PowerShell โ PowerShell (type)
Cloud Shell โ Browser terminal
Code (ARM/Bicep) โ Deploy โ Azure Resources
Resources โ Metrics/Logs โ Azure Monitor โ Alerts โ Action Group
| Tool | User interface | Best for |
|---|---|---|
| Portal | Graphical | Visual, beginners |
| Azure CLI | Command line | Scripts, automation |
| PowerShell | Command line | Windows automation |
| Cloud Shell | Browser terminal | Quick tasks, any device |
| Tool | Language | Complexity |
|---|---|---|
| ARM Templates | JSON | Higher |
| Bicep | Bicep | Lower |
In this expert module, we learned about management, monitoring, and automation in Azure. We covered:
You now have the skills to manage, monitor, and automate your Azure environment like a true expert. This is the final module of the expert course โ you are ready to take your Azure skills to the highest level!
Match the tool/service with its purpose.
| Tool/Service | Purpose |
|---|---|
| Azure Portal | Graphical management |
| Azure CLI | Command-line management |
| Cloud Shell | Browser terminal |
| ARM Template | Infrastructure as Code |
| Bicep | Simpler IaC |
| Azure Monitor | Collect performance data |
| Log Analytics | Query logs |
| Alert | Notify of issues |
| Azure Automation | Automate tasks |
| Logic Apps | Visual workflows |
| Service Health | Azure service status |
| Resource Graph | Query resources |
Scenario 1: A Nigerian company wants to deploy the same environment in three regions. Which tool should they use?
Scenario 2: A school wants to get an email when the website is down. Which service should they use?
Scenario 3: A fintech wants to automatically stop VMs at 6 PM every day. Which service should they use?
In groups, design a management and monitoring plan for a Nigerian company. Include:
Write a simple ARM template or Bicep script to deploy a VM. Share it with the class.
Automation Plan: Create a plan for automating the deployment and management of a web application in Azure. Include Infrastructure as Code, monitoring, alerts, and automation.
If you have an Azure account, try the following:
Research how to create an Azure Automation runbook that stops a VM at a specific time. Write a simple guide.
Congratulations! ๐ You have completed all four modules of the Azure Fundamentals โ Expert course.
You are now ready to take the next step in your Azure journey. Here are some suggestions:
Good luck, future Azure expert! โ๏ธ๐
๐ You have completed the expert course! Keep learning and exploring the cloud. ๐