Skip to content
L-SYSTEM

What the cloud is and what you pay for

Preview unit: this one is open without enrolling. The rest open after you enrol.

Your lesson is in your language: your assistant leads it. This unit — text: English, translated by the course author from Russian. Course material: Russian · Exam: Russian, not translated. How to connect an assistant

Take this lesson with your assistant

This is a trial. The server does not see it: progress is not saved and tasks are not counted. To keep progress, connect the course.

Pain: you pay for the peak but live on average load

Imagine a department that runs its own server room. To launch a new service, you have to estimate the peak load, add headroom, order hardware, wait for delivery, rack it, and set up power and cooling. Weeks, sometimes months, pass between the decision and the first request.

Then the unpleasant part begins. The purchased capacity is enough for the peak — which means it sits idle almost all the time. If you estimated generously, the money is frozen in hardware that will be obsolete in three years. If you skimped, the service goes down on Black Friday, and a new server arrives in six weeks. An error in either direction is expensive, and it is slow to fix.

A separate pain is that the decision is made once and for a long time. You forecast load three years ahead without having data.

Solution: computing as a utility

Cloud computing is the delivery of computing resources (servers, storage, networks, databases, applications) as a service over the internet, paid for by actual consumption.

The key phrase here is not "over the internet". Hosting is over the internet too. The key is a set of properties that a rented server does not have:

  • on-demand self-service — a resource is created in minutes, without negotiating with the provider;
  • elasticity — the amount of resources follows the load, up and down;
  • resource pooling — you share a huge pool of capacity with other customers, so you don't pay for idle time;
  • measured service — consumption is metered and shown.

Analogy: electricity. Nobody buys a generator sized for an apartment's peak consumption. You switch on the kettle and pay for kilowatt-hours, and the power plant's capacity is not your concern. The cloud sells computing the same way.

On the left, a small house with a huge generator in the yard to run a single kettle; on the right, the same house connected to the shared power grid with a meter
FigureOn the left, a small house with a huge generator in the yard to run a single kettle; on the right, the same house connected to the shared power grid with a meter
Description

A picture in two halves. On the left, a small house with an industrial diesel generator in its yard, several times larger than the house itself, with fuel barrels beside it. A single kettle switched on is visible in the window. The owner stands by the machine with an empty wallet. This is CapEx: capacity was bought for the peak, sits idle almost all the time, and the money is already spent. On the right, the same house, and the yard is empty. A thin wire runs from the house to a line of poles and a large power plant on the horizon, to which other houses are connected too. A meter glows on the wall, and the owner drinks tea in an armchair. This is the consumption-based model: the plant is shared, and you pay by the meter. What the picture does not show: under steady round-the-clock load, your own generator can come out cheaper than the grid, and the meter keeps running even when you have forgotten an appliance is switched on.

FigureTwo charts of spending over time: a step of hardware purchases and a smooth consumption line

Two coordinate planes side by side; the horizontal axis is time (three years), the vertical axis is money. On the left, labelled CapEx: a wide step rises at the very beginning and stays at plateau height; below the plateau runs a wavy line of actual load, which almost all the time stays well below the plateau and in two places breaks through above it in a short peak — these two places are marked with exclamation marks. The space between the plateau and the wavy line is hatched and labelled “paid-for idle time”. On the right, labelled OpEx: the same wavy load line, with a solid spending line on top of it that follows its curves almost exactly. There is no hatched area on the right. This picture has no file: draw the chart from the description or describe it in words.

How you pay for it: the consumption-based model

Consumption-based model — you pay for the resources you used: hours a virtual machine ran, gigabytes in storage, number of requests, volume of outbound traffic. Don't use it — don't pay.

This is not the only pricing model in Azure, and the exam requires you to tell them apart:

Model How it is charged When it pays off
Consumption / pay-as-you-go by actual consumption, per second or per unit unpredictable or variable load, experiments
Reserved a commitment 1 or 3 years ahead, discount off the rate baseline load that will definitely run all that time
Spot spare capacity at a rock-bottom price jobs you don't mind being interrupted
Fixed / per-user a fixed amount per user or instance typical of SaaS: a license per person
q1 Can you make a commitment 1–3 years ahead? q2 Is it a problem if the job is interrupted at any moment? q1->q2 no res Reserved discount for a commitment q1->res yes: the load is steady and certain q3 Does the bill depend on consumption or on the number of users? q2->q3 a problem spot Spot spare capacity, cheap, can be taken back q2->spot not a problem: it can be restarted payg Pay-as-you-go pay for actual use, no commitment q3->payg on consumption fix Fixed / per-user typical of SaaS q3->fix on users
FigureA pricing model decision tree of three questions: commitment, interruption, what the bill depends on
Description

Three diamond-shaped questions from top to bottom. The first: “Can you make a commitment 1–3 years ahead?” The answer “yes: the load is steady and certain” leads to Reserved — a discount for a commitment. The answer “no” leads to the second question: “Is it a problem if the job is interrupted at any moment?” The answer “not a problem: it can be restarted” leads to Spot — spare capacity is cheap, but it can be taken back. The answer “a problem” leads to the third question: “Does the bill depend on consumption or on the number of users?” On consumption — Pay-as-you-go, you pay for actual use with no commitment; on users — Fixed / per-user, typical of SaaS. The order of the questions is deliberate: the option that pays off most when its condition holds is checked first, and every “no” costs money. Cost-saving tools are covered in detail in unit 14.

CapEx and OpEx

CapEx (capital expenditure) is a large one-off purchase of an asset: servers, licenses, a datacenter building. The money goes out at once, is written off gradually through depreciation, and the asset sits on the balance sheet.

OpEx (operational expenditure) is regular spending on ongoing operations: the cloud bill, electricity, subscriptions. It is expensed in the same period and creates no asset.

Moving to the cloud shifts spending from CapEx to OpEx. What this changes in substance: you don't need to defend a large budget in advance, an experiment costs as much as it lasts, and a failed project is closed together with its bill.

Cost

The bill becomes variable — and grows unnoticed. In the CapEx world a forgotten test VM just sits in a rack; in the cloud it sends a bill every month. Cost discipline turns from a one-off procurement task into ongoing work (see u13 and u14).

On long, steady load the cloud is more expensive than your own hardware. A 24/7 service with a flat profile and no spikes is the case where your own server, costed over three years, usually wins on money. The cloud sells not cheapness but the absence of commitment.

You lose some control. Platform versions, maintenance windows, available regions and service retirement dates are set by the provider. Azure Blueprints, for example, is being retired on 31 January 2027 — and that is not your decision.

Vendor lock-in appears. The more deeply you use provider-specific services, the more expensive it is to move.

Three deployment models

Public cloud. The infrastructure belongs to the provider, resources are shared among customers, entry is by credit card. Maximum elasticity, minimum control over the physical layer. Suits: a startup without its own datacenter, seasonal load, test environments, a public web service.

Private cloud. The same cloud properties — self-service, elasticity, measured consumption — but the pool of capacity is yours and is used by a single organization. It can sit in your datacenter or at a provider. Suits: strict regulation, a requirement to keep data inside the perimeter, legacy systems that cannot be moved.

An important distinction: a private cloud is not a synonym for a server room. A server room becomes a private cloud only when self-service and measured consumption appear on top of it. Otherwise it is just virtualization.

Hybrid cloud. Public and private work together as one environment, with data and workloads moving between them. Suits: the database stays on premises as the regulator requires, while computations move to Azure for the duration of the peak; or a gradual migration stretched over years; or a standby site for disaster recovery.

Hybrid is a stable architecture, not a transfer station. Many organizations live in it for years for perfectly rational reasons.

q1 Are there data or systems that must stay on your own premises? q2 Do you also need elasticity or capacity beyond your premises? q1->q2 yes: regulator, legacy systems pub Public cloud maximum elasticity, minimum capital expenditure q1->pub no note Signal words: “must”, “regulator”, “in our datacenter” — the “yes” branch; “minimize capital expenditure” — the “no” branch q1->note prv Private cloud the pool is yours, but with self-service and measured consumption q2->prv no hyb Hybrid cloud data on premises, peaks and computations in Azure q2->hyb yes
FigureA deployment model decision tree of two questions: what must stay on premises, and whether elasticity beyond them is needed
Description

Two diamond-shaped questions. The first: “Are there data or systems that must stay on your own premises?” The answer “no” leads to public cloud — maximum elasticity, minimum capital expenditure. The answer “yes: regulator, legacy systems” leads to the second question: “Do you also need elasticity or capacity beyond your premises?” The answer “no” — private cloud: the pool is yours, but with self-service and measured consumption. The answer “yes” — hybrid cloud: data on premises, peaks and computations in Azure. A note with signal words is attached to the first question by a dashed line: “must”, “regulator”, “in our datacenter” lead down the “yes” branch, “minimize capital expenditure” down the “no” branch. The words “more secure” are deliberately absent from the signals: the choice does not rest on them.

Watch out: a trap

  • "Cheaper" in a question is almost never about the deployment model. If the scenario says "minimize capital expenditure", that is public cloud. If it says "data must stay in our datacenter, but elasticity is needed for computations", that is hybrid, and the word "must" decides it.
  • A private cloud is not "more secure by definition". It gives control over placement, and security depends on how it is configured. An exam question about private cloud usually rests on a regulatory requirement or on legacy hardware, not on the word "security".
  • Don't confuse elasticity with scalability. Scalability is the ability to grow. Elasticity is the ability to grow and come back down, automatically. It is the coming back down that saves money. More in u03.
  • CapEx versus OpEx is a question about accounting, not about the amount. The phrase "avoid large upfront investment" points to OpEx, even if over three years the cloud comes out more expensive.

Practice

Checking here changes nothing: answers start counting once you enrol on the course.

  1. The CFO says: "This quarter we are not ready to pull two million out of circulation at once for servers, but we are ready to pay monthly, even if over three years the total comes out higher." What argument is he making?

  2. A bank is required by the regulator to keep its customer records in its own datacenter. Once a quarter it runs risk models, and for those three days it needs ten times more computing power than on ordinary days. Which deployment model should it choose, and which word in the statement decides it?

    This one is judged by the author’s rubric — your assistant does that, not the site.

  3. A colleague says: "We already have a private cloud — two hypervisors in the server room, and we create VMs on them on request via tickets." What is missing for this to be a private cloud?

    This one is judged by the author’s rubric — your assistant does that, not the site.

  4. Match each workload with a suitable pricing model: (1) a domain controller that runs around the clock for the next three years; (2) an overnight report recalculation that can be restarted if it is interrupted; (3) a demo environment for a client, needed for two weeks, and it is unclear whether it will be in demand.

    This one is judged by the author’s rubric — your assistant does that, not the site.

  5. Name two costs of moving to the public cloud that are not visible in the monthly bill.

    This one is judged by the author’s rubric — your assistant does that, not the site.

  6. Fill in the gap: in a -based model, an organization pays only for the resources actually used and does not pay for unused capacity.

  7. Is the statement true? "Moving a 24/7 workload with a flat profile to the public cloud always reduces total spending over three years."

  8. Is the statement true? "A private cloud must be located in the organization's own datacenter."

  9. Is the statement true? "An organization can stay in a hybrid cloud for years, and that is a normal architecture, not an unfinished migration."

  10. Using the deployment model decision tree: a startup without its own datacenter is launching a public web service, the load is unpredictable, and the goal is to minimize capital expenditure. There are no data residency requirements. At which node does the path end?

  11. Using the pricing model decision tree: a company takes a CRM as a ready-made service for forty employees. It does not want to make a multi-year commitment, interruption of work is unacceptable, and the bill does not depend on how much the employees worked in the system. Where does the path end?

  12. What in the picture with the two houses corresponds to "paid-for idle time"?