Cloud Security Tutorial
Learn Cloud Security step by step: 38 lessons in 9 chapters with examples, quizzes, diagrams and projects.
Start learning →
of lessons completed
Getting Started
- What Is Cloud Security? Learn what cloud security is, why it differs from traditional IT security, which areas it covers, and how this course works, with a runnable inventory example.
- Cloud Service and Deployment Models Understand IaaS, PaaS, SaaS, FaaS and public, private, hybrid and multi-cloud deployments, and what each choice means for who secures what.
- Security Principles: CIA, Defense in Depth and Zero Trust Learn the CIA triad, defense in depth, least privilege, separation of duties and zero trust, and how to apply each to cloud systems with a runnable example.
- Setting Up a Safe Cloud Learning Lab Build a safe, cheap, legal cloud security lab: separate accounts, budgets, MFA, tagging, cleanup habits and rules of engagement, with a runnable lab-readiness checker.
Shared Responsibility and Threats
- The Shared Responsibility Model Learn what the cloud provider secures and what you secure in IaaS, PaaS and SaaS, the common misunderstandings that cause breaches, and how to map controls to owners.
- The Cloud Threat Landscape A defender's tour of the main cloud threats: credential theft, misconfiguration, insecure APIs, insider risk, supply chain, DDoS and cryptojacking, with log-based detection practice.
- Misconfiguration and Exposed Storage Why cloud misconfiguration is the top cause of breaches, how public buckets and open ports happen, and how to detect and prevent them with a runnable policy checker.
- Threat Modeling for Cloud Workloads Learn a practical four-question threat modeling process, draw data flow diagrams, apply STRIDE to cloud components, and rank risks with a runnable scoring example.
- Attack Paths and Blast Radius Learn how a single weakness chains into a larger cloud compromise, how to measure blast radius, and how account separation and permissions limit it, with a runnable graph example.
Identity and Access
- Identity and Access Management Fundamentals Learn the building blocks of cloud IAM: principals, authentication versus authorization, users, groups, roles, policies and the allow/deny decision, with a runnable evaluator.
- Least Privilege and Policy Design Learn to write least-privilege cloud policies: scope actions and resources, use conditions, permission boundaries and RBAC, and find unused permissions with a runnable analyzer.
- Authentication, MFA and Federation Understand strong cloud authentication: password hygiene, MFA types, phishing-resistant keys, single sign-on with SAML and OpenID Connect, and a runnable TOTP code generator.
- Roles, Temporary Credentials and Secrets Replace long-lived access keys with roles and short-lived tokens, manage secrets safely, rotate them, and detect leaked keys in code with a runnable secret scanner.
- Privileged Access and IAM Auditing Control the most powerful cloud identities: just-in-time access, break-glass accounts, access reviews, joiner-mover-leaver processes and an automated stale-access audit.
Network and Data Protection
- Cloud Network Segmentation and Security Groups Design secure cloud networks: virtual networks, public and private subnets, security groups versus network ACLs, private endpoints and egress control, with runnable CIDR and rule checkers.
- Firewalls, WAF and DDoS Protection Understand network firewalls, web application firewalls, rate limiting and DDoS defenses in the cloud, plus a runnable token-bucket limiter and simple WAF rule engine.
- Encryption at Rest and in Transit Learn how cloud encryption protects stored data and network traffic: AES, TLS, certificates, integrity with HMAC, and what encryption does and does not protect, with runnable demos.
- Key Management: KMS, HSM and Envelope Encryption Learn how cloud key management services work: key hierarchies, envelope encryption, rotation, key policies, HSMs, BYOK and crypto-shredding, with a runnable envelope encryption model.
- Data Classification, DLP and Backup Protection Classify cloud data, find sensitive information with pattern matching and checksums, prevent data loss, and protect backups from ransomware with the 3-2-1 rule, plus runnable examples.
Container and Serverless Security
- Container Image Security Learn how to build safer container images: choose small base images, avoid root, keep secrets out of layers, pin versions and scan for known vulnerabilities.
- Kubernetes Security Basics Learn the core Kubernetes security controls: RBAC, pod security settings, network policies, secrets, admission control and API server hardening, with runnable checks.
- Container Runtime and Registry Security Protect containers while they run and where images are stored: isolation layers, seccomp, capabilities, runtime detection, registry access control and image signing.
- Serverless Security Secure serverless functions: per-function least privilege, event input validation, secrets, dependency risk, denial of wallet and logging, with runnable examples.
Monitoring and Detection
- Cloud Logging and Audit Trails Learn which cloud logs matter (control plane, data plane, network, application), how to structure and protect them, and how to read an audit event, with runnable examples.
- Detecting Suspicious Activity in the Cloud Learn practical cloud threat detection: rules vs baselines, brute force and impossible travel detection, privilege escalation sequences, false positives and tuning.
- Alerting and SIEM in the Cloud Understand how a SIEM collects, normalises and correlates cloud logs, how to design alerts people can act on, and how to cut noise with deduplication and routing.
- Cloud Incident Response Learn how to respond to a cloud security incident: preparation, detection, containment, evidence, eradication, recovery and lessons learned, with a timeline-building exercise.
Compliance and Governance
- Compliance Frameworks Overview A plain-language tour of cloud compliance: ISO 27001, SOC 2, PCI DSS, HIPAA, GDPR, CIS benchmarks and NIST CSF, how controls map to evidence, and compliance vs security.
- Policy as Code Learn policy as code: express security rules as testable code, enforce them in pipelines and clusters, and understand OPA/Rego, Kyverno and cloud guardrails with runnable examples.
- Posture Management and Cloud Misconfiguration Learn why misconfiguration is the top cloud risk, how CSPM tools and CIS benchmarks find it, how to prioritise findings and detect configuration drift, with runnable scanners.
- Data Privacy and Residency in the Cloud Learn data classification, personal data basics, data residency and sovereignty, retention, pseudonymisation and masking, and how to find sensitive data in the cloud.
DevSecOps
- Shift-Left Security Learn shift-left security and DevSecOps: threat modelling, security checks across the CI/CD pipeline (SAST, SCA, secrets, IaC, DAST), quality gates and developer-friendly practice.
- Infrastructure as Code Scanning Find cloud misconfigurations before deployment: how IaC scanners read Terraform, CloudFormation and Kubernetes files, common findings, fixes, suppressions and plan scanning.
- Secrets Scanning and Management in Pipelines Stop credential leaks: how secret scanners find keys with patterns and entropy, pre-commit and push protection, rotating leaked keys, OIDC instead of static keys and secret managers.
- Supply Chain Security and SBOM Understand software supply chain attacks and defences: SBOM formats, lockfiles and hash pinning, typosquatting, dependency confusion, build provenance, SLSA and artifact signing.
Projects and Practice
- Project: A Cloud Configuration Auditor Build a small cloud configuration auditor step by step: a rule registry, a JSON inventory, severity scoring, suppressions with expiry, a report and a CI exit code.
- Project: A Cloud Log Threat Hunter Build a threat-hunting tool for cloud audit logs: parse events, learn a baseline per identity, flag rare actions and new addresses, score sessions and write an incident summary.
- Practice: Cloud Security Review and Checklist Practise a cloud security review: a layered checklist, spot-the-flaw architecture scenarios, a risk scoring exercise and a self-assessment script to plan your next steps.