What cloud computing is
Cloud computing means renting computing power, storage, networking and ready-made services from a provider over the internet, starting and stopping them yourself in minutes and paying only for what you use. This chapter sets up the vocabulary the rest of the Cloud topic relies on: service models, where the cloud physically lives, who is responsible for what, and how AWS, Azure and Google Cloud name the same building blocks.
Renting instead of owning
Before the cloud, running a website meant buying servers, waiting weeks for delivery, installing them in a data centre and sizing them for your busiest day, so most of the time they sat half idle. That money is CapEx (capital expenditure): a large up-front purchase of something you own and depreciate over years. The cloud turns it into OpEx (operating expenditure): a running bill that goes up and down with usage, like electricity. You trade ownership and long-term planning for flexibility.
The usual definition (from the US standards body NIST) lists five characteristics. A service that has all five is "cloud"; a rented server you have to phone someone to resize is not.
- On-demand self-service: you create a server or a database yourself, from a web console, a CLI or an API, with no human at the provider involved.
- Broad network access: everything is reachable over the network with standard protocols.
- Resource pooling: many customers share the same huge pool of hardware, isolated from each other.
- Rapid elasticity: capacity grows and shrinks quickly, even automatically (the autoscaling from the AWS chapter).
- Measured service: usage is metered (per second, per GB, per request) and you are billed for exactly that. Pay-as-you-go is the pricing side of this.
Pay-as-you-go is not automatically cheaper. A server that runs flat out 24/7 for three years can cost more to rent than to own. The cloud wins when load varies, when you need to start fast, or when you'd rather not run a data centre at all.
Service models: IaaS, PaaS, SaaS and FaaS
The service models differ in how much of the stack the provider runs for you. The higher up you go, the less you manage and the less you can control.
| Model | You get | You still manage | Examples |
|---|---|---|---|
| IaaS (Infrastructure as a Service) | Virtual machines, disks, networks | The operating system and its patches, runtimes, your app, your data | AWS EC2, Azure Virtual Machines, Google Compute Engine, DigitalOcean Droplets |
| PaaS (Platform as a Service) | A platform that runs your code or hosts your database | Your app code, its configuration, your data | AWS Elastic Beanstalk, Azure App Service, Google App Engine, Heroku, managed databases like Amazon RDS |
| FaaS (Functions as a Service, "serverless") | Runs a single function when an event arrives | The function code and its permissions | AWS Lambda, Azure Functions, Google Cloud Run functions |
| SaaS (Software as a Service) | A finished application in the browser | Your users, your data, the settings | Gmail, Microsoft 365, Slack, GitHub |
An everyday comparison: IaaS is renting an empty flat, PaaS is a serviced apartment, SaaS is a hotel room. You'll also meet in-between terms such as CaaS (Containers as a Service): you hand over a container image and the platform runs it, as with AWS Fargate, Azure Container Apps and Google Cloud Run. Google renamed Cloud Functions to Cloud Run functions in 2024, so older tutorials use the old name.
Deployment models: public, private, hybrid, multi-cloud
- Public cloud: the provider's shared infrastructure, used over the internet (AWS, Azure, Google Cloud). What people usually mean by "the cloud".
- Private cloud: cloud-style self-service on hardware dedicated to one organisation, often in its own data centre (for example with OpenStack or VMware). More control, but you're back to buying and running hardware.
- Hybrid cloud: on-premises systems and a public cloud connected and used together, for example a bank keeping its core database in-house while running its website on AWS. Providers sell tools for this, such as AWS Outposts (AWS hardware in your building) and Azure Arc (managing your own servers from Azure).
- Multi-cloud: using more than one public provider, for example AWS for the app and Google Cloud for data analytics. It can avoid depending on a single vendor, but every provider has different services, permissions and bills, so it multiplies the work. Many companies end up multi-cloud by accident rather than by design.
Regions, availability zones and edge locations
The cloud is real buildings. Providers group them in three levels:
- A region is a geographic area with its own independent set of data centres, named with a code: AWS
eu-central-1(Frankfurt), Google Cloudeurope-west3(also Frankfurt), Azuregermanywestcentral. Most resources live in exactly one region, and your data stays there unless you copy it elsewhere. - An availability zone (AZ) is one or more data centres inside a region with separate power, cooling and networking, physically separated (typically by kilometres) and linked by fast private fibre. AWS names them by adding a letter (
eu-central-1a), Google by adding a suffix (europe-west3-a). AWS regions normally have three or more AZs, and Google Cloud regions and zone-enabled Azure regions usually have three. - Edge locations (points of presence) are many small sites in cities worldwide that sit close to users. They don't run your servers; they cache content (CloudFront, the AWS CDN), answer DNS (Route 53) and run tiny edge functions.
Spreading copies across two or more AZs protects you from a data-centre failure; copying to a second region protects you from a whole-region outage, at more cost and complexity. On AWS, eu-central-1a in your account is not necessarily the same building as eu-central-1a in someone else's: AWS maps the letters differently per account. When comparing across accounts, use the AZ ID (like euc1-az2), which is the same everywhere.
us-east-1 (N. Virginia) is special: some global features live there, such as billing metrics and the TLS certificates used by CloudFront.The shared responsibility model
Security in the cloud is split between you and the provider. AWS phrases it as: AWS is responsible for security of the cloud (buildings, hardware, the virtualisation layer, the global network), and you are responsible for security in the cloud (what you build and how you configure it). Where the line sits depends on the service model:
| Service | Provider handles | You handle |
|---|---|---|
| EC2 virtual machine (IaaS) | Hardware, hypervisor, physical network | OS updates, firewall rules (security groups), installed software, SSH keys, data, IAM permissions |
| RDS database (managed) | Also the OS and database engine patching, automated backups | Who can connect, network placement, choosing encryption and backup retention, your schema and data |
| Lambda function (FaaS) | Also the servers, OS and language runtime | Your code and its dependencies, the function's permissions, input validation |
| S3 storage | Durability, disks, the storage service itself | Who can read and write each bucket, encryption settings, versioning |
Whatever the model, your data, your identities and permissions, and your configuration are always your job. Most cloud breaches aren't provider failures; they're a public bucket, a leaked access key or a database open to the internet.
The same building blocks on AWS, Azure and Google Cloud
Learn the concepts once and the names are mostly translation:
| Building block | AWS | Azure | Google Cloud |
|---|---|---|---|
| Virtual machines | EC2 | Virtual Machines | Compute Engine |
| Object storage | S3 | Blob Storage | Cloud Storage |
| Block disks for VMs | EBS | Managed Disks | Persistent Disk, Hyperdisk |
| Managed SQL databases | RDS, Aurora | Azure SQL Database, Azure Database for PostgreSQL / MySQL | Cloud SQL, AlloyDB |
| NoSQL database | DynamoDB | Cosmos DB | Firestore, Bigtable |
| Serverless functions | Lambda | Azure Functions | Cloud Run functions |
| Serverless containers | ECS on Fargate | Container Apps | Cloud Run |
| Managed Kubernetes | EKS | AKS | GKE |
| Container registry | ECR | Container Registry (ACR) | Artifact Registry |
| Private network | VPC | Virtual Network (VNet) | VPC |
| Identity and permissions | IAM, IAM Identity Center | Microsoft Entra ID (formerly Azure AD) plus Azure RBAC | Cloud IAM |
| Monitoring and logs | CloudWatch | Azure Monitor | Cloud Monitoring, Cloud Logging |
| Provider's own IaC | CloudFormation, CDK | ARM templates, Bicep | Infrastructure Manager (runs Terraform) |
The differences are in the details. AWS organises everything into accounts; Azure into subscriptions and resource groups; Google Cloud into projects. A Google Cloud VPC is global with regional subnets, while AWS and Azure networks belong to one region. Terraform, covered in the DevOps topic, works with all three.
How to choose
- What the team already knows usually matters most. A provider your team can operate safely beats a slightly better one nobody understands.
- Existing ecosystem: companies built on Microsoft 365 and Active Directory often pick Azure; data and ML-heavy teams often like Google Cloud (BigQuery, GKE); AWS has the widest range of services and the largest community, so most tutorials and job ads assume it.
- Regions and compliance: is there a region near your users that meets your legal requirements?
- Managed services you need, and how much lock-in you accept. Plain VMs, containers and PostgreSQL move between clouds easily; DynamoDB or Cosmos DB don't.
- Cost for your actual workload, estimated with each provider's own pricing calculator rather than list-price comparisons.
For learning, pick one (this topic uses AWS) and go deep. The second cloud is much faster to learn than the first.
Common misconceptions
- "The cloud is always cheaper." Only if you size things properly and switch off what you don't use. The costs chapter shows where surprise bills come from.
- "The provider handles security." Only its half. Your configuration is on you.
- "The cloud never goes down." Whole AZs and occasionally whole regions have outages. Resilience is something you design, using several AZs.
- "Serverless means no servers." There are servers; you just don't see or manage them.