GCDLChapter 81 of 101Objective 1.2

Cloud Economics: Capex to Opex

This chapter covers the fundamental shift from capital expenditure (Capex) to operational expenditure (Opex) enabled by cloud computing, a core concept for the Google Cloud Digital Leader (GCDL) exam. Understanding this economic transformation is essential because approximately 15-20% of exam questions touch on cloud economics, total cost of ownership (TCO), and business value propositions. We will explore the mechanisms behind cost models, pricing structures, and financial planning tools that differentiate cloud from traditional IT.

25 min read
Intermediate
Updated May 31, 2026

From Owning a Car to Renting a Fleet

Imagine you need transportation for your business. In the old model (Capex), you buy a fleet of vans outright. You pay a huge upfront cost, you own the vans, and you are responsible for maintenance, insurance, parking, and depreciation. If demand drops, you have idle vans costing you money. If demand spikes, you scramble to buy more. In the cloud model (Opex), you use a ride-hailing service like Uber for business. You pay per ride, per mile, or per hour — no upfront cost. The fleet provider maintains the vehicles, handles insurance, and scales instantly — you just pay for what you use. But there's a critical twist: if you use the ride-hailing service 24/7 for a year, you might have been better off buying a van. Cloud economics is about matching the payment model to your usage patterns. The ride-hailing service is analogous to Google Cloud's pay-as-you-go pricing, while reserved instances are like buying a discounted bulk ride pass. The key is that you never own the infrastructure — you consume it as a service, shifting financial risk from upfront capital to variable operating expense.

How It Actually Works

What is Capex to Opex and Why It Exists

Capital expenditure (Capex) is the traditional model where organizations purchase physical IT assets — servers, storage arrays, networking gear, data center facilities — with large upfront payments. These assets are capitalized on the balance sheet and depreciated over their useful life (typically 3-5 years for servers). Operational expenditure (Opex) is a pay-as-you-go model where organizations pay for IT resources as a variable operating cost, much like a utility bill. Cloud computing enables this shift by allowing customers to rent infrastructure on demand.

The primary driver for this shift is financial flexibility. With Capex, organizations must forecast demand years in advance, leading to over-provisioning (waste) or under-provisioning (lost revenue). Cloud Opex eliminates this by aligning costs with actual usage. For the GCDL exam, you must understand that this is not just about accounting — it impacts cash flow, financial risk, and business agility.

How Cloud Pricing Models Work

Google Cloud offers several pricing models that enable Opex:

Pay-as-you-go (On-demand): You pay for compute, storage, and networking per second (minimum 1 minute for compute) with no upfront commitment. This is the purest Opex model.

Committed Use Discounts (CUDs): You commit to spending a certain amount per hour (e.g., $100/hour) for 1 or 3 years and receive up to 57% discount on compute. This still counts as Opex but with a fixed component.

Sustained Use Discounts (SUDs): Automatic discounts for running instances more than 25% of a month. No commitment required.

Preemptible VMs: Short-lived instances (max 24 hours) with up to 80% discount, but can be terminated at any time. Ideal for batch jobs.

Key Components and Defaults

Minimum billing increment: Compute Engine charges per second after a 1-minute minimum. For example, a VM running for 90 seconds is billed for 90 seconds, not 2 minutes.

Custom machine types: You can define vCPUs and memory independently, optimizing costs by matching workload needs exactly.

Network egress: Outbound traffic is charged; inbound is free. Egress costs vary by destination and volume.

Storage classes: Standard, Nearline, Coldline, and Archive — with decreasing access frequency and cost. Nearline is for data accessed less than once a month, Coldline for once a quarter, Archive for once a year.

Total Cost of Ownership (TCO) Comparison

Google Cloud provides a TCO calculator to compare on-premises vs. cloud costs. Key factors include:

Hardware costs: Server, storage, networking, and maintenance contracts.

Facilities costs: Real estate, power, cooling, security.

Labor costs: IT staff for administration, patching, upgrades.

Opportunity costs: Time to market, scalability, global reach.

Financial Impact on Business

Cash flow: Opex improves cash flow by eliminating large upfront payments. Monthly bills are predictable based on usage.

Budgeting: Variable costs can be harder to budget, but tools like budgets and alerts in Google Cloud help.

Tax treatment: Opex is fully deductible in the year incurred, whereas Capex is depreciated over years. This can affect tax liability.

Interaction with Related Technologies

Cloud FinOps: The practice of managing cloud costs through collaboration between finance, engineering, and business teams. Google Cloud's Cost Management tools (e.g., Billing Reports, Budgets, Quotas) are essential.

Resource Hierarchies: Organization, folders, projects, and labels enable cost allocation and chargeback.

BigQuery Billing Export: Exports detailed usage data to BigQuery for custom analysis.

Common Exam Traps

Trap 1: Thinking that Opex always costs less than Capex. Reality: For stable, predictable workloads, reserved instances (CUDs) can be cheaper than on-demand, but still Opex. The financial benefit is flexibility, not necessarily lower total cost.

Trap 2: Believing that all cloud costs are variable. Reality: CUDs and minimum commitments create fixed costs.

Trap 3: Ignoring egress costs. Many organizations underestimate network transfer costs, especially for data-heavy applications.

Trap 4: Assuming that moving to cloud eliminates all IT labor costs. Reality: Some roles shift from hardware management to cloud architecture and governance.

Specific Values and Terms

CUD discount range: Up to 57% for compute, up to 70% for memory-optimized, up to 67% for GPUs.

SUD thresholds: 25% of month triggers first discount tier, 50% for second, 75% for third.

Minimum commitment: CUDs require a minimum $0.50/hour commitment.

Free tier: Always free tier includes 1 f1-micro instance per month, 5 GB of Cloud Storage, and other limits.

Verification Commands

gcloud compute instances list: List instances with machine type and zone.

gcloud billing accounts list: View billing accounts.

gcloud alpha billing accounts get-iam-policy: Check permissions.

gcloud projects describe: Get project details.

Configuration Example

# Create a VM with custom machine type (4 vCPU, 8 GB RAM) in us-central1
gcloud compute instances create my-vm \
  --zone=us-central1-a \
  --custom-cpu=4 \
  --custom-memory=8GB \
  --image-family=debian-10 \
  --image-project=debian-cloud
# Set a budget alert for a project
gcloud billing budgets create \
  --billing-account=123456-789ABC \
  --display-name="Monthly Budget" \
  --budget-amount=5000USD \
  --threshold-rules=percent=50,percent=90

Walk-Through

1

Assess Current On-Premises Costs

Begin by inventorying all existing IT assets: servers, storage, networking, and facilities. Calculate total cost of ownership including hardware depreciation (typically 3-5 years), power and cooling ($0.10-$0.20 per kWh), real estate ($10-$20 per square foot per month), and labor (salaries plus benefits). Use the Google Cloud TCO calculator to input these numbers. This establishes the baseline Capex model.

2

Map Workloads to Cloud Services

Identify which workloads are suitable for cloud migration. Not all workloads are equal: stateless web servers are easy, legacy databases may need re-platforming. For each workload, estimate monthly compute hours, storage GB, and egress GB. Use Google Cloud's Pricing Calculator to get a pay-as-you-go estimate. This gives the raw Opex cost without optimization.

3

Apply Discount Models

For workloads with steady-state usage (e.g., production databases running 24/7), apply Committed Use Discounts. For workloads with variable usage (e.g., development environments used 8 hours/day), consider Sustained Use Discounts. For batch jobs that can tolerate interruptions, use Preemptible VMs. Recalculate the monthly cost with these discounts. This is the optimized Opex.

4

Compare Total Cost and Financial Impact

Compare the on-premises TCO (Capex) with the optimized cloud cost (Opex). Include non-financial factors: time to provision (hours vs. minutes), scalability (global vs. local), and risk (over-provisioning vs. under-provisioning). Also consider tax implications: Opex is fully deductible in year of incurrence; Capex is depreciated. This step yields the business case for migration.

5

Implement Governance and Cost Controls

After migration, set up budget alerts (e.g., at 50%, 90%, and 100% of budget) using Cloud Billing budgets. Enable BigQuery export for detailed analysis. Use labels to allocate costs to departments or projects. Implement IAM policies to restrict who can create expensive resources (e.g., high-memory VMs). This ensures that the Opex model does not spiral out of control.

What This Looks Like on the Job

Scenario 1: E-commerce Startup Scaling During Holiday Season

A growing e-commerce company runs its website on-premises with 10 servers. During Black Friday, traffic spikes 10x, but they cannot provision hardware fast enough. They migrate to Google Cloud using Compute Engine and Autoscaler. During normal periods, they run 5 n1-standard-2 instances costing ~$200/month. During peak, they scale to 50 instances for 48 hours, costing an additional ~$1,000. The total monthly bill is $1,200, much lower than buying 50 servers ($50,000 upfront) that would sit idle 11 months a year. Misconfiguration risk: if autoscaling thresholds are set too low, they may over-provision and waste money. They set cooldown periods (default 60 seconds) to avoid thrashing.

Scenario 2: Financial Services Firm with Regulatory Compliance

A bank must keep transaction logs for 7 years. On-premises, they buy 100 TB of SAN storage every 3 years ($100,000). They move to Cloud Storage using Nearline for first 30 days (frequent access), then transition to Coldline for the next 6 months, then Archive for remaining years. Storage costs drop from $0.10/GB/month (on-premises) to $0.01/GB/month (Archive). However, they must account for retrieval costs: Coldline retrieval is $0.01/GB, Archive is $0.05/GB. They configure lifecycle policies to automatically move objects between storage classes. Common mistake: forgetting to delete old backups, leading to unexpected Archive costs.

Scenario 3: Video Streaming Platform with Global Audience

A video streaming service uses Google Cloud CDN and Compute Engine. They have predictable baseline traffic (10 Gbps) and spikes during new releases (100 Gbps). Using CUDs for baseline (1-year commit, 37% discount) and on-demand for spikes, they reduce compute costs by 30%. However, they overlook egress costs: at $0.08/GB, a 10 TB daily egress adds $800/day. They optimize by using CDN caching (reduces origin egress) and negotiating flat-rate egress pricing (available for large volumes). Misconfiguration: without CDN, every request hits the origin, inflating egress costs.

How GCDL Actually Tests This

The GCDL exam tests your understanding of the business and financial implications of cloud economics under Objective 1.2 (Digital Transformation). You will NOT be asked to calculate exact costs, but you must know the concepts and which model applies in different scenarios.

Common Wrong Answers and Why Candidates Choose Them

1.

"Opex always costs less than Capex" — Candidates assume variable costs are always lower because they avoid upfront hardware. Reality: For 24/7 workloads, reserved instances (still Opex) may be cheaper than on-demand, but on-premises might be even cheaper if hardware is fully utilized. The exam expects you to know that the primary benefit is agility, not cost reduction.

2.

"Cloud eliminates all IT labor costs" — Candidates think managed services remove all admin work. Reality: Cloud shifts labor from hardware maintenance to cloud architecture, governance, and cost optimization. You still need staff to manage accounts, permissions, and budgets.

3.

"All cloud costs are variable" — Candidates forget about commitments. Reality: CUDs and minimum commitments create fixed monthly charges, even if you don't use the resources.

4.

"Moving to cloud always improves cash flow" — Candidates ignore that some cloud models (CUDs) still require upfront payment (1 or 3 years). Reality: 3-year CUDs with upfront payment can be a large initial outlay, though smaller than buying hardware.

Specific Numbers and Terms That Appear on the Exam

CUD discount range: Up to 57% for compute, up to 70% for memory-optimized.

SUD tiers: 25%, 50%, 75% of a month.

Preemptible VM max lifetime: 24 hours.

Minimum billing: 1 minute for compute, then per second.

Storage classes: Standard, Nearline (30 days min), Coldline (90 days min), Archive (365 days min).

Egress costs: Vary by destination; to internet is $0.12/GB for first 1 TB in some regions.

Edge Cases and Exceptions

Bring Your Own License (BYOL): For software like Windows Server, you can use your existing licenses on Google Cloud, reducing costs. This is a hybrid Capex/Opex model.

Sole-tenant nodes: Dedicated physical servers for licensing or security. They cost more than regular VMs but may be required for compliance.

Free tier: Always free tier is limited; once you exceed thresholds, you pay. Candidates often think free tier covers all usage.

How to Eliminate Wrong Answers

If a question asks about financial benefits of cloud, look for keywords: "agility," "scalability," "pay-as-you-go," "no upfront." If an answer says "always cheaper" or "eliminates all IT costs," it is likely wrong. The correct answer usually mentions flexibility or variable cost alignment.

Key Takeaways

Capex: large upfront purchase of assets; Opex: pay per use.

Cloud enables shift from Capex to Opex, improving cash flow and agility.

Committed Use Discounts (CUDs) offer up to 57% discount for 1- or 3-year commitments.

Sustained Use Discounts (SUDs) auto-apply for usage >25% of month.

Preemptible VMs cost up to 80% less but last max 24 hours.

Egress costs can be a significant hidden cost; always include in TCO.

Cloud does not eliminate all IT labor; roles evolve.

Use TCO calculator and pricing calculator for migration planning.

Easy to Mix Up

These come up on the exam all the time. Here's how to tell them apart.

Capex (On-Premises)

Large upfront capital investment

Fixed capacity leading to over-provisioning or under-provisioning

Depreciation over 3-5 years

Hardware maintenance and facility costs included

Predictable annual costs but high initial outlay

Opex (Cloud)

No upfront cost; pay-as-you-go

Elastic capacity matching demand

Fully deductible in year incurred

Provider handles maintenance and facilities

Variable monthly costs; can be higher for steady workloads

Watch Out for These

Mistake

Cloud is always cheaper than on-premises.

Correct

For steady-state workloads running 24/7, on-premises can be cheaper if hardware is fully utilized. Cloud's advantage is flexibility, not guaranteed cost savings.

Mistake

Moving to cloud means no more IT staff needed.

Correct

IT roles shift from hardware management to cloud architecture, security, and cost governance. You still need skilled staff, just different skills.

Mistake

All cloud costs are variable (Opex).

Correct

Committed Use Discounts and minimum commitments create fixed monthly charges. Some costs are predictable and fixed.

Mistake

Pay-as-you-go is always the best pricing model.

Correct

For predictable workloads, CUDs or reserved instances can reduce costs by 30-57%. On-demand is best for unpredictable or short-lived workloads.

Mistake

Egress costs are negligible.

Correct

Egress can be a significant portion of the bill, especially for data-heavy applications. It is often overlooked during migration planning.

Do You Actually Know This?

Reveal each answer, then mark whether you got it right. Score 60%+ to unlock the next chapter.

Frequently Asked Questions

What is the difference between Capex and Opex in cloud?

Capex (capital expenditure) is upfront spending on physical assets like servers. Opex (operational expenditure) is ongoing spending on services like cloud resources. Cloud enables Opex by charging per use instead of requiring hardware purchases.

How do Committed Use Discounts work in Google Cloud?

CUDs require a commitment to spend a certain amount per hour for 1 or 3 years. In return, you receive a discount (up to 57% for compute). Even if you don't use the resources, you pay the committed amount. They are ideal for predictable workloads.

What is the minimum billing increment for Compute Engine?

Compute Engine bills per second after a 1-minute minimum. For example, a VM running for 90 seconds is billed for 90 seconds, not 2 minutes. This applies to pay-as-you-go and preemptible VMs.

Can I use my existing software licenses on Google Cloud?

Yes, through Bring Your Own License (BYOL) for eligible software like Windows Server and SQL Server. You provide your own licenses, and Google charges only for infrastructure. This can reduce Opex costs.

How can I control cloud costs?

Use Google Cloud's Cost Management tools: set budget alerts, enable BigQuery billing export, use labels for cost allocation, implement IAM policies to restrict resource creation, and leverage discounts (CUDs, SUDs, preemptible VMs).

What is the free tier in Google Cloud?

The Always Free tier includes 1 f1-micro VM instance per month (30 GB-months HDD), 5 GB of Cloud Storage, 1 GB of Cloud Functions invocations, and other limits. Once you exceed these limits, you pay standard rates.

Does cloud always reduce total cost of ownership?

No. For steady-state, fully utilized on-premises hardware, TCO may be lower. Cloud reduces TCO for variable or growing workloads by eliminating over-provisioning and providing elasticity. Always run a TCO comparison.

Terms Worth Knowing

Ready to put this to the test?

You've just covered Cloud Economics: Capex to Opex — now see how well it sticks with free GCDL practice questions. Full explanations included, no account needed.

Done with this chapter?