#Why this matters
Moving servers to Amazon Web Services (AWS), Microsoft Azure, or Google Cloud Platform (GCP) does not remove security duties; it redistributes them. Cloud providers protect physical datacentres, hardware, and virtualisation, yet most cloud breaches stem from customer misconfigurations such as exposed storage, over-privileged accounts, or unpatched virtual machines.
Knowing where the provider's job ends and yours begins prevents blind spots during architecture reviews, deployments, and incident response.
#Security of the cloud vs. security in the cloud
Cloud providers split ownership under the shared responsibility model:
- Security of the cloud belongs to the provider: physical security, host servers, storage hardware, the hypervisor enforcing tenant isolation, and the global network fabric.
- Security in the cloud belongs to the customer: identity permissions, data classification and encryption, virtual firewall rules, and application configuration.
- 5Data & IdentityCustomer always owns data classification and user access
- 4App & ConfigCustomer owns app code and firewall rules (provider in SaaS)
- 3Guest OS & RuntimeCustomer in IaaS; Provider in PaaS and SaaS
- 2Hypervisor & HostProvider manages virtualisation and tenant isolation
- 1Physical DatacentreProvider owns buildings, power, and hardware
Data and identity stay with the customer across every model. Even in SaaS, you still decide which users exist, require multi-factor authentication (MFA), and control who reads sensitive records.
#How IaaS, PaaS, and SaaS shift the boundary
NIST SP 800-145 defines three core service models. Moving from Infrastructure as a Service (IaaS) to Platform as a Service (PaaS) and Software as a Service (SaaS) shifts OS and runtime patching to the provider while leaving configuration and access governance with you.
| Control area | On-premises | IaaS (EC2 / Azure VM / GCE) | PaaS (RDS / Azure SQL / Cloud Run) | SaaS (M365 / Workspace) |
|---|---|---|---|---|
| Physical & host hardware | Customer | Provider | Provider | Provider |
| Guest OS patching | Customer | Customer | Provider | Provider |
| Runtime & DB engine | Customer | Customer | Provider | Provider |
| Network rules & TLS | Customer | Customer | Shared | Provider |
| Identities, roles & data | Customer | Customer | Customer | Customer |
If you run an outdated web server on an IaaS VM, the provider will not patch your guest OS. In a managed PaaS database, the provider patches the OS and database engine, while you manage network access, database privileges, and backups.
#Mapping AWS, Azure, and GCP building blocks
Terminology differs across providers, but the core security primitives align closely:
| Concept | AWS | Microsoft Azure | Google Cloud (GCP) |
|---|---|---|---|
| Isolation boundary | Account / Organization | Subscription / Management Group | Project / Folder / Organization |
| Identity & access | IAM (Users, Roles, Policies) | Microsoft Entra ID & Azure RBAC | Cloud IAM & Service Accounts |
| Virtual network | Amazon VPC | Azure Virtual Network (VNet) | GCP VPC |
| Object storage | Amazon S3 | Azure Blob Storage | Cloud Storage |
Every service separates into two planes:
- Control plane: APIs that create, modify, or delete resources (such as opening a firewall rule or creating an admin role).
- Data plane: Operations using existing resources (such as serving HTTPS traffic or reading stored objects).
Checking your active context in a CLI is a control-plane read confirming your identity and boundary:
$ aws sts get-caller-identity --output json
{
"UserId": "AIDAIEXAMPLEUSER12345",
"Account": "123456789012",
"Arn": "arn:aws:iam::123456789012:user/lab-auditor"
}
$ gcloud config get-value project
cybersamsu-lab-sandboxCompromising a control-plane credential lets an attacker disable logging, weaken encryption, or expose resources across the entire account or project.
#Defending and common mistakes
- Confusing provider compliance with workload compliance: Certifications like ISO 27001 or SOC 2 cover physical and host layers, not your configurations.
- Neglecting the control plane: Locking down web ports while leaving admin APIs without MFA or least privilege invites full-account takeover.
- Assuming managed means public-safe: Managed PaaS and SaaS tools still allow public sharing if misconfigured.
- Assuming identical defaults: Account isolation and IAM inheritance differ across AWS, Azure, and GCP, so verify each platform explicitly.
#Summary
The shared responsibility model divides duties into security of the cloud (provider) and security in the cloud (customer). Moving from IaaS to PaaS and SaaS shifts OS and runtime patching to the provider, while customers always own identities, configurations, and data. Distinguishing control-plane actions from data-plane traffic prepares you for IAM and network security in the next lessons.