Glossary/Detection Engineering/Public Cloud Security

What Is Public Cloud Security? A Defender's Guide

Public cloud security is the set of controls, policies, and practices that protect data, applications, and workloads running on shared, multi-tenant infrastructure owned and operated by a third-party provider such as AWS, Microsoft Azure, or Google Cloud.

A developer spins up an S3 bucket to share a dataset with a contractor, sets it to public for ten minutes to test the link, and forgets to set it back. Six weeks later a researcher finds it indexed, full of customer records. No exploit. No malware. No alert from the provider, because nothing was broken into. A box was ticked that should not have been, on infrastructure the provider runs and the customer configures. That is the defining shape of a public cloud incident: the provider's platform worked exactly as designed, and the customer's configuration did the damage.

Public cloud security is the set of controls, policies, and practices that protect data, applications, and workloads running on shared infrastructure owned and operated by a third-party provider like Amazon Web Services, Microsoft Azure, or Google Cloud. This guide covers what public cloud security actually means, where the provider's job ends and yours begins, the risks that are specific to renting multi-tenant infrastructure, and a defender's checklist for the part of the stack you are responsible for.

What is public cloud security?

Public cloud security is the practice of protecting the data, identities, and workloads you run on a public cloud provider's infrastructure, where you control the configuration but the provider owns the hardware and the platform. The public part is literal: the underlying compute, storage, and network are shared, multi-tenant resources, rented on demand and accessed over the internet. You do not own the machine your workload runs on, and you do not see your neighbors, but you are fully responsible for how you configure your slice of it.

That ownership split is the entire subject. In an on-premises data center you own the whole stack, from the locked door to the application code. In the public cloud the provider secures the physical facilities, the hypervisor, the host operating system, and the global network. You secure your data, your identities, your access policies, your network rules, and every configuration choice on top. The provider gives you secure building blocks. Whether you assemble them securely is on you.

This is why public cloud security is not just on-prem security moved to someone else's computer. The controls are different (identity and API policy instead of physical network position), the attack surface is different (a misconfigured permission is reachable from anywhere on the internet), and the failure mode is different (the most common breach is a setting, not an exploit).

The shared responsibility model

Public Cloud Security
The shared responsibility line
The provider secures the cloud. You secure what you put in it. Breaches happen on your side of the line.
Provider
Security OF the cloud
Data centers, hardware, the hypervisor that isolates tenants, host patching, and the backbone network. You cannot touch it and do not have to.
Rarely the cause of a breach.
Customer
Security IN the cloud
Your data and encryption, identities and permissions, network rules and open ports, OS patching, application code, and every configuration choice.
Where almost every public cloud breach lives.
The number that matters Gartner projected that through 2025, 99 percent of cloud security failures would be the customer's fault, almost always a misconfiguration on your side of the line.

Every public cloud provider runs on a shared responsibility model, and misreading it is the single most common reason cloud estates get breached. The model draws a line: the provider is responsible for security of the cloud, and the customer is responsible for security in the cloud.

Security of the cloud is the provider's half. AWS, Azure, and Google Cloud secure the data centers, the hardware, the hypervisor that isolates one tenant from another, the host patching, and the backbone network connecting their regions. This is the part you cannot touch and do not have to, backed by the provider's audited compliance attestations.

Security in the cloud is your half. Your data and how it is classified and encrypted. Your identities, roles, and the permissions attached to them. Your network configuration: security groups, firewall rules, which ports face the internet. Your operating system patching on the instances you run. Your application code. Everything you put into the cloud and every setting you choose around it.

The exact line shifts with the service model. On infrastructure as a service (IaaS) you patch the guest operating system; on a managed database or a serverless function the provider takes more of the stack and you take less, but you never stop owning your data, your access policy, and your configuration. Gartner's widely cited projection is that through 2025, 99 percent of cloud security failures would be the customer's fault, almost always a misconfiguration on the customer's side of the line. The takeaway is not that providers are flawless. It is that the half you control is the half that gets breached.

The risks specific to public cloud

Most generic security risks apply in the cloud too. These are the ones that exist because the infrastructure is public, multi-tenant, and reached over the internet.

Misconfiguration is the dominant cause. A storage bucket set to public, a security group open to 0.0.0.0/0, an over-permissive IAM role, logging left off. None of these is an exploit. Each is a setting on the customer's side of the responsibility line, and each is reachable from the entire internet the moment it is wrong. Misconfiguration is consistently the leading cause of public cloud data exposure precisely because the surface is public by default in a way an on-prem subnet is not.

Identity is the new perimeter. There is no network edge to hide behind. Access to a public cloud account is governed by identity and API permissions, so a leaked access key, an over-scoped role, or a phished console login is the breach. An attacker with a valid credential does not need an exploit; the API does exactly what the permission allows. This is why credential hygiene and least privilege matter more here than almost anywhere else.

A public-facing, ever-changing attack surface. Resources spin up and down by the minute, often via automation, and any one of them can be exposed to the internet by a single field in a template. An asset that did not exist this morning can be public this afternoon. Inventory and exposure drift faster than a quarterly review can track.

Multi-tenancy and account sprawl. You share physical infrastructure with strangers, so isolation depends on the provider's controls holding (their half) and on you not weakening them with public sharing settings (your half). Across many accounts, subscriptions, and projects, that surface multiplies, and a single forgotten account with a weak policy is a way in.

Data exposure and exfiltration. Data sitting in object storage, snapshots, and managed databases is one permission change away from public. Unencrypted data, public snapshots, and over-broad read access turn a configuration slip into a data breach without anyone having to break anything.

Limited native visibility. The provider does not hand you a finished SOC. You get raw control-plane logs (AWS CloudTrail, Azure Activity Log, Google Cloud Audit Logs), and turning them into detection is your job. Logging that is off by default, or on but never read, is the quiet failure underneath most of the others.

Public cloud vs private and hybrid

Public cloud is one of three deployment models, and the security work differs across them. The distinction matters because the responsibility line and the attack surface move with the model.

Public cloudPrivate cloudHybrid cloud
InfrastructureProvider-owned, multi-tenant, sharedDedicated to one organizationPublic and private joined
Who owns the hardwareThe providerYou (or a dedicated host)Both, split across the estate
Responsibility splitShared: provider of, customer inYou own nearly the whole stackBoth models apply at once
Dominant riskMisconfiguration, exposed identitySelf-managed patching and scaleCross-environment movement at the seam
Reached overThe public internetPrivate network, controlled accessBoth, plus the link between them

Public cloud trades ownership for speed and scale: you give up control of the hardware and gain elasticity, but you inherit a shared responsibility model and an internet-facing surface. Private cloud keeps more control and more of the work. Hybrid joins the two and adds the boundary between them as a third problem. This article stays on the public side. The seam between environments is the subject of hybrid cloud security, and it is a different discipline.

How to secure a public cloud: a defender's checklist

The defensive program follows directly from the risks. None of it is exotic. The discipline is owning your half of the responsibility line completely and never assuming the provider covers something it does not.

  1. Know exactly where your responsibility starts. Read the shared responsibility model for every service you use, because the line moves between IaaS, managed services, and serverless. The breaches happen in the gap where the customer assumed the provider had it. Map your duties per service before anything else.
  1. Treat identity as the perimeter. Enforce least privilege on every role and key, require strong multi-factor authentication on all human and privileged access, rotate and scope access keys, and eliminate long-lived credentials where short-lived ones will do. A right-sized identity access management policy is the highest-leverage control in a public cloud, because identity is what an attacker uses instead of an exploit.
  1. Close the misconfiguration gap continuously. Use cloud security posture management to scan configuration against benchmarks (CIS, the provider's well-architected guidance) and flag public buckets, open security groups, and over-broad roles the moment they appear. Point-in-time review cannot keep up with infrastructure that changes by the minute; the check has to be continuous.
  1. Encrypt data at rest and in transit, and default to private. Turn on encryption for storage, snapshots, and databases, manage keys deliberately, and make private the default for every storage resource so that public access is an explicit, reviewed exception rather than a forgotten checkbox.
  1. Turn on logging and actually read it. Enable control-plane logging (CloudTrail, Activity Log, Audit Logs) across every account and region, centralize it, and ship it to a SIEM so the SOC can hunt and alert on it. Logs you never analyze are storage, not detection.
  1. Inventory continuously and reduce the public surface. You cannot defend an asset you have not discovered. Maintain a live inventory across accounts, find internet-facing resources, and shrink the exposed surface to what genuinely needs to be public. Automate the discovery, because the surface moves faster than a human can audit it.
  1. Scan workloads and images, and patch your half of the stack. On IaaS you own guest OS patching; everywhere you own the application and its dependencies. Scan container images and workloads before deployment and continuously after, and patch what the provider does not.

Frequently Asked Questions

What is public cloud security?

Public cloud security is the set of controls, policies, and practices that protect data, applications, and workloads running on shared, multi-tenant infrastructure owned and operated by a third-party provider such as AWS, Microsoft Azure, or Google Cloud. The provider secures the underlying hardware and platform, and the customer secures their own data, identities, access policies, and configuration on top of it.

What is the shared responsibility model in public cloud?

It is the framework that divides security duties between the provider and the customer. The provider is responsible for security of the cloud (the physical infrastructure, hypervisor, host patching, and network), and the customer is responsible for security in the cloud (their data, identities, access controls, network configuration, and application code). The exact line shifts with the service model, but the customer always owns their data and configuration.

Why is misconfiguration the biggest public cloud risk?

Because public cloud resources are reachable over the internet and configured by the customer, a single wrong setting (a public storage bucket, an open security group, an over-permissive role) exposes data to the entire internet without any exploit. Gartner projected that through 2025, 99 percent of cloud security failures would be the customer's fault, and misconfiguration is the most common form. The setting, not an attacker's tool, is usually the breach.

Is the public cloud less secure than on-premises?

Not inherently. Major providers secure their infrastructure to a standard most organizations cannot match on-premises. The risk shifts rather than grows: the attack surface becomes identity and configuration reachable over the internet rather than physical and network position. Public cloud incidents are usually customer-side misconfigurations, not provider failures, so the security depends heavily on how well the customer owns their half of the responsibility model.

What is the difference between public, private, and hybrid cloud security?

Public cloud runs on shared, provider-owned infrastructure under a shared responsibility model, where misconfiguration and exposed identity dominate the risk. Private cloud is dedicated to one organization, which owns nearly the whole stack and the work that comes with it. Hybrid joins public and private and adds the boundary between them as a third risk surface where cross-environment movement happens. The responsibility line and the attack surface move with the model.

How do you secure data in the public cloud?

Encrypt data at rest and in transit, manage encryption keys deliberately, and make private the default for every storage resource so public access is an explicit exception. Scope access to that data with least-privilege identity policies and strong multi-factor authentication, turn on and monitor control-plane logging, and use posture management to catch any storage that becomes publicly readable. The goal is that exposing data takes a reviewed, deliberate action, not a forgotten checkbox.

Who is responsible if there is a breach in the public cloud?

It depends on which side of the responsibility line the failure was on. If the provider's infrastructure, hypervisor, or physical security failed, that is the provider's responsibility, which is rare. Far more often the failure is a customer-side misconfiguration, a leaked credential, or an over-permissive policy, all of which sit in the customer's half of the model. In practice the customer owns the consequences of how they configured their environment.

The bottom line

Public cloud security is the protection of data, identities, and workloads running on shared infrastructure that a third-party provider owns and you configure. It runs on a shared responsibility model: the provider secures the cloud, you secure what you put in it, and the line between those two halves is where breaches happen. The risks that define the public cloud are misconfiguration, exposed identity, an internet-facing and ever-changing attack surface, and data one permission change away from public.

For a defender, the work concentrates on your half of the line. Know exactly where your responsibility starts for each service, treat identity as the perimeter, scan configuration continuously, encrypt and default to private, and turn raw provider logs into detection you actually read. The provider gives you secure building blocks. Whether your slice of the public cloud is secure depends entirely on how you assemble them.

Frequently asked questions

What is public cloud security?

<p>Public cloud security is the set of controls, policies, and practices that protect data, applications, and workloads running on shared, multi-tenant infrastructure owned and operated by a third-party provider such as AWS, Microsoft Azure, or Google Cloud. The provider secures the underlying hardware and platform, and the customer secures their own data, identities, access policies, and configuration on top of it.</p>

What is the shared responsibility model in public cloud?

<p>It is the framework that divides security duties between the provider and the customer. The provider is responsible for security of the cloud (the physical infrastructure, hypervisor, host patching, and network), and the customer is responsible for security in the cloud (their data, identities, access controls, network configuration, and application code). The exact line shifts with the service model, but the customer always owns their data and configuration.</p>

Why is misconfiguration the biggest public cloud risk?

<p>Because public cloud resources are reachable over the internet and configured by the customer, a single wrong setting (a public storage bucket, an open security group, an over-permissive role) exposes data to the entire internet without any exploit. Gartner projected that through 2025, 99 percent of cloud security failures would be the customer's fault, and misconfiguration is the most common form. The setting, not an attacker's tool, is usually the breach.</p>

Is the public cloud less secure than on-premises?

<p>Not inherently. Major providers secure their infrastructure to a standard most organizations cannot match on-premises. The risk shifts rather than grows: the attack surface becomes identity and configuration reachable over the internet rather than physical and network position. Public cloud incidents are usually customer-side misconfigurations, not provider failures, so the security depends heavily on how well the customer owns their half of the responsibility model.</p>

What is the difference between public, private, and hybrid cloud security?

<p>Public cloud runs on shared, provider-owned infrastructure under a shared responsibility model, where misconfiguration and exposed identity dominate the risk. Private cloud is dedicated to one organization, which owns nearly the whole stack and the work that comes with it. Hybrid joins public and private and adds the boundary between them as a third risk surface where cross-environment movement happens. The responsibility line and the attack surface move with the model.</p>

How do you secure data in the public cloud?

<p>Encrypt data at rest and in transit, manage encryption keys deliberately, and make private the default for every storage resource so public access is an explicit exception. Scope access to that data with least-privilege identity policies and strong multi-factor authentication, turn on and monitor control-plane logging, and use posture management to catch any storage that becomes publicly readable. The goal is that exposing data takes a reviewed, deliberate action, not a forgotten checkbox.</p>

Practice track
SOC Analyst Tier 1
Build your foundational skills to monitor, detect, and escalate security alerts. This track includes essential tools, basic log analysis, and introductory incident response labs.
Browse SOC Analyst Tier 1 Labs โ†’