"The cloud" is one of those expressions everybody uses and few can define precisely. For some it means "storing files on the internet"; for others, "somebody else's servers". Neither answer is wrong, but both fall short. In this lesson you are going to build a rigorous definition of cloud computing, based on the most widely cited standard in the industry (the NIST definition), you are going to understand where it came from and what forms it takes, and you are going to meet Hortalia S.L., the company that will accompany us throughout the course. Mastering these concepts is essential: everything we cover later about IaaS, PaaS, and SaaS rests on them, and confusing them is the root cause of many poor architecture and purchasing decisions.
- Meet Hortalia S.L.: our case study
Hortalia S.L. is a (fictional) organic fruit and vegetable distribution company. It has around 120 employees, a central warehouse where it receives produce from farmers, sorts it, and prepares orders, and a fleet of vans that delivers to shops and to individual customers.
All of its IT is 100% local (on-premises), meaning it sits physically on its own site and is run by the company itself:
| Component | Current situation | Main problem |
|---|---|---|
| ERP (purchasing, stock, invoicing) | Windows Server + SQL Server on a physical server from 2017, inside a cabinet in the warehouse | No redundancy: if the server fails, the company stops invoicing. Backups on a USB disk |
| Online store "hortalia-shop" | Does not exist yet. Marc is building it in Python/Flask with PostgreSQL | It has to cope with sharp peaks (Christmas boxes, summer season) |
| Ageing in-house mail server | Maintenance, patching, and disk space eat up IT's time | |
| Customer records | Excel spreadsheets shared in a network folder | Duplicate versions, no interaction history, hard to query |
And these are the three people we will watch making decisions throughout the course:
- Laura, IT manager. In practice she acts as CTO: she decides the architecture and answers for it when something goes down.
- Marc, developer of the online store. He wants to focus on writing code, not on administering servers.
- Sara, finance director. She worries about cost and, above all, about not being surprised by the invoice.
Management has asked Laura for a plan to "take Hortalia to the cloud". Before deciding anything, Laura needs to be clear about what exactly that means. That is precisely what we will do in this lesson.
- What is cloud computing?
The reference definition is the one from NIST (the US National Institute of Standards and Technology), published in document SP 800-145. In its original wording, it says:
Cloud computing is a model for enabling ubiquitous, convenient, on-demand network access to a shared pool of configurable computing resources (networks, servers, storage, applications, and services) that can be rapidly provisioned and released with minimal management effort or service provider interaction.
Notice three key ideas:
- It is a model, not a place. The cloud is not "the internet" nor "a particular data center": it is a way of delivering and consuming computing resources.
- The resources are shared and configurable. Many customers use the same physical infrastructure, and each one configures it to suit their needs.
- Speed and minimal human intervention. If getting a server means sending an email and waiting three days for somebody to prepare it, that is not cloud, even if the server sits somewhere else.
A practical way to sum it up: the cloud turns computing into a service consumed like electricity. You do not build a power station; you plug in, use what you need, and pay for what you have used.
- The five essential characteristics according to NIST
NIST establishes that a service is only "cloud" if it meets five essential characteristics. They are the best tool for telling a real cloud apart from a plain rented server with a marketing label on it.
mindmap
root((Cloud computing))
On-demand self-service
Broad network access
Shared resource pooling
Rapid elasticity
Measured service
3.1 On-demand self-service
The customer can obtain resources (a server, a database, storage space) on their own, whenever they need them, without anyone from the provider getting involved. This is normally done from a web console, a command-line tool (CLI), or an API.
At Hortalia: today, if Marc needs a test server for the store, he asks Laura, who hunts down an old machine, installs the operating system, and hands it over days later. In the cloud, Marc (with the right permissions) could create that environment in minutes with a couple of clicks or a command like this one, which creates a PostgreSQL test database in Google Cloud:
gcloud sql instances create hortalia-shop-pruebas \
--database-version=POSTGRES_16 \
--tier=db-f1-micro \
--region=europe-southwest1Line by line:
gcloud sql instances create: asks Google Cloud (through its CLI,gcloud) to create a new instance of the Cloud SQL managed database service.hortalia-shop-pruebas: the name we give the instance.--database-version=POSTGRES_16: the engine and version (PostgreSQL 16).--tier=db-f1-micro: the "size" of the machine; here, one of the smallest, good enough for testing.--region=europe-southwest1: where it is physically created (the Madrid region; we will look at what a region is in section 6).- The backslash
\at the end of each line simply indicates that the command continues on the next line.
You do not need to memorise this command: what matters is the idea. Nobody from the provider gets involved; the request is processed by an automated system.
3.2 Broad network access
Resources are available over the network (usually the internet, or a private connection) through standard mechanisms, from any kind of device: laptop, phone, tablet, another application...
At Hortalia: the current ERP is only reachable from the warehouse network; the sales reps who visit shops cannot check stock from their phones. A cloud service, properly protected, could be reachable from anywhere. Careful, though: "reachable from anywhere" does not mean "open to everyone"; securing access is the customer's responsibility, as we will see in The Shared Responsibility Model.
3.3 Shared resource pooling (multi-tenancy)
The provider groups its physical resources (thousands of servers, disks, and network devices) into one large pool that serves many customers at once. Resources are assigned and reassigned dynamically according to demand. In general, the customer neither knows nor controls which exact physical machine runs their service, although they can choose the location at a high level (country or region).
At Hortalia: the server in the cabinet is 100% dedicated to Hortalia... and spends most of the night and weekends practically idle. In the cloud, that idle capacity would be put to work by another customer, and Hortalia would only pay for what it uses. How thousands of customers can share hardware without seeing each other is what we will study in Virtualization and Data Centers.
3.4 Rapid elasticity
Resources can be scaled up and down quickly, sometimes automatically, to match demand. To the customer, available capacity looks unlimited and can be obtained at any time.
At Hortalia: this is the characteristic that matters most for the online store. Picture this illustrative demand in visits per hour:
| Period | Visits/hour (illustrative) | Servers needed |
|---|---|---|
| A Tuesday in February | 300 | 1 |
| Summer season | 1,500 | 3 |
| Christmas box week | 6,000 | 10 |
With its own servers, Hortalia would have to buy capacity for the worst case (10 servers) and leave it idle almost all year. With elasticity, the store goes from 1 to 10 servers at Christmas and back to 1 in January.
The difference between scalability and elasticity is subtle but important: scalability is the ability to grow; elasticity is growing and shrinking quickly, adjusting to real demand.
3.5 Measured service
Resource usage is measured, controlled, and reported transparently (compute hours, gigabytes stored, number of requests, users...). This enables pay-per-use and gives visibility to both the provider and the customer.
At Hortalia: Sara has no idea what email actually costs today: the server was bought years ago, the electricity is buried in the general utility bill, and Laura's hours are not charged to anyone. In the cloud, every service has a meter and a line on the invoice. That is a huge advantage... and also a risk if nobody watches the meters (we will cover this in Advantages and Disadvantages).
3.6 Summary: the five-characteristic test
| Characteristic | Question to check it | Hortalia's cabinet server |
|---|---|---|
| On-demand self-service | Can I get resources by myself, without waiting for anyone? | No |
| Broad network access | Do I reach it over the network with standard mechanisms from different devices? | Partly (internal network only) |
| Resource pooling | Are the physical resources shared and dynamically assigned? | No |
| Rapid elasticity | Can I scale up and down in minutes? | No |
| Measured service | Is my consumption metered and billed accordingly? | No |
If a service does not pass all five questions, it may well be useful, but it is not cloud computing in the strict sense.
- Where we come from: on-premises, hosting, colocation, and cloud
The cloud did not appear out of nowhere. It is the latest stage in an evolution in which companies have delegated more and more of their infrastructure.
flowchart LR
A["On-premises<br/>Everything is yours and sits in your building"] --> B["Colocation<br/>Your servers in someone else's data center"]
B --> C["Hosting / dedicated server<br/>You rent someone else's servers"]
C --> D["Cloud<br/>You consume resources on demand"]
- On-premises ("on the premises"). The company buys the servers, installs them in its own building, and takes care of everything: electricity, cooling, physical security, network, operating system, backups... This is Hortalia's current situation.
- Colocation (housing). The company still buys its servers, but houses them in a third party's data center, which provides the space, power, cooling, and connectivity. The physical side improves, but the hardware is still yours.
- Hosting / dedicated server. You no longer buy the hardware: you rent servers (or part of one) from a provider for a monthly fee, usually under contracts lasting months or years.
- Cloud. You consume resources on demand, by the minute or the second, with self-service and elasticity. You can ask for 10 servers at 9:00 and give them back at 11:00.
| Aspect | On-premises | Colocation | Dedicated hosting | Cloud |
|---|---|---|---|---|
| Hardware ownership | Customer | Customer | Provider | Provider |
| Building, power, and cooling | Customer | Provider | Provider | Provider |
| Time to get a new server | Weeks | Weeks | Days | Minutes |
| Typical payment model | Purchase (investment) | Purchase + fee | Monthly/annual fee | Pay-per-use |
| Ability to scale up and down | Very low | Low | Medium | Very high |
The difference between hosting and cloud is the one that causes most confusion: a server rented by the month, with no self-service and no elasticity, is hosting, not cloud, even if the provider advertises it as a "cloud server".
- Deployment models
Deployment models answer the question: who uses the infrastructure and where is it? They should not be confused with service models (IaaS, PaaS, SaaS), which answer which part does the provider manage?
5.1 Public cloud
The infrastructure belongs to a provider and is offered to any customer over the internet. Resources are shared among thousands of organisations. Examples: Amazon Web Services (AWS), Microsoft Azure, Google Cloud, Oracle Cloud Infrastructure, IBM Cloud, or European providers such as OVHcloud and Hetzner.
5.2 Private cloud
The infrastructure is dedicated exclusively to a single organisation. It may sit on its own premises or in a third party's, and it may be run by the organisation itself or by a provider. To be genuinely "cloud" it must meet the five characteristics (self-service, elasticity...) within the organisation; it is usually built with platforms such as OpenStack, VMware Cloud Foundation, or offerings from the large providers installed in the customer's data center (for example, AWS Outposts or Azure Local).
5.3 Hybrid cloud
It combines private cloud or on-premises with public cloud, connected so that data and applications can move between them or work together. It is very common during migrations: part of the systems is still in-house and part is already in the public cloud.
5.4 Multicloud
Using several public cloud providers at the same time (for example, AWS for one application and Google Cloud for another), whether by strategic choice (avoiding dependence on a single one, taking the best service from each) or by inheritance (different teams picked different providers). It is not mutually exclusive with hybrid: a company can be hybrid and multicloud at once.
5.5 Community cloud
Infrastructure shared by a group of organisations with common needs (regulatory, security, or mission requirements): for example, several public administrations, hospitals, or universities. It is the least common model in practice, and it is often implemented as a "sovereign" region or service from a public provider.
5.6 Comparison table
| Model | Who uses it | Main advantage | Main drawback | Typical case |
|---|---|---|---|---|
| Public | Any customer | No upfront investment, enormous scale, pay-per-use | Less control, dependence on the provider | Startups, websites, most new workloads |
| Private | A single organisation | Maximum control and isolation | Expensive; elasticity is limited to your own hardware | Banks, defence, heavily regulated data |
| Hybrid | One organisation, split across both | Flexibility; gradual migration | Integration and network complexity | Companies mid-migration |
| Multicloud | One organisation, several providers | Avoids depending on one; the best of each | More complexity, more skills needed | Large enterprises, resilience requirements |
| Community | A group with common needs | Shared costs and compliance | Complex governance among members | Public sector, healthcare |
At Hortalia: for a company of 120 employees, building a private cloud makes no economic sense. Hortalia will most likely end up in a public cloud scenario, going through a hybrid stage while part of its systems remains in the warehouse. Laura will make a note of that, but the final decision will come in module 5.
- Regions and availability zones
When you create a resource in a public cloud, you almost always have to choose where it is created. That is what these two basic concepts are for:
- Region: a geographic area (usually a city or metropolitan area) where the provider has one or more data centers. Examples in Spain: AWS's
eu-south-2(Aragón), Azure'sSpain Central(Madrid), and Google Cloud'seurope-southwest1(Madrid). - Availability zone (AZ): one or more data centers within a region, physically separated from the other zones (different buildings, with independent power, cooling, and network), but connected to each other by very low-latency links. A region usually has three or more zones.
flowchart TB
subgraph R["Region: e.g. Madrid"]
direction LR
subgraph Z1["Zone A"]
D1["Data center"]
end
subgraph Z2["Zone B"]
D2["Data center"]
end
subgraph Z3["Zone C"]
D3["Data center"]
end
end
Z1 <-. "low-latency private network" .-> Z2
Z2 <-. "low-latency private network" .-> Z3
Z1 <-. "low-latency private network" .-> Z3
Why does it matter?
- Resilience: if you spread your application across two or three zones, a fire or a power cut in one building does not bring it down. Hortalia's ERP today depends on a single server in a single cabinet: any failure stops everything.
- Latency: the closer the region is to your users, the faster the application responds. Hortalia, with customers in Spain, wants a Spanish or southern European region.
- Data location: some rules (such as the GDPR for personal data) make it matter which country the data is stored in. We will look at this in Security and Regulatory Compliance by Model.
The exact names vary from one provider to another, but the concept is the same everywhere. We will go deeper into multi-zone design in module 2.
- A preview: the IaaS, PaaS, and SaaS service models
Besides where the cloud is deployed, you have to decide how much the provider manages for you. There are three broad service models:
- IaaS (Infrastructure as a Service): the provider gives you virtual machines, disks, and networks; you manage the operating system and everything above it.
- PaaS (Platform as a Service): the provider gives you a platform ready to run your code; you only worry about the application and the data.
- SaaS (Software as a Service): the provider gives you the finished application; you simply use and configure it.
You can probably already sense that Hortalia's ERP, Marc's store, and email fit different models. We will compare them in depth in Comparing IaaS, PaaS, and SaaS.
Common Mistakes and Tips
- Confusing "on the internet" with "in the cloud". A server rented for years, with no self-service and no elasticity, is hosting. Always apply the five-characteristic test.
- Confusing scalability with elasticity. Being able to grow is not enough; the cloud also lets you shrink and stop paying.
- Mixing up deployment models and service models. "Public/private/hybrid" says where and for whom; "IaaS/PaaS/SaaS" says who manages what. The same company can use SaaS in a public cloud and IaaS in a private cloud.
- Assuming the public cloud is "insecure by definition". The large providers invest far more in physical and infrastructure security than any SME can. The real risk usually lies in how the customer configures their services.
- Choosing a region at random. The region affects latency, cost, available services, and regulatory compliance. Choose it deliberately.
- Tip: when you evaluate a service, ask in writing: can I create and delete resources by myself? do I pay per use? can I choose the region? The answers will quickly tell you whether it is genuinely cloud.
Exercises
Exercise 1. A provider offers Hortalia a "Cloud Server Pro": a dedicated physical server in its data center, with a minimum 24-month contract. To add memory you have to open a ticket and the upgrade takes 48 hours. It is billed as a fixed monthly fee. Assess the offer against the five NIST characteristics. Is it cloud computing?
Exercise 2. Classify each scenario into its deployment model (public, private, hybrid, multicloud, or community):
a) Hortalia keeps the ERP in the warehouse and launches the online store on AWS, connecting both to synchronise stock. b) Ten farming cooperatives share a traceability platform hosted on infrastructure dedicated to them. c) A bank builds a self-service platform for its teams with OpenStack, in its own data center. d) A company uses Azure for its ERP and Google Cloud for its data analytics.
Exercise 3. Sara asks Laura: "If we put the store in a single availability zone, what happens if that zone fails? And if we use two?". Write Laura's answer in 4-6 lines, without unnecessary jargon.
Solutions
Solution 1.
| Characteristic | Met? | Reason |
|---|---|---|
| On-demand self-service | No | You have to open a ticket and wait 48 hours |
| Broad network access | Yes | It is reached over the internet |
| Resource pooling | No | Dedicated physical server, neither shared nor reassignable |
| Rapid elasticity | No | Upgrading takes two days and you cannot scale down during the contract |
| Measured service | No | Fixed fee, independent of usage |
It is not cloud computing: it is dedicated hosting with a cloud brand name. It may be a valid option for certain workloads, but it does not deliver the benefits of the cloud.
Solution 2.
a) Hybrid: it combines its own infrastructure (on-premises) with public cloud, integrated with each other. b) Community: a group of organisations with common needs shares dedicated infrastructure. c) Private: a single organisation, with cloud characteristics (self-service), in its own data center. d) Multicloud: several public cloud providers.
Solution 3 (suggested). "If we put the whole store in a single zone and that data center has a serious problem (a power cut, a network failure), the store will be down until it recovers, exactly as happens today with our cabinet server. If we spread it across two zones, which are separate buildings with their own power and network, when one fails the other keeps serving customers. It costs a bit more, because we keep capacity in two places, but in the middle of the Christmas season an outage would cost us far more in lost sales."
Common mistake: thinking that two availability zones are two regions. Zones sit in the same geographic area; they protect against the failure of one data center, not against a disaster affecting the whole region.
Conclusion
In this lesson you have learned that cloud computing is a model for consuming computing resources, defined by five essential characteristics: on-demand self-service, broad network access, shared resource pooling, rapid elasticity, and measured service. You have seen how we got there from on-premises, by way of colocation and hosting; you have distinguished the deployment models (public, private, hybrid, multicloud, and community) and you have met regions and availability zones. You have also met Hortalia, whose cabinet server fails every single one of the NIST tests.
But how does a provider manage to have thousands of customers share the same hardware, make a server appear in seconds, and ensure nobody sees the neighbour's data? The answer lies in virtualization and in the way modern data centers are designed, which is exactly what we will study in the next lesson: Virtualization and Data Centers: How the Cloud Works Inside.
