Learn how to secure networks, applications, and systems against digital threats.
Cloud security is the discipline of protecting workloads, data, and identities that live in a provider’s environment. The single most important idea is the Shared Responsibility Model: the cloud provider secures the cloud itself, while the customer secures what they put in it. Most cloud breaches are not exotic exploits — they are misconfigurations, over-broad permissions, and leaked credentials. This lesson teaches you to think about identity as the new perimeter, how to apply least privilege to cloud IAM, how to protect storage and networks, and how to detect problems through logging and monitoring. The examples use AWS-style concepts (IAM, S3 buckets, security groups) because those patterns generalize across providers. Everything is hypothetical and defensive.
| Cloud provider | Customer | |
|---|---|---|
| Physical security | Data centers, hardware | — |
| Hypervisor / host OS | Patch and secure | — |
| Service availability | Uptime of the service | — |
| Data and access | — | Classify and protect data |
| Identity and permissions | — | Configure IAM and least privilege |
| Configuration | — | Security groups, buckets, encryption |
| Application security | — | Secure the code you deploy |
| Model | Provider manages | Customer manages |
|---|---|---|
| IaaS | Physical, hypervisor, network fabric | OS, runtime, apps, data, config |
| PaaS | Everything up to the runtime platform | Your application and its data |
| SaaS | The entire application | Your data, users, and access settings |
As you move from IaaS to PaaS to SaaS, the provider takes on more responsibility, but the customer always owns their data, identities, and access controls.
In the cloud there is no physical network perimeter. Identity becomes the primary control: who (or what) can call which API on which resource.
A security group is a stateful virtual firewall for a resource (such as an instance or function). Rules are allow-based with an implicit deny.
A policy with a wildcard action on all resources violates least privilege.
(the second policy grants only what is needed)
A bucket holding customer data was left publicly readable.
(fix: block public access and scope to the app role)