Sub topic 1
What Cloud Computing Is: IaaS, PaaS, and SaaS
Prerequisites
Assume you understand what a server, operating system, and application are. You should also recognize IP addresses and HTTP requests.
What cloud computing is
Cloud computing delivers computing resources over a network instead of requiring you to own and operate all the hardware. Resources include virtual machines, storage, databases, networks, and applications.
A cloud provider owns data centers and exposes these resources through a console, API, or command-line tool. You choose the resources you need, configure them, and pay according to the service's pricing rules.
The essential characteristics: on-demand, elastic, measured
Cloud services commonly have three important properties:
- On-demand: You can create resources when needed without waiting for hardware procurement.
- Elastic: Capacity can expand or shrink as demand changes. Elasticity is the ability to adjust resources without replacing the whole system.
- Measured: The provider records consumption, such as compute time, storage, or requests, and uses it for billing and monitoring.
How the cloud works underneath: virtualization and pooling
Virtualization uses software to divide one physical computer into multiple isolated virtual machines. Each virtual machine behaves like a separate computer with its own operating system.
Resource pooling combines physical capacity into a shared pool. The provider assigns pieces of that pool to customers as needed. This makes on-demand allocation practical, while isolation prevents one customer's virtual machine from directly accessing another's.
Public, private, hybrid, and multi-cloud
A public cloud is shared provider infrastructure offered to many customers. A private cloud is dedicated to one organization. A hybrid cloud connects private and public environments. Multi-cloud uses services from multiple public providers.
These choices affect control, isolation, portability, and operational effort.
Regions and availability zones
A region is a geographic area containing cloud data centers. An availability zone is an isolated location within a region. Deploying across multiple zones can reduce the effect of a single facility failure. Regions also affect latency, legal requirements, and data location.
The stack: from hardware to application
Cloud services abstract layers of a technology stack:
| Layer | Example responsibility |
|---|---|
| Hardware | Physical servers, disks, and network devices |
| Virtualization | Virtual machines and resource allocation |
| Operating system | Kernel, drivers, and system updates |
| Runtime | Language runtime and platform libraries |
| Application | Business logic and user interface |
The service model determines which layers you manage. Later chapters compare IaaS, PaaS, and SaaS using this boundary.
Exercise
Why can a public cloud offer a virtual machine quickly without installing a new physical server for every customer?
Show answer
Virtualization and resource pooling let the provider assign an isolated virtual machine from existing shared capacity.