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. 🌟