Learning objectives
By the end of this module, you should be able to:
- Distinguish IaaS, PaaS and SaaS responsibilities.
- Explain regions, availability zones and failure domains.
- Apply the shared-responsibility model to concrete workload decisions.
- Compare CapEx-heavy ownership with OpEx-style consumption and explain why cloud cost remains an architecture concern.
Cloud changes who operates each layer
Cloud computing provides on-demand infrastructure and managed services through APIs. The architectural value is not simply renting servers; it is the ability to automate capacity, use managed control planes and design for failure.
IaaS leaves more operating responsibility with the customer. Managed databases and object storage shift more infrastructure operation to the provider, but data classification, identity, configuration and application security remain customer responsibilities.
Regions and availability zones are failure boundaries
A region is a geographic service area. Availability zones are isolated locations within a region designed so workloads can spread across failure domains. Multi-AZ design improves availability only when application, data and traffic paths are actually distributed.
Elasticity is not the same as scalability
Scalability is the ability to handle more load by adding capacity or changing architecture. Elasticity is the ability to add and remove capacity in response to demand. Both require observability and safe automation.
CapEx and OpEx change the financial model, not the need for engineering discipline
Traditional datacenter expansion often requires capital expenditure before capacity is used. Cloud commonly shifts more infrastructure spending toward operational expenditure tied to consumed services.
OpEx-style consumption can improve flexibility, but on-demand capacity is not automatically cheaper. Rightsizing, shutdown discipline, architecture choices and data-transfer patterns still determine cost.
Deployment models answer a different question from service models
IaaS, PaaS and SaaS describe how operating responsibility is divided. Public, private, hybrid and multi-cloud describe where services are delivered and how environments are combined.
Public cloud uses shared provider infrastructure exposed as cloud services. Private cloud dedicates a cloud operating model to one organization. Hybrid connects private/on-premises environments with public cloud. Multi-cloud deliberately uses services from more than one cloud provider. None of these labels automatically makes an architecture secure, resilient or inexpensive.
Worked examples
See the idea in practice.
Responsibility mapping
EC2-like VM: provider secures facilities/hypervisor; customer patches guest OS and application.
Managed object storage: provider operates storage platform; customer controls data, encryption choices, public access and IAM.
- The exact boundary varies by service.
- More managed does not mean no customer security responsibility.
Core lab · Modes 1–2 · Concept + local simulation
Lab — Build a responsibility matrix
Goal: Classify responsibilities for a VM, managed database and object storage service.
Before you start
- No cloud account required.
STEP 1Create a small matrix
cat > /tmp/cloud-responsibility.csv <<'EOF'
layer,vm,managed_db,object_storage
physical_datacenter,provider,provider,provider
hypervisor,provider,provider,provider
guest_os,customer,provider,provider
application,customer,customer,customer
data_classification,customer,customer,customer
iam_policy,customer,customer,customer
EOF
STEP 2Inspect the matrix
column -s, -t /tmp/cloud-responsibility.csv 2>/dev/null || cat /tmp/cloud-responsibility.csv
STEP 3Explain one boundary
Choose one row and explain why responsibility changes between service models.
Verify
- guest_os is customer responsibility for the VM but provider responsibility for the managed database/object-storage platform.
- IAM policy and data classification remain customer responsibilities.
Expected outcome
- You can reason about responsibility instead of assuming the provider secures every layer.
Diagnose / troubleshoot
- If column is unavailable, use cat; the matrix content is the evidence, not the formatting command.
- If you assign guest-OS patching to the provider for an IaaS VM, re-check the service boundary rather than changing the CSV.
Real-world connectionSecurity reviews often fail because teams do not explicitly map responsibility for patching, identity, encryption, backups and logging.
Mode 3 · Optional AWS lab
Optional AWS — inspect Regions and Availability Zones
Map provider-neutral Region/AZ concepts to the AWS control plane without creating resources.
Resources created
- None — this is a read-only inspection lab.
Estimated cost / risk
- Expected incremental resource cost: none because the supplied commands are read-only.
- Existing resources in the account can still incur their normal charges; confirm current AWS pricing for the selected Region/account.
Prerequisites
- Optional sandbox AWS account and AWS CLI.
- Use a least-privilege or federated identity; do not paste long-lived access keys into course files.
AWS 1aws sts get-caller-identity
AWS 2aws ec2 describe-regions --all-regions --query 'Regions[].RegionName' --output table
AWS 3aws ec2 describe-availability-zones --query 'AvailabilityZones[].{Zone:ZoneName,State:State}' --output table
Verify
- The caller identity is a sandbox identity you recognize.
- Region and Availability Zone data is returned.
- No AWS resources are created by the supplied commands.
Cleanup
- No AWS cleanup is required because this lab creates no AWS resources.
Warnings
- Optional only: not required for course completion or the main validator.
- Do not run against a production account unless authorized.
Avoid these traps
Common mistakes
- Treating cloud as merely someone else’s VM.
- Assuming a managed service removes customer IAM/data responsibilities.
- Deploying everything in one failure domain without understanding the availability objective.
Knowledge check
Can you explain it without looking back?
Open each answer only after you have tried to answer the question yourself.
1What changes as a service becomes more managed?
The provider operates more infrastructure layers, while the customer still owns responsibilities such as identity, data and secure configuration.
2Why use multiple availability zones?
To reduce exposure to a single-zone failure when the workload is actually distributed across them.
3What is elasticity?
Automatically or operationally adding and removing capacity as demand changes.
4Scenario: a company keeps regulated systems in its private environment but bursts web workloads into a public cloud. Which deployment model best describes this?
Hybrid cloud, because the architecture combines private/on-premises infrastructure with public-cloud services.