SynfraCore
Synfracore
Start Learning
Navigation

Academies

Platform

RoadmapsLabsCertificationsInterviewPYQsAI AssistantCareer
Start Learning Free Learning Roadmaps

Cloud Security β€” Overview

What it is, why it matters, architecture and key concepts

πŸ“„
Last updated Aug 2026
Expert Content

Cloud Security β€” Overview

Before you start: basic cloud fundamentals (what IAM, VPCs, and storage buckets are) and the concepts in [Network Security](/academies/security/network-security/overview) are assumed.

Cloud Security for Security Engineers

Cloud security covers the policies, technologies, and controls deployed to protect cloud data, applications, and infrastructure from threats.

Why This Exists (The Hook)

On-prem, a misconfiguration usually stays contained behind a physical firewall β€” an unlocked door in a building nobody outside the office can reach. In the cloud, a single misconfigured setting β€” an S3 bucket left public, a security group open to 0.0.0.0/0 β€” is instantly reachable by anyone on the internet, not just someone already inside your network. Cloud security exists because the traditional perimeter (a firewall around a building) doesn't exist anymore; every resource is potentially internet-facing by default, so the controls that used to be physical (a locked server room) now have to be configuration (an IAM policy, a security group rule) β€” and configuration is far easier to get wrong silently.

Analogy β€” Think of a cloud account like a hotel with hundreds of rooms, where every room's lock is a setting you configure yourself, not a lock the building installs for you. A traditional data center is like an office building with one guarded front door β€” get past that, you're still in a hallway of individually locked offices. A cloud account is closer to a hotel where each room's door lock, guest list, and alarm system are configured independently by whoever set up that room β€” get one room's lock wrong (a public S3 bucket, an open security group) and it's directly exposed to the street, regardless of how secure every other room is.

Try it (2 minutes) β€” Reason through why "0.0.0.0/0 inbound on port 22" shows up on every CSPM misconfiguration list, without looking anything up: 0.0.0.0/0 means "any IP address on the internet," and port 22 is SSH (remote server login). If a security group allows that combination, what can literally anyone on the internet attempt against that server, with no other access required first β€” and why would that be true even if the server has a strong password?

Key domains for Security Engineers:

β€’Identity and Access Management (IAM) in cloud
β€’Network security (security groups, NACLs, VPC design)
β€’Data protection (encryption at rest, in transit)
β€’Threat detection (AWS GuardDuty, Azure Defender, GCP SCC)
β€’Compliance and governance (SOC2, ISO27001, PCI-DSS in cloud)
β€’CSPM (Cloud Security Posture Management)

AWS Security Fundamentals

Identity β€” Zero Trust Architecture

Principle: Least privilege for every identity
- Users: Human identities (use MFA, no long-term keys)
- Roles: Machine identities (EC2, Lambda, ECS tasks)
- Groups: Collection of user permissions

IAM Policy evaluation:
1. Explicit Deny β†’ DENY (always wins)
2. Explicit Allow β†’ ALLOW
3. Implicit Deny (default) β†’ DENY

AWS Security Services

GuardDuty
ML-based threat detection -- compromised instances, crypto mining
Security Hub
Aggregated security findings -- central SIEM for AWS
Config
Configuration compliance -- detects drift from security baseline
CloudTrail
API audit log -- who did what, when
ServicePurposeKey Use

|---------|---------|---------|

AWS GuardDutyThreat detection (ML-based)Detect compromised instances, crypto mining
AWS Security HubAggregated security findingsCentral SIEM for AWS
AWS ConfigConfiguration complianceDetect drift from security baseline
AWS InspectorVulnerability scanningCVEs in EC2, containers, Lambda
AWS MacieS3 data classificationFind PII in S3 buckets
AWS CloudTrailAPI audit logWho did what, when
AWS WAFWeb application firewallBlock OWASP Top 10 at the edge
AWS ShieldDDoS protectionL3/L4 DDoS mitigation

Azure Security Fundamentals

Microsoft Defender for Cloud

β€’Secure Score: Percentage of recommendations implemented
β€’CSPM: Cloud Security Posture Management β€” identify misconfigurations
β€’CWPP: Cloud Workload Protection β€” runtime threat detection for VMs, containers

Key Azure Security Controls

Network Security Groups (NSG)
L4 stateful firewall per subnet/NIC
Azure Firewall
L7 FQDN filtering, TLS inspection, threat intelligence
Azure DDoS Protection
L3/L4/L7 protection, automatic mitigation
Azure Private Link
Private connectivity to PaaS without internet exposure
Microsoft Entra ID
Identity provider, Conditional Access, just-in-time PIM access
Network Security Groups (NSG): L4 stateful firewall per subnet/NIC
Azure Firewall: L7 FQDN filtering, TLS inspection, threat intelligence
Azure DDoS Protection: L3/L4/L7 protection, automatic mitigation
Azure Private Link: Private connectivity to PaaS without internet exposure
Microsoft Entra ID: Identity provider, Conditional Access, PIM for just-in-time access

CSPM β€” Cloud Security Posture Management

Common misconfigurations CSPM detects:

1.S3 bucket / Blob storage publicly readable
2.Security groups with 0.0.0.0/0 inbound on port 22/3389
3.Root AWS account has no MFA
4.CloudTrail not enabled in all regions
5.Encryption not enabled on RDS / EBS volumes
6.IAM users with access keys older than 90 days
7.No password policy (min length, rotation)
8.Public RDS instances

Tools: AWS Security Hub, Azure Defender, Prisma Cloud, Wiz, Orca Security, Lacework


Cloud Security Checklist (Production)

β€’[ ] MFA enabled on all privileged accounts
β€’[ ] No hardcoded credentials in code / environment variables
β€’[ ] Secrets in dedicated vault (AWS Secrets Manager, Azure Key Vault)
β€’[ ] All storage encrypted at rest (AES-256)
β€’[ ] All traffic encrypted in transit (TLS 1.2+)
β€’[ ] Least privilege IAM β€” no wildcard permissions in production
β€’[ ] VPC Flow Logs enabled
β€’[ ] CloudTrail / Activity Log enabled and exported to SIEM
β€’[ ] GuardDuty / Defender for Cloud enabled
β€’[ ] Security group audit β€” no 0.0.0.0/0 on sensitive ports
β€’[ ] Patch management schedule defined
Share:
Join our Community
Daily tips, job alerts, interview help β€” join engineers learning together
β†’
Up Next
βœ…
Cloud Security β€” Prerequisites
What to know or set up before starting
Also Worth Exploring
← Back to all Cloud Security modules
Prerequisites β†’