Cloud Computing Concepts
The service models, shared responsibility and regional design that every cloud provider is built on, so each new provider feels familiar.
Beginner · about 4 hours · difficulty 2/5
Learn first: How the Internet Works: TCP/IP and the OSI Model
Every major cloud sells the same basic ideas under different names. Learn the ideas first and the product catalogue becomes a lookup exercise instead of a memorisation exercise.
Service models
- IaaS: you rent virtual machines, disks and networks and manage the OS yourself (EC2, Azure VMs, Compute Engine).
- PaaS / managed services: the provider runs the platform, you bring code or data (managed databases, App Service, Cloud Run).
- SaaS: finished software you configure, not operate.
- Serverless: you pay per request or per second, and capacity scales to zero.
The shared responsibility model
The provider secures the physical data centres, hypervisors and managed service internals. You are still responsible for identity, network exposure, OS patching on VMs, encryption settings and your data. Most real cloud breaches are misconfigurations on the customer side: a public bucket, an open security group, a leaked access key.
Geography and failure domains
A region is a metro area with several isolated availability zones (separate power and networking). Spread anything important across at least two zones. Multi-region is far more expensive and only needed for strict latency or disaster recovery goals.
Pricing basics
You pay for compute time, storage, requests and, often painfully, data transfer out and between zones. Reserved or committed-use discounts and spot/preemptible capacity can cut compute bills dramatically.
Good enough to move on: you can explain IaaS vs PaaS vs serverless with one example each, describe who patches what under shared responsibility, and say why a single-zone design is a risk.
Key concepts
- IaaS, PaaS, SaaS and serverless
- Shared responsibility model
- Regions and availability zones
- Elasticity and autoscaling
- Pricing models: on-demand, reserved, spot
- Data transfer costs
- Well-Architected frameworks: Each provider publishes one: reliability, security, cost, performance, operations
Mini project
Write a one-page design for hosting a small web app on any cloud: which service model you picked for each piece, how many zones, and a rough monthly cost from the provider's pricing calculator.
Check yourself
Your app runs on VMs in a managed cloud. Who is responsible for patching the kernel, and who is responsible for the hypervisor?
Free resources
- What is cloud computing? (AWS)
- AWS Well-Architected (AWS)
- Cloud Architecture Center (Google Cloud)