This chapter demystifies Total Cost of Ownership (TCO) in the cloud, a key concept for understanding why organizations migrate to Azure. For AZ-900, objective 1.4 tests your ability to compare cloud vs. on-premises costs and explain how Azure's TCO Calculator helps estimate savings. This objective area (Cloud Concepts) carries roughly 25-30% of the exam weight, so mastering TCO is essential. You'll learn the mechanics of TCO, how to use the calculator, and common exam traps.
Jump to a section
Imagine you run a delivery business and need a fleet of trucks. Buying trucks outright (on-premises) means a huge upfront investment, plus ongoing costs for maintenance, fuel, insurance, and a garage. You also must predict how many trucks you'll need years ahead—if demand drops, you're stuck with idle trucks; if it spikes, you lose business. Now consider leasing trucks from a national fleet company. You pay a predictable monthly fee per truck, and the company handles maintenance, replacement, and scaling. Need 10 extra trucks for the holiday season? You can return them after. The lease includes insurance, fuel cards, and roadside assistance. Your only job is to drive and deliver. This mirrors Azure's TCO: you shift from capital expenses (CAPEX) for hardware, software, and facilities to operational expenses (OPEX) for consumption. The fleet company's bulk purchasing power and expertise reduce your per-unit costs—just as Azure's economies of scale lower your infrastructure costs. But beware: if you keep a truck idling 24/7, leasing may cost more than buying. Similarly, always-on cloud resources can exceed on-premises costs without proper management. The TCO calculator is your cost-comparison spreadsheet.
What Is TCO and Why Does It Matter?
Total Cost of Ownership (TCO) is a financial estimate that captures all direct and indirect costs of owning and operating an IT infrastructure over its lifecycle. In the context of cloud computing, TCO compares the cost of running workloads on-premises versus in the cloud. The business problem it solves is simple: executives need a clear, data-driven answer to the question, "Will moving to the cloud save us money?" Without TCO analysis, organizations risk overspending on cloud resources or missing out on genuine savings.
How TCO Works: Step by Step
The TCO calculation involves three phases: (1) inventory your current on-premises infrastructure, (2) estimate costs for an equivalent Azure deployment, and (3) compare the totals. Let's walk through the mechanism.
Phase 1: Inventory On-Premises Costs You list every hardware asset: servers, storage, networking gear, and software licenses. For each, you capture: - Capital expenses (CAPEX): Purchase price of equipment, often amortized over 3-5 years. - Operational expenses (OPEX): Power, cooling, facility rent, IT staff salaries, maintenance contracts, and downtime costs. - Soft costs: Opportunity cost of capital tied up in hardware, insurance, and disposal fees.
Phase 2: Define Azure Equivalent You map each on-premises asset to an Azure service. For example:
A physical server with 16 cores, 64 GB RAM → Azure Virtual Machines (VM) of equivalent size (e.g., D4s_v3).
A SAN with 10 TB storage → Azure Managed Disks or Azure Files.
SQL Server licenses → Azure SQL Database with included license.
Phase 3: Calculate Azure Costs Using Azure's pay-as-you-go pricing (or reserved instances for discounts), you estimate:
Compute costs per VM (per hour).
Storage costs per GB per month.
Network egress costs (data leaving Azure).
Additional services like backups, monitoring, and support.
Phase 4: Compare and Adjust The TCO Calculator subtracts Azure costs from on-premises costs, showing net savings (or loss). It also factors in productivity gains (e.g., reduced IT admin time) and risk reduction (e.g., disaster recovery included).
Key Components of TCO
1. Hardware Costs – Servers, storage arrays, switches, racks, cabling. On-premises requires capital outlay; Azure eliminates this.
2. Software Licensing – On-premises often requires per-core or per-user licenses. Azure includes many licenses in the hourly rate (e.g., Windows Server, SQL Server).
3. Facilities Costs – Data center power, cooling, security, and real estate. Azure spreads these across millions of customers.
4. IT Labor – Staff to manage hardware, patching, backups, and troubleshooting. Azure shifts responsibility to Microsoft (under shared responsibility model).
5. Downtime and Disaster Recovery – On-premises requires redundant hardware and DR sites. Azure offers built-in redundancy and SLA-backed uptime.
6. Network Costs – On-premises includes WAN links and internet connectivity. Azure charges for data egress but not ingress.
TCO Tiers and Pricing Models
Azure pricing models affect TCO: - Pay-as-you-go: Highest per-unit cost, no commitment. Best for variable workloads. - Reserved Instances (1 or 3 years): Up to 72% discount on compute. Best for steady-state workloads. - Spot Instances: Up to 90% discount but can be preempted. Best for batch jobs or dev/test. - Hybrid Benefit: Use existing Windows Server/SQL Server licenses to reduce Azure costs.
On-Premises vs. Cloud TCO: A Concrete Example
Consider a company running 50 physical servers with 100 TB storage. On-premises TCO over 5 years:
Hardware purchase (CAPEX): $500,000
Power & cooling ($200/server/month): $600,000
IT staff (2 admins at $80k/year): $800,000
Software licensing (Windows Server, SQL Server): $300,000
Maintenance contracts: $100,000
Total: $2,300,000
Equivalent Azure deployment (50 D4s_v3 VMs, 100 TB managed storage, hybrid benefit):
Compute (PAYG): ~$1,200/month per VM = $720,000 over 5 years
Storage: $0.10/GB/month = $120,000 over 5 years
Data egress (10 TB/month): $87,000
No facilities or IT staff (reduced by 1 admin): -$400,000
Total: $527,000
Net savings: $1,773,000 (77% reduction). Note: this is a simplified example; real TCO varies.
Azure Portal and CLI Touchpoints
Azure TCO Calculator: Web-based tool at [tco.microsoft.com](https://tco.microsoft.com). You input on-premises specs, select Azure services, and get a side-by-side cost report. Export to Excel or PDF.
Azure Pricing Calculator: For estimating Azure costs alone (not comparison).
Azure Cost Management + Billing: For tracking actual spend and setting budgets.
CLI/PS: az costmanagement query to retrieve cost data. No direct TCO calculator CLI; use the web portal.
Business Scenarios
Scenario 1: Retail chain with seasonal spikes. A retailer with 200 on-premises servers runs at 30% utilization most of the year but needs 500% capacity during holidays. TCO analysis shows cloud saves money by scaling down in off-peak.
Scenario 2: Startup with no capital. A startup cannot afford $100k in servers. TCO calculator shows cloud eliminates upfront CAPEX, enabling launch with $0 hardware cost.
Scenario 3: Healthcare with compliance. A hospital must retain patient data for 7 years. On-premises storage TCO is high; Azure Archive Storage at $0.002/GB/month reduces cost by 90%.
Inventory On-Premises Assets
List all servers, storage devices, network equipment, and software licenses. For each server, capture CPU cores, RAM, storage type (HDD vs SSD), and OS. Use the TCO Calculator's predefined workloads (e.g., 'Database server', 'Virtualization host') or custom input. Be thorough: missing a single SAN can skew results. Azure's tool assumes 3-year amortization for hardware; adjust if your organization uses 5 years.
Configure Azure Equivalents
Map each on-premises component to an Azure service. For servers, select VM series (e.g., D-series for general purpose, E-series for memory-optimized). Choose storage type: Managed Disks (Premium SSD, Standard SSD, or HDD). For databases, pick Azure SQL Database or SQL Managed Instance. Include networking (VPN Gateway, ExpressRoute) and backup (Azure Backup). The calculator auto-suggests equivalents; review for accuracy.
Adjust Assumptions and Pricing
Set assumptions: currency, time horizon (1-5 years), and cost factors (power cost per kWh, labor rates). Enable 'Azure Hybrid Benefit' if you have existing Windows Server/SQL licenses. Choose reserved instances for 1 or 3 years to see discount. The calculator updates costs dynamically. Note: defaults may overestimate savings if you don't right-size VMs.
Review Cost Breakdown
The calculator displays a bar chart comparing on-premises vs. Azure costs by category (compute, storage, network, labor, facilities). Below, a table shows line-item details. Check the 'Net Savings' percentage. Hover over items for tooltips. Export the report to PDF or Excel for presentation to stakeholders. The report includes a summary statement suitable for executives.
Optimize and Iterate
TCO is not a one-time calculation. Adjust VM sizes, storage tiers, and reservation levels to minimize cost. For example, if on-premises servers are overprovisioned, downsize Azure VMs. Consider spot instances for non-critical workloads. Use Azure Cost Management to monitor actual spend post-migration and compare to TCO estimates. Re-run the calculator annually as Azure pricing changes.
Scenario 1: Mid-Size Law Firm Migrating to Cloud A law firm with 100 physical servers and 50 TB of document storage wants to reduce IT costs. They use the TCO Calculator and discover that moving to Azure could save 40% over 5 years. The firm configures Azure VMs (D4s_v3) for their case management software and Azure Files for document storage. They enable Azure Hybrid Benefit to apply existing Windows Server licenses. The team runs the calculator with a 3-year view and $0.12/kWh power cost. The report shows $500k in on-premises costs vs. $300k in Azure costs. However, they overlook data egress costs for frequent document downloads (10 TB/month), adding $87k. After adjusting, savings drop to 20%. The firm learns to include egress and to use Azure Content Delivery Network (CDN) to reduce costs.
Scenario 2: E-Commerce Company with Variable Load An e-commerce company runs 50 servers at 20% utilization year-round, except during Black Friday when they need 200 servers. On-premises TCO includes idle hardware. The calculator shows that using Azure with auto-scaling and spot instances for batch processing reduces costs by 60%. They set up Azure VM Scale Sets with a minimum of 10 and maximum of 200 VMs. During off-peak, they use reserved instances for the baseline 10 VMs (72% discount) and spot instances for the rest. The TCO report highlights $1.2M on-premises vs. $480k Azure over 3 years. Common mistake: not factoring in the cost of re-architecting the application to be cloud-native, which can add $100k in developer time. The company budgets for this and still realizes net savings.
What Goes Wrong When TCO Is Set Up Incorrectly? - Overlooking hidden costs: data egress, support plans, and backup storage. A firm that ignores egress sees a surprise bill. - Wrong time horizon: using 1-year view for long-term assets inflates cloud costs. Always match amortization period. - Not right-sizing: mapping a 64-core server to a 64-core VM when actual utilization is 20%. This doubles cloud cost. Use Azure Migrate to capture real utilization. - Ignoring labor savings: on-premises requires 2-3 IT staff; cloud reduces to 1. Failing to account for this understates cloud savings.
Objective 1.4: Describe the benefits of cloud computing – TCO The AZ-900 exam explicitly tests your ability to compare Total Cost of Ownership (TCO) between on-premises and cloud. You must know what the TCO Calculator is, what it compares, and the typical cost categories. Expect 3-5 questions on this topic.
Most Common Wrong Answers and Why Candidates Choose Them 1. "TCO only includes hardware costs." – Wrong because TCO includes software, labor, facilities, and downtime. Candidates pick this because they think 'ownership' refers only to physical assets. Reality: TCO is holistic. 2. "The TCO Calculator shows actual Azure billing costs." – Wrong because the calculator is an estimate, not a bill. Candidates confuse it with Azure Cost Management. Reality: the calculator is a planning tool; use Cost Management for actual spend. 3. "Cloud always has lower TCO." – Wrong because some workloads (e.g., always-on, high I/O) may cost more in the cloud. Candidates assume cloud is cheaper by default. Reality: TCO depends on workload characteristics and pricing models. 4. "TCO is the same as the Pricing Calculator." – Wrong because the Pricing Calculator estimates Azure costs only; TCO Calculator compares on-prem vs. cloud. Candidates mix them up. Reality: two different tools.
Specific Terms and Values That Appear on the Exam - CAPEX vs. OPEX: Know that on-premises is CAPEX-heavy; cloud is OPEX-heavy. - Amortization: Typically 3-5 years for hardware. - Categories: Compute, storage, network, labor, facilities, software licensing. - Azure Hybrid Benefit: Reduces licensing costs if you have existing Windows Server/SQL licenses. - Reserved Instances: 1 or 3 years, up to 72% discount. - Data egress: Outbound data transfer is charged; inbound is free.
Edge Cases and Tricky Distinctions - The exam may ask: "Which tool would you use to compare on-premises and cloud costs?" Answer: TCO Calculator, not Pricing Calculator. - They might phrase: "A company wants to reduce capital expenditure. Which cloud benefit addresses this?" Answer: Shift from CAPEX to OPEX (not just 'lower costs'). - They could ask: "What is included in TCO?" Watch for options like 'electricity for data center' (included) vs. 'employee salaries for non-IT staff' (not typically included).
Memory Trick / Decision Tree For TCO questions, use the acronym C-SLFD: - Compute - Storage - Labor - Facilities - Disaster recovery / downtime If the answer includes all these, it's likely correct. For tool selection: if the question says 'compare', think TCO Calculator; if 'estimate Azure costs only', think Pricing Calculator.
TCO (Total Cost of Ownership) compares all costs of on-premises vs. cloud infrastructure over a chosen timeframe.
Azure TCO Calculator is a free tool that helps estimate potential savings by migrating to Azure.
On-premises TCO includes CAPEX (hardware, software licenses) and OPEX (power, cooling, labor, maintenance).
Cloud TCO shifts costs to OPEX (pay-as-you-go) and eliminates upfront hardware purchases.
Azure Hybrid Benefit reduces licensing costs for existing Windows Server and SQL Server customers.
Reserved Instances (1 or 3 years) can save up to 72% on compute costs compared to pay-as-you-go.
Data egress (outbound) charges are a common hidden cost in cloud TCO; ingress is free.
TCO analysis is a key part of building a business case for cloud migration and is frequently tested on AZ-900.
These come up on the exam all the time. Here's how to tell them apart.
Azure TCO Calculator
Compares on-premises vs. Azure costs
Includes labor, facilities, power, and soft costs
Outputs a side-by-side report with savings percentage
Best for migration business case
Free online tool at tco.microsoft.com
Azure Pricing Calculator
Estimates only Azure service costs
Does not include on-premises costs
Outputs a monthly or hourly cost estimate
Best for initial architecture cost estimation
Free online tool at calculator.azure.com
Mistake
TCO only accounts for hardware and software costs.
Correct
TCO includes all direct and indirect costs: hardware, software, labor, facilities, power, cooling, network, downtime, and disposal. Azure's TCO Calculator specifically includes electricity, IT admin time, and even productivity gains.
Mistake
The TCO Calculator gives the exact cost you'll pay Azure.
Correct
The calculator provides an estimate based on assumptions. Actual costs depend on usage, reserved instances, and support plans. Use Azure Cost Management for actual billing data.
Mistake
Moving to the cloud always reduces TCO.
Correct
Cloud can increase costs for steady-state, high-utilization workloads if not optimized. For example, a 24/7 database server with reserved instances may still cost more than a depreciated on-premises server. TCO analysis shows when cloud is cheaper.
Mistake
TCO is only relevant for large enterprises.
Correct
TCO matters for any organization considering cloud migration. Small businesses benefit from eliminating upfront CAPEX. The TCO Calculator is free and works for any scale.
Mistake
Data ingress and egress costs are symmetric.
Correct
Azure charges for data egress (outbound) but not for ingress (inbound). This asymmetry can significantly affect TCO for data-heavy applications. Always include egress in estimates.
The TCO Calculator compares on-premises vs. Azure costs, including labor, facilities, and power. The Pricing Calculator estimates only Azure service costs. For AZ-900, remember: TCO Calculator = comparison; Pricing Calculator = Azure-only estimate. Exam tip: If the question says 'compare on-premises and cloud costs', choose TCO Calculator.
Yes, the TCO Calculator includes IT labor costs. You input the number of IT staff and their average salary. The calculator assumes cloud migration reduces staff by a percentage (default 50%). This is a key differentiator from the Pricing Calculator. Exam tip: Know that labor is a TCO category.
On-premises licenses (e.g., Windows Server, SQL Server) are included as a capital or operating cost. In Azure, you can use Azure Hybrid Benefit to reuse existing licenses, reducing cloud costs. The TCO Calculator has a checkbox for Hybrid Benefit. Exam tip: This benefit is a common correct answer for reducing licensing costs.
Most TCO analyses use a 3-year horizon, matching hardware amortization. Azure's TCO Calculator defaults to 3 years but allows 1-5 years. Exam tip: If the question doesn't specify, assume 3 years. Longer horizons favor cloud due to increasing on-premises maintenance costs.
Yes. If your on-premises infrastructure is fully depreciated and you have low power/labor costs, cloud may be more expensive. The TCO Calculator shows net savings or loss. Exam tip: The exam tests that cloud is not always cheaper; TCO analysis reveals when it is or isn't.
Common overlooked costs: data egress, backup storage, support plans, and training. Also, the cost of downtime (lost revenue) is often excluded but can be included in advanced TCO. Exam tip: Watch for questions that list egress as a hidden cost.
You input your electricity cost per kWh. The calculator estimates power consumption based on server specs and applies a Power Usage Effectiveness (PUE) factor (default 1.8 for on-premises, 1.1 for Azure). This models the efficiency of cloud data centers. Exam tip: Lower PUE in Azure reduces facilities costs.
You've just covered Total Cost of Ownership (TCO) in Cloud — now see how well it sticks with free AZ-900 practice questions. Full explanations included, no account needed.
Done with this chapter?