Ravindra BagaleCourses & study guides Track your progress

Guides

What Is Cloud Security? Beginner’s Guide

Cloud security is the set of practices that keep data, identities, workloads and configurations safe when you run systems on a public cloud (AWS, Azure, Google Cloud and similar). The cloud provider secures the cloud (hardware, regions, core services); you secure what you put in the cloud — accounts, IAM, network rules, encryption, logging and the applications you deploy.

Friends! "We migrated to the cloud = automatically secure" — illusion. Shared responsibility: provider handles hardware/hypervisor; you handle identity, misconfig, data, app. Today beginner map — Capital One-era misconfig themes, MFA, least privilege. Own account / written authorisation only.

Quick answer

Cloud security beginner map (vertical):

  1. Understand shared responsibility — provider vs customer duties.
  2. Lock identity first — MFA, no daily root, least privilege.
  3. Hunt misconfigurations — public buckets, open admin ports, wild IAM.
  4. Encrypt data at rest and in transit with managed keys you control.
  5. Turn on audit logs and a threat/posture signal (GuardDuty / Defender / Security Command Center class).
  6. Segment networks; prefer private subnets for data tiers.
  7. Practise revoke and restore — keys, sessions, backups.

Tiny mental model:

Provider: buildings, metal, hypervisor, core API health
You: who can log in, what they can do, what is public, what is logged
Most breaches = identity + misconfig, not "broken AWS"

What do I need before this guide?

What is cloud security in plain language?

Cloud security shared responsibility Provider secures the cloud; you secure identity, config and data in the cloud. Provider Hardware Hypervisor Regions / AZ Core networking You (customer) Identity + MFA Config / IAM Data + keys App / network rules Top risks Misconfig Weak identity Public data No audit logs shared model

The provider secures the cloud platform; you secure identity, configuration and data in the cloud — shared responsibility.

Cloud security is not one product. It is a stack of habits:

  1. Identity — prove who is calling the API or console.
  2. Authorisation — allow only needed actions on named resources.
  3. Configuration — defaults that stay private unless you intentionally open them.
  4. Data protection — encryption, classification, retention.
  5. Visibility — logs, detections, posture findings.
  6. Response — revoke, isolate, restore, write it down.

Educational warning: practise in accounts you own or labs with written scope. Do not “test public exposure” on a company production account without change control.

Shared responsibility (the idea that interviews love)

Vertical split (IaaS-shaped; SaaS shifts more to the provider):

  1. Provider — physical data centres, hardware, hypervisor, foundational networking, availability of core control planes.
  2. Customer — guest OS patches (on IaaS VMs), application code, identity policies, firewall/security-group rules, data classification, encryption choices, logging on.
  3. Both — some managed services blur the line; read the provider’s shared-responsibility page for that service.
  4. Never assume “hosted in cloud = PCI / ISO done” — compliance needs your controls too.

Real incident: Capital One (2019) — misconfig and identity themes

Public reporting on the Capital One 2019 cloud breach described a misconfigured web application firewall / SSRF-class path that led to abuse of cloud metadata credentials and broad data access themes. Blue-team takeaways stay high-level:

  1. What happened (theme) — cloud-hosted data exposure via identity and configuration weaknesses discussed in public analyses.
  2. Care-take — treat instance/workload roles as crown jewels; scope them tightly.
  3. Care-take — do not leave management or data planes casually reachable from the internet.
  4. Care-take — watch cloud audit logs for unusual List/Get patterns from web tiers.
  5. Care-take — metadata service hardening (for example IMDSv2-style guidance on AWS) reduces casual theft themes.
  6. Bonus — leaked long-lived access keys in public repos remain a parallel classic failure mode.

Red Team vs Blue Team (awareness only)

Red Team — what attackers try (stages only)

  • Phish console passwords; abuse missing MFA.
  • Find misconfigured storage or admin ports left open.
  • Steal or abuse over-broad workload credentials (high-level).

Blue Team — defend, detect, respond

  • MFA on every human cloud login; no daily root.
  • Least privilege roles; short-lived federation over forever keys.
  • Continuous posture checks (public exposure, wild IAM).
  • Central CloudTrail / Activity / Audit logs with alerts.
  • Documented revoke path for keys and sessions.

How do I start securing a cloud account step by step?

Step 1 — Identity baseline

  1. Add MFA to the root / break-glass account; store recovery codes offline.
  2. Create a named admin user or SSO permission set for daily work.
  3. Ban shared “team” passwords in chat for cloud consoles.
  4. Prefer roles for EC2 / VMs / functions over permanent access keys.

Step 2 — Find obvious misconfigurations

  1. List storage buckets / blobs; confirm none are public unless intentional and reviewed.
  2. Review security groups / NSGs: SSH/RDP should not be 0.0.0.0/0 for daily use.
  3. Search for Administrator / Owner equivalents that nobody remembers.
  4. Turn on a free-tier posture or security hub style summary if available.

Step 3 — Logging and detection

  1. Enable account/org audit trails and send copies to a locked log bucket/account.
  2. Enable a managed detector (GuardDuty / Microsoft Defender for Cloud / SCC class).
  3. Alert on root login, disabled logging, and new access-key creation.
  4. Keep a one-page “who owns cloud security after hours” note.

Step 4 — Data and network hygiene

  1. Encrypt disks and object storage with customer-managed or account-default keys.
  2. Put databases in private subnets; no public IP unless you have a written reason.
  3. Separate prod and non-prod accounts when the team grows.
  4. Budget alarms so surprise crypto-mining shows up as money, not silence.

Step 5 — Practise response

  1. Tabletop: “AKIA key pasted to GitHub — revoke in 15 minutes?”
  2. Confirm you can restore one critical object/VM from backup.
  3. Link to your IR first 24 hours checklist.

Ravindra Bagale's Tip

💡 Many students say "we have no cloud security course so no job". In interviews say three things: shared responsibility, MFA + least privilege, misconfig hunting. Capital One-era lesson = identity + config, not a magic product. Turn on CloudTrail in your free-tier account — screenshot proof. Stay alert!

Quick vocabulary

  1. Shared responsibility — split of security duties between provider and customer.
  2. Misconfiguration — a setting left too open (public storage, wild IAM, open admin ports).
  3. Workload identity — role or service principal used by compute, not a human password.
  4. Posture management — continuous checks for risky cloud settings.
  5. Blast radius — how much an attacker can reach after one foothold.

Care-take — habits that prevent most cloud pain

  1. MFA everywhere humans exist.
  2. Never daily-drive root.
  3. Prefer roles and temporary credentials.
  4. Default deny on public exposure.
  5. Audit logs on and watched.
  6. Separate prod / sandbox accounts.
  7. Quarterly unused-access review.
  8. Written revoke and restore drills.

How do I fix common cloud-security misunderstandings?

Ghabru naka 😅 — these are the usual ones:

Symptom Likely cause Fix
“Cloud is secure, we are done” Shared-responsibility confusion List your duties: IAM, config, data, apps
Public bucket found in news Default or mistaken ACL Block public access; inventory monthly
Stolen key drained account Long-lived key + no MFA/alerts Roles, rotate, GuardDuty-class alerts, budgets
No idea who changed IAM Logging off Turn on trail; alert on policy changes
Open SSH from the world Convenience My IP / bastion / SSM-style access
Compliance checkbox only Paper ≠ control Evidence: MFA enforced, logs retained, findings closed

Try it at home

In a practice cloud account you own (AWS free tier, Azure free, or GCP free trial):

  1. Confirm MFA on your main login and on root/break-glass if present.
  2. Write five lines: what the provider does vs what you do for a VM.
  3. List one storage resource; prove it is not public.
  4. Enable audit logging and screenshot the “on” state.
  5. Never scan or change resources in someone else’s account.

Got it? Cloud security = shared responsibility + identity + misconfig hunting + logs. Provider handles metal; you handle keys, IAM, public exposure. Do not forget Capital One-era themes. Next: see AWS security checklist guide.

Frequently asked questions

What is cloud security?

Practices that protect identities, configurations, data and workloads you run on a public cloud.

What is shared responsibility?

The split of duties: the provider secures the cloud; you secure what you put in it.

What causes most cloud breaches?

Public analyses repeatedly highlight identity weaknesses and misconfigurations more than “broken cloud metal”.

Do I need a huge budget to start?

No. MFA, least privilege, logging and public-exposure hygiene are free-tier–friendly starters.

Is this an attack guide?

No. Defensive education on accounts you own or are authorised to manage.

Where are related guides?

AWS checklist, Azure basics, cloud IAM least privilege and Zero Trust guides on this site.