Welcome to the control room! 🎮 In this module, we will learn how to manage Azure, monitor our resources, and automate tasks. Think of it like being the pilot of a big airplane – you need to know all the controls, watch the instruments, and sometimes let the autopilot take over.
Imagine you are the captain of a spaceship 🚀. You need to:
Azure is like that spaceship! You use tools to manage it, monitors to watch it, and automation to make your life easier.
Definition: The Azure Portal is a website where you can manage all your Azure resources visually.
Why important: It's 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's 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's 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's 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's 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's 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's 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.
✅ Summary: Service Health tells you the status of Azure services.
Definition: Resource groups are containers for related resources. Management groups are containers for multiple subscriptions.
Why important: They help you organise and manage access and policies.
Simple: Like folders and filing cabinets.
Real-life: A company has resource groups for each project and management groups for each department.
School: The school has a resource group for each subject.
Home: Not used at home.
Nigerian: A bank has management groups for branches.
Management Group
├── Subscription 1
│ ├── Resource Group A
│ └── Resource Group B
└── Subscription 2
├── Resource Group C
└── Resource Group D
✅ Summary: Resource groups and management groups help you organise Azure.
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 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. This is the final module of the intermediate course – you are ready to take your Azure skills to the next 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 |
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 – Intermediate 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 intermediate course! Keep learning and exploring the cloud. 🌟