Non-Fiction, Informative, Educational

Cloud Security Engineering eBook

A Coursebook on Cloud Security Engineering

by Covert Coreen

  • English
  • 133 pages
  • 2026
  • SamEnrico

A Coursebook on Cloud Security Engineering

Formats

Free sample

Chapter 1: The $5 Billion Blind Spot--–- The notification arrived at 2:14 AM on a Tuesday. Sarah, the on-call security engineer for a mid-sized fintech company, groggily swiped her phone to read the alert from Cloud Trail: "Root user login from unrecognized IP address - 203.0.113.45." Her heart stopped. Root user logins were supposed to be impossible—the credentials had been rotated six months ago and stored in a hardware security module that required two physical keys to access. Someone had just authenticated as the most privileged identity in their entire AWS organization, from an IP address geolocating to a coffee shop in a city where the company had no employees.By the time Sarah pulled up the console, the attacker had already enumerated every S3 bucket, downloaded the IAM policy document for the break-glass admin role, and launched four new EC2 instances in a region the company didn't even use. The total time from first login to containment: forty-seven minutes.

The total cost: $3.2 million in customer data exposed, regulatory fines pending, and a stock price that would drop 14% when the market opened. The root cause? A single configuration setting that had been changed eighteen months earlier by an intern who needed to test something "real quick" and forgot to change it back.This is not a cautionary tale. This is Tuesday in cloud security.The Perimeter That Never Existed If you came to cloud security from traditional IT, you probably learned a comforting lie. The lie goes like this: build a strong wall around your castle, guard the gates carefully, and everything inside is safe.

Put firewalls at the network boundary, run intrusion detection systems on the ingress and egress points, segment internal networks with VLANs, and trust that anything coming from inside the perimeter is legitimate. This model, variously called "castle-and-moat" or "perimeter security," worked reasonably well when your data center was a physical building with doors, guards, and locked server racks.The cloud has no walls.This statement is so obvious that it sounds trivial, yet its implications destroy almost every security assumption you inherited from traditional IT. In a cloud environment, your "network" is a software construct that exists simultaneously on hardware owned by someone else, physically located in data centers you cannot enter, and accessible from any internet-connected device on the planet. Your servers are not servers—they are API endpoints that can be created, modified, or destroyed by anyone holding valid credentials. Your data storage is not a disk drive—it is a URL that can be made public or private with a single configuration flag.The traditional security model asked: "Is this traffic coming from inside our network?" If yes, trust it.

The cloud security model must ask a completely different question: "Does the identity presenting these credentials have explicit permission to perform this specific action on this specific resource at this specific time?" Notice what is missing from that question: any reference to network location. In the cloud, an API call from your headquarters office and an API call from a compromised laptop in a coffee shop in Bucharest are indistinguishable except for the credentials presented and the authentication factors provided.This shift—from location-based trust to identity-based verification—is the single most important concept in cloud security. Get it wrong, and no amount of firewalls, WAF rules, or intrusion detection systems will save you. Get it right, and you can survive almost anything except catastrophic provider failure.The Shared Responsibility Model: Your Contract with Reality Cloud providers love to talk about the Shared Responsibility Model. They include diagrams in their documentation, present slides at conferences, and embed it in every certification exam.

But most engineers treat it as marketing boilerplate—something to skim past on the way to the interesting parts about configuring load balancers and auto-scaling groups. This is a catastrophic mistake.The Shared Responsibility Model is not a suggestion. It is the legally binding contract about who is responsible for what in a cloud environment. The cloud provider guarantees certain things: physical security of their data centers, hardware integrity, patching of the hypervisor, availability of their control plane. You guarantee everything else: identity management, data classification, network configuration, patch management on your guest operating systems, application security, and—most critically—configuration of every security control the cloud provider makes available to you.Here is what this means in practice.

If Amazon Web Services has a bug in their S3 service that exposes customer data, that is their fault. If you set an S3 bucket to public because you misconfigured the bucket policy, that is your fault. If Microsoft Azure has an authentication bypass in Azure Active Directory, that is their fault. If you forgot to enable multi-factor authentication on a privileged account, that is your fault. If Google Cloud has a vulnerability in their KMS implementation, that is their fault.

If you failed to rotate an encryption key for three years, that is your fault.The pattern is clear: the provider is responsible for the security of the cloud. You are responsible for security in the cloud. And here is the uncomfortable truth that no cloud provider will tell you directly: the vast majority of cloud data breaches happen not because of provider vulnerabilities, but because customers misconfigure the controls the provider gave them. The Capital One breach of 2019—over 100 million customer records exposed—happened because a Web Application Firewall (WAF) was misconfigured, allowing a Server-Side Request Forgery (SSRF) attack that reached the EC2 metadata service. That was not an AWS bug.

That was a configuration error. The Uber breach of 2022—full environment takeover—happened because an external contractor's compromised credentials were stored in a Power Shell script on a shared drive. That was not an Azure bug. That was a credential management failure.The Six Deadly Misconfigurations After analyzing hundreds of cloud security incidents across AWS, Azure, and Google Cloud, a pattern emerges. Despite the infinite variety of cloud architectures and applications, almost all breaches trace back to one of six configuration failures.

I call these the Six Deadly Misconfigurations. Memorize them. They will save your career.Deadly Misconfiguration #1: Publicly Exposed Storage The cloud made storage so easy that engineers started using it for everything. Logs, backups, user uploads, configuration files, session data—put it all in a bucket, give it a URL, and forget about it. The problem is that cloud storage has permissions, and those permissions default to private for a reason.

Changing them to "public" might fix a broken integration or allow a demo to work, but it also opens your data to anyone with an internet connection and a bucket name guesser.The attack is trivial. Attackers run tools that enumerate common bucket names: yourcompany-backups, yourcompany-logs, yourcompany-userdata. If the bucket is public, they download everything. If it is also configured to allow write access, they upload malware or defacement content. The cost of this mistake is measured in headlines, fines, and lost customers.Deadly Misconfiguration #2: Overly Permissive IAM Roles IAM policies are complex.

They use JSON syntax, support conditions and variables, and can be attached to users, groups, roles, and resources. In the face of this complexity, engineers take a shortcut: they grant wildcard permissions. "Action": "*"…

This is the end of the free sample. Get the eBook to keep going. Buy now

About this book

A Coursebook on Cloud Security Engineering

Details

Author
Covert Coreen
Publisher
SamEnrico
Language
English
Genre
Non-Fiction, Informative, Educational
Released
2026-05-06
Pages (approx.)
133
Available as
eBook, Audiobook

Read better in the ZLOADR app

Your eBooks on your phone or tablet. Sign in with your SamEnrico account and start reading.

More by Covert Coreen

See all