The cloud is not a place and not magic: it is enormous buildings full of ordinary servers, sliced up by virtualization and rented out by the minute through an API. This part builds that picture from the problem it solves, then names the five properties that make something a cloud, the IaaS/PaaS/SaaS/serverless scale, and the shared responsibility model that decides what stays your problem.
This is the first part of a bottom-up series on Azure. Before any Azure product, it answers the question underneath all of them: what is a "cloud", and why does nearly every company now run its software on one? Everything later (subscriptions, regions, App Service, Functions) is a detail of the picture built here.
None of this part is Azure-specific. AWS, Google Cloud and Azure are three companies selling the same basic thing, so the mental model transfers to all of them.
Every piece of software runs on a computer somewhere. A web API needs a machine that is switched on, connected to the internet, and able to answer requests at three in the morning on a public holiday. Its database needs disks that do not lose data. Its background jobs need processors to run on.
Before the cloud, a company that wanted to run software had to own those computers. Owning a server turns out to involve far more than buying one:
| Job | What it actually means |
|---|---|
| Buy | choose hardware, order it, wait weeks for delivery |
| House | a room with racks, physical security and fire suppression |
| Power | reliable electricity, plus batteries and generators for outages |
| Cool | servers turn electricity into heat; without cooling they shut down |
| Connect | network switches, routers, internet links, and spares for each |
| Maintain | replace failed disks, fans and power supplies; patch firmware and operating systems |
| Plan capacity | guess how much you will need a year from now, then buy it up front |
| Retire | replace everything after a few years, and wipe the old disks securely |
The last two rows are the painful ones. Capacity planning forces a bet: buy for your busiest day of the year and most of the hardware sits idle the rest of the time; buy for an average day and the busiest day takes the site down. And all of it is paid up front, as a large purchase, before the software has earned anything.
The core problem: owning computers means paying in advance for capacity you have to guess, then employing people to keep machines you do not care about alive. Almost nobody's business is "running servers", yet everybody who ships software had to do it.
A cloud provider solves this by doing all of it once, at enormous scale, and renting it out.
Physically, a cloud is a set of datacentres: warehouse-sized buildings filled with rows of racks, each rack holding dozens of ordinary servers. Those servers are not exotic. They have processors, memory, disks and network cards like any computer. What is special is the scale, and what surrounds them: redundant power feeds, generators, industrial cooling, and private fibre networks linking the buildings together.
The provider then rents slices of that hardware to anyone with a credit card, by the minute or by the second, through a website and, more importantly, through an API. You do not phone anyone or sign a purchase order. You send a request that says "give me a machine with 4 processors and 16 GB of memory in western Europe", and a minute later it exists. When you send "delete it", it stops existing and the bill stops growing.
Accountants have names for the two models. Buying servers is capital expenditure (CapEx): a large purchase of an asset, paid up front. Renting from a cloud is operational expenditure (OpEx): a running cost, paid as you go, that grows and shrinks with usage. Much of the cloud's appeal to businesses is this shift alone: no big bet up front, and a bill that tracks what is actually used.
There is a puzzle in "rent a slice of a server". A physical server is one machine. How can it be rented to ten different customers at once, each believing they have their own computer, none able to see the others?
The answer is virtualization. A thin layer of software called a hypervisor runs directly on the physical hardware and divides it into several virtual machines (VMs). Each VM gets its own share of the processors, its own slice of memory, its own virtual disk and its own virtual network card. Each runs its own operating system, which believes it is talking to real hardware. The hypervisor enforces the boundaries, so one customer's VM cannot read another's memory.
Virtualization is what turns a building full of servers into a pool of resources that can be carved up, handed out and taken back in seconds. Azure runs its own hypervisor, derived from Microsoft's Hyper-V, on every server in every datacentre. Every Azure service you will meet, even the ones that never show you a VM, ultimately runs on virtual machines carved out this way.
The arrangement where many customers share the same physical hardware, isolated from each other, is called multi-tenancy.
"Cloud" was a marketing word for years before anyone defined it. The definition the industry settled on comes from the US National Institute of Standards and Technology (NIST), and it is useful because it names exactly what separates a cloud from "a server in someone else's building". A cloud has five essential characteristics:
| Property | Meaning | What it looks like |
|---|---|---|
| On-demand self-service | you get resources yourself, without a human at the provider | a database created with one command, at 3 a.m., with nobody approving it |
| Broad network access | everything is reachable over the network with standard protocols | the portal, the API and your app all work over HTTPS from anywhere |
| Resource pooling | the provider's hardware is shared among many customers | your VM and a stranger's VM may sit on the same physical server |
| Rapid elasticity | capacity grows and shrinks quickly, often automatically | ten servers at the evening peak, two at night |
| Measured service | usage is metered and billed by what you consume | a bill itemized in hours of compute, gigabytes stored, requests served |
A company that rents a fixed rack in a hosting facility, signs a three-year contract and emails support to add a server has none of these. That is hosting, not cloud. The five properties are why the cloud changed how software is built: when a server can be created by code in a minute and deleted when no longer needed, servers stop being precious things to care for and become disposable parts.
Who the cloud's hardware belongs to gives three deployment models:
You will also hear multi-cloud: using more than one public provider at once, say Azure for most things and another provider for one specific service.
Renting computers can mean very different things. Renting a bare virtual machine leaves you installing and patching the operating system yourself. Renting "a place to run my web app" leaves the provider handling the operating system and everything beneath it. The industry describes this as a stack of layers, and the service models differ only in where the line falls between what the provider manages and what you manage.
| Layer | On-premises | IaaS | PaaS | Serverless (FaaS) | SaaS |
|---|---|---|---|---|---|
| Your data and access | you | you | you | you | you |
| Your application code | you | you | you | you | provider |
| Runtime (.NET, Node) | you | you | provider | provider | provider |
| Scaling decisions | you | you | shared | provider | provider |
| Operating system | you | you | provider | provider | provider |
| Virtualization | you | provider | provider | provider | provider |
| Physical servers, storage, network | you | provider | provider | provider | provider |
| Buildings, power, cooling | you | provider | provider | provider | provider |
Reading the columns left to right, the provider takes on more and more of the stack:
You rent the infrastructure: virtual machines, virtual disks, virtual networks. The provider runs the hardware and the hypervisor; you get a machine with an operating system on it and everything above that is yours: patches, security updates, installing .NET, configuring the web server, scaling.
Azure examples: Azure Virtual Machines, managed disks, virtual networks.
Choose it when you need full control of the operating system, or you are moving an existing application that expects a "real server" and cannot easily change. It is the most flexible model and the most work.
You rent a platform: somewhere to run your code or store your data, with the operating system and runtime managed for you. You hand over a compiled web app and the platform runs it, patches the operating system underneath, and adds more instances when you ask. You never log in to a server.
Azure examples: App Service (web apps and APIs), Azure SQL Database (a SQL Server database with no server to manage), Azure Storage, Azure Cache for Redis.
Choose it when you are writing your own application and do not want to run servers. For most new web software this is the default.
A further step: you hand over individual functions (small pieces of code) and tell the platform which events should run them, such as "an HTTP request arrived", "a file was uploaded", "it is midnight". The platform runs your code when an event happens, scales the number of copies to match the number of events, all the way down to zero when nothing is happening, and bills for the time your code actually ran.
Azure examples: Azure Functions; to a degree also Logic Apps and Azure Container Apps.
Choose it when the work is event-driven and bursty: background processing, scheduled jobs, reacting to files or messages. "Serverless" does not mean there are no servers. It means the servers are entirely the provider's concern, including how many there are at any moment.
You rent finished software and simply use it. There is nothing to deploy and no code of your own. You manage only your data and who has access.
Examples: Microsoft 365 (email, Office, Teams), GitHub, Salesforce, Gmail.
Choose it when the software you need already exists. Nobody should build their own email system.
The pattern: every step to the right trades control for convenience. IaaS lets you change anything and makes you responsible for everything. SaaS lets you change almost nothing and asks almost nothing of you. Most real systems mix several: PhotoDrop will use PaaS for its API and storage, serverless for its background work, and SaaS for things like source control.
The service-model table has a second, more serious reading: security and reliability are split along the same line. Whatever the provider manages, the provider secures. Whatever you manage, you secure. Microsoft calls this the shared responsibility model.
Three things stay yours in every model, even SaaS:
Everything else moves with the model. On a VM (IaaS), an unpatched operating system is your fault. On App Service (PaaS), patching the operating system is Microsoft's job, but a SQL injection hole in your code is still yours. The cloud never removes responsibility. It moves the line, and you have to know where the line is for each service you use.
A common and expensive misunderstanding: "it's in the cloud, so it's backed up and secure." The provider guarantees its hardware will not lose your data and its buildings are physically secure. It does not stop you, or an attacker holding your credentials, from deleting that data, and it does not make a public storage container private. Most real cloud security incidents are misconfigurations on the customer's side of the line.
Three words come up constantly in cloud material, and they are worth pinning down now.
Scaling is changing the capacity of a system to match its load, and there are two directions:
| Scale up (vertical) | Scale out (horizontal) | |
|---|---|---|
| What changes | a bigger machine: more processors, more memory | more machines of the same size |
| Example | move the API from 2 to 8 processors | run the API on 6 instances instead of 2 |
| Limit | the largest machine size available | almost none, if the app is designed for it |
| Needs app changes? | rarely | yes: no state kept in one instance's memory |
| Downtime? | often a restart | usually none |
Scaling out is the cloud's natural direction, and it imposes one rule on application design: an instance must not keep anything important in its own memory, because the next request may land on a different instance. That is why sessions, caches and uploaded files live in shared services (a database, Redis, Blob Storage) rather than on the web server.
Elasticity is scaling that happens automatically and in both directions: capacity grows with demand and shrinks again afterwards. Scalability is the ability to grow; elasticity is growing and shrinking on its own. Shrinking is where the cloud saves money, since idle capacity you have released costs nothing.
High availability means the system keeps working when parts of it fail. In the cloud, parts fail constantly: with millions of servers, some are dying at every moment. Availability comes from redundancy (more than one copy of everything, in places that do not fail together), which is the whole subject of Part 3.
A fair picture includes the costs:
| Term | Meaning |
|---|---|
| Datacentre | a building full of servers, power, cooling and network |
| Virtualization | splitting one physical machine into many isolated virtual ones |
| Hypervisor | the software layer that does the splitting and enforces isolation |
| Virtual machine (VM) | one isolated slice: its own OS, processors, memory and disk |
| Multi-tenancy | many customers sharing hardware, isolated from each other |
| CapEx / OpEx | buying assets up front / paying running costs as you go |
| IaaS / PaaS / FaaS / SaaS | where the provider/customer management line falls |
| Shared responsibility | security and reliability split along that same line |
| Scale up / scale out | bigger machines / more machines |
| Elasticity | scaling automatically, in both directions |
The cloud is someone else's datacentres, sliced into virtual machines by a hypervisor and rented by the minute through an API. Its five properties (self-service, network access, pooling, elasticity, metering) turn servers from precious assets into disposable parts. The service models (IaaS, PaaS, serverless, SaaS) only decide where the line falls between what the provider runs and what you run, and responsibility for security and reliability splits along exactly the same line.
Part 2 moves from clouds in general to Azure in particular, and answers the first practical question: when you create something in Azure, where does it live? It builds the hierarchy every Azure resource sits in (tenant, management groups, subscriptions, resource groups, resources), what each level is for, and how permissions, policies and costs flow down through it.