CCSP: Planning and Implementing Cloud Infrastructure Security Controls
Planning and implementing cloud security controls means choosing, for each layer of the infrastructure, the physical, system, storage, communication, identity and audit controls that address a named risk, and placing each one with the party that can actually operate it. CCSP sub-domain 3.4 covers four areas: physical and environmental protection (including on-premises), system, storage and communication protection, identification, authentication and authorization in cloud environments, and audit mechanisms such as log collection, correlation and packet capture. This lesson works through each area as a set of principles: who controls the space, what a control verifies, which span an encryption layer covers, which layer an attack exhausts, which of the four identity steps failed, and which question an audit source can answer.
On this page10 sections
- Who implements physical and environmental protection in each hosting model?
- How do layered physical access controls stop intruders?
- Which environmental controls detect and suppress fire and other hazards?
- How are system boundaries and the management plane protected?
- How are communications protected in transit?
- How is storage infrastructure protected?
- How do you protect cloud services against denial of service?
- How do identification, authentication, authorization and accountability work in cloud environments?
- How is authorization designed, delegated across tenants and separated by duty?
- Which audit mechanisms answer which question, and how are they collected and correlated?
- Identify who implements physical and environmental protection in public cloud, colocation, on-premises and edge deployments, and how assurance is obtained
- Match physical access and fire detection and suppression controls to the specific threat and occupancy constraints
- Choose boundary, management-plane, transmission and storage protections that address the stated risk rather than an adjacent one
- Select denial-of-service defences by attack layer, including economic denial of sustainability on auto-scaling services
- Apply identification, authentication, authorization and accountability to cloud scenarios, including root identities, ABAC, cross-tenant delegation and separation of duties
- Choose the audit source, packet-capture placement, log-collection design and correlation prerequisites that answer an investigative question
Who implements physical and environmental protection in each hosting model?
Physical and environmental protection is implemented by whoever controls the space the hardware sits in, and everyone else gains assurance about it rather than building it. That one rule resolves most scenarios, because the same kind of server can sit in very different places:
| Hosting model | Who implements physical controls | What the customer does |
|---|---|---|
| Public cloud (IaaS, PaaS, SaaS) | The provider, in every service model: perimeter, building access, power, cooling, fire systems, media destruction | Obtains assurance from independent attestations and certifications (SOC 2 Type II, ISO/IEC 27001, CSA STAR) and checks what they cover; providers rarely allow customer site visits |
| Colocation | The facility operator for everything shared: the building, utility and backup power, cooling, fire systems, common areas | Controls whatever is exclusively its own: the cage or rack, who is authorised to open it, and the equipment and media inside; it verifies the operator's share through the contract and the operator's reports |
| Customer premises (on-premises private cloud) | The customer, for everything | Designs, implements and tests the controls itself |
| Provider-supplied hardware at customer sites (hybrid or edge stacks in branches, plants, retail sites) | The customer, for the room it sits in, even though the provider supplies the hardware and software | Treats the site as its own premises and adds controls that do not depend on the room |
Two principles follow. First, an assurance report is bounded by its scope: it describes the facilities and controls listed in it and nothing else, so it cannot be stretched over a location the provider does not operate. Second, when a location cannot be made physically secure, move the protection onto the data. For example, a gateway on a factory floor that anyone on shift can reach should store data only on disks encrypted with keys bound to that device's trusted platform module (TPM) and measured boot, so the disk is unreadable if it is removed or the device boots outside its trusted state. Physical barriers still help, but they delay and deter; device-bound encryption decides what a thief actually obtains.
The design of a data center itself (site selection, tiers, redundant power and cooling) belongs to the secure data center design topic; this topic is about the controls that protect people, equipment and media once the site exists.
How do layered physical access controls stop intruders?
Physical access control works in layers, and each control verifies something different: the perimeter keeps people off the site, entry controls decide who comes in, internal controls limit where they go, and surveillance records what happened. A typical sequence runs from fencing, lighting and vehicle barriers, through staffed reception with escorts, to badge-controlled doors and stronger checks at server halls and cages. To pick a control, ask what it actually verifies and whether it prevents or only records:
| Control | What it verifies or enforces | Type |
|---|---|---|
| Access control vestibule (mantrap), turnstile, anti-passback rules | That exactly one authenticated person passes per authentication; the inner door of a vestibule opens only when the outer one is closed and the space holds one person | Preventive, against tailgating and piggybacking |
| Badge (something you have) | That someone holds a valid token, not who that someone is | Preventive, single factor |
| Badge plus PIN or biometric | That the holder is also the enrolled person, so a token alone is not enough | Preventive, multi-factor |
| Escorts, expiring visitor badges, per-hall and per-cage access lists | That visitors and contractors stay where they are authorised to be | Preventive |
| Guards | Judgement: challenge, escort, respond | Preventive and deterrent |
| CCTV, badge logs, visitor registers | A record of who went where and when | Detective (and deterrent); valuable for investigation, never a barrier |
The common mistake is to answer a prevention requirement with a detective control, or to answer one weakness with a control that addresses a different one: a control that counts people does not check who they are, and a control that checks who they are does not count them.
Fail-safe, fail-secure and free egress
Electric locks must decide what happens on power loss or a fire alarm. A fail-safe lock releases (people can leave, but anyone can enter); a fail-secure lock stays locked (the space is protected, but people could be trapped). Life safety always comes first, so the goal is to separate the two directions: the outside stays secured while the inside always opens. That is done with free egress hardware, a panic bar or lever on the inside that opens the door mechanically whatever the state of the lock, so entry still needs authorization but exit needs no key, card, code or special knowledge. Building and fire codes such as NFPA 101 generally require this; the exceptions they permit, such as delayed-egress or access-controlled egress locks, are tightly specified and must release on a fire alarm or power loss.
Which environmental controls detect and suppress fire and other hazards?
Environmental protection detects fire, heat, humidity and water early and suppresses fire with the least harm to people and equipment. Detection comes first because electrical fires usually smoulder: they release fine smoke particles long before flames or a significant temperature rise.
| Detector | What it senses | Stage of a fire |
|---|---|---|
| Aspirating (air-sampling) smoke detection | Room air drawn continuously through sampling pipes to a very sensitive detector | Incipient: the earliest warning, so staff can find and isolate overheating equipment |
| Spot smoke detectors (photoelectric, ionisation) | Smoke reaching the detector head | Smoke visible in the room |
| Heat detectors (fixed-temperature, rate-of-rise) | A set temperature, or a fast rise | Later, once the fire produces significant heat |
| Flame detectors (infrared, ultraviolet) | Radiation from open flame in line of sight | Flaming stage |
Alongside fire detection, temperature and humidity monitoring catches cooling failures and conditions that cause static discharge (too dry) or condensation (too humid), and water-leak sensors under raised floors and near cooling units catch leaks before they reach equipment.
Suppression system types
| System | How it works | Typical fit |
|---|---|---|
| Wet pipe | Water is held at every head; any head that opens, for whatever reason, discharges immediately | General offices; simple and reliable |
| Dry pipe | Pipes hold pressurised air; when any head opens the air escapes, the valve trips and water follows after a delay | Spaces where pipes could freeze |
| Pre-action | Water is held behind a valve that opens only on a signal from a separate detection system; water then flows from heads that have opened | Equipment rooms and data centers, because it needs two independent events before water flows |
| Deluge | All heads are open; on detection every head discharges at once | High-hazard industrial areas needing rapid wetting |
| Clean agent (halocarbon or inert gas) | Total flooding with a gas that leaves no residue and is approved for occupied spaces at design concentration (NFPA 2001) | Rooms full of electronics, including staffed ones; the enclosure must hold the agent concentration long enough, which is verified by an enclosure (room) integrity test |
| Carbon dioxide | Total flooding that suppresses by displacing oxygen (NFPA 12) | Normally unoccupied spaces only, because the extinguishing concentration is lethal to people |
Halon is no longer produced under the Montreal Protocol and is not a choice for new systems. Codes may still require sprinklers as a backup to a gas system, which is why pre-action sprinklers are so often paired with clean agents.
How are system boundaries and the management plane protected?
Boundary protection controls what can cross the edge of a network segment through managed interfaces, and management-plane separation keeps the interfaces that control the infrastructure out of reach of the workloads running on it. Both come from the NIST SP 800-53 system and communications protection family: SC-7 boundary protection and SC-2 separation of system (management) functions from user functions.
Three separate questions about outbound traffic
When workloads in private subnets talk to provider services or the internet, three different questions arise, and each has its own control:
| Question | Control | What it does |
|---|---|---|
| What source address do we appear from? | Network address translation (NAT) | Hides private source addresses behind a public one; it neither filters destinations nor makes the path private |
| Which path does the traffic take? | Private endpoint (private link) | Puts an interface for a provider service inside the virtual network, so traffic uses private addresses and never needs an internet route; available only for services that offer it |
| Which destinations are allowed? | Egress filtering: firewall or proxy rules, and endpoint policies | Allows only approved destinations, by name or by resource |
Two refinements matter for the third question. Address-based rules work poorly when a destination's addresses change often or are shared by many customers; an egress firewall or forward proxy that filters on the requested domain name (from the proxy request or the TLS server name) keeps working as addresses change. And where a private endpoint leads into a multi-tenant service, a policy on your own resources protects your data but says nothing about other parties' resources reachable through the same endpoint. An endpoint policy is attached to the path itself, so it can restrict every request through it to resources your organization owns, which closes the path as an exfiltration route.
Separating the management plane
Management interfaces are the highest-value targets in a private cloud: hypervisor and virtualization-manager consoles, storage and switch management, and baseboard management controllers (BMCs, reached over IPMI or Redfish), which power-cycle servers, mount media and open consoles below the operating system. The principle is to remove reachability first, then harden what remains: put them on a dedicated, out-of-band management network reachable only from jump hosts or privileged access workstations, so a compromised workload has no route to them at all. Hardening an interface that stays reachable from tenant traffic reduces the likelihood of compromise but leaves the exposure in place.
A public cloud's console and APIs are internet-facing by design, so the customer cannot place them behind its own network boundary; network controls govern only the traffic that passes through them. The enforceable point is the sign-in. With federated identity, the identity provider's conditional-access policy can require conditions such as a managed, compliant device before it issues an administrative session, and that requirement applies wherever the administrator connects from. Multi-factor authentication proves the person; a device condition proves the workstation; they answer different requirements.
How are communications protected in transit?
Communications are protected in transit by encryption that covers the whole span that must be protected; a private path is not an encrypted path, and every encryption layer protects only the stretch between the two points that encrypt and decrypt it.
| Protocol | Layer and span | Typical use |
|---|---|---|
| MACsec (IEEE 802.1AE) | Link layer, hop by hop: encrypts frames between two directly connected devices; each device decrypts | Line-rate encryption of a physical link, such as a dedicated circuit between two routers |
| IPsec | Network layer, between the two tunnel endpoints (gateway to gateway, or host to gateway) | Site-to-site VPNs, including over private circuits |
| TLS (and mutual TLS) | Transport/application, between the client and whatever terminates TLS | Protecting traffic up to the application itself; service-to-service traffic |
A reliable method is to draw the path and mark every point where traffic is decrypted. Suppose a partner's file transfer arrives over a site-to-site VPN that ends on a cloud VPN gateway, and is then forwarded to a storage service. The VPN protects the internet stretch; from the gateway onwards the transfer is protected only if another layer (for example TLS to the storage service) covers it. The same reasoning gives three rules:
- Private is not encrypted. Dedicated circuits run through carrier and provider equipment. They reduce exposure to the internet, but confidentiality on the circuit needs encryption added over it (MACsec on the link or IPsec across it).
- Link and tunnel encryption end at devices, not at applications. When protection must reach all the way to the processing systems, choose encryption that those systems terminate, typically TLS on the workloads, alone or on top of link or tunnel encryption.
- Evidence comes from controls you operate. A provider's statements about encrypting its own backbone are part of its responsibility and appear in its attestations, but they describe the provider's network, not the customer's traffic between its own components. When a company must demonstrate encryption between its own systems, it configures that encryption, manages the certificates and keeps the configuration as evidence.
How is storage infrastructure protected?
Storage infrastructure is protected in layers: the network decides which hosts may reach storage, the storage system decides which hosts are presented each volume or share, the protocol decides which users they are and whether messages are protected, and encryption at rest protects the media. Encryption at rest defends against lost, stolen or improperly disposed media; it is transparent to any host or user the storage system already serves, so it cannot replace access control.
Block storage: zoning and LUN masking
On a shared array, zoning in the storage fabric decides which host ports can communicate with which array ports, and LUN masking on the array decides which host initiators are presented each logical unit (LUN). Used together, they make a volume visible only to the hosts that should mount it. Isolating storage traffic on its own network is still good practice, but it separates storage from other traffic types rather than separating hosts from each other.
File storage: authentication and message protection in the protocol
| Protocol setting | What it provides | Limits |
|---|---|---|
| NFS with AUTH_SYS (the NFSv3 default) | The server accepts the numeric user and group IDs the client asserts | No user authentication: whoever controls a permitted client can assert any user ID; host-level export rules only decide which machines may mount |
| NFSv4.1 with Kerberos (RPCSEC_GSS: krb5, krb5i, krb5p) | Each user proves identity to the server with Kerberos; krb5i adds integrity checking and krb5p adds encryption (privacy) of the traffic | Needs a Kerberos realm, client support and a file service that offers it |
| SMB signing | Integrity and origin of each message, which also defeats relay and tampering attacks | Message content is still readable on the wire |
| SMB 3.1.1 pre-authentication integrity | Protects the connection negotiation and session setup against tampering and downgrade, by hashing the setup messages into the session keys | Protects the handshake, not the confidentiality of file content |
| SMB 3 encryption (per share or per server) | Confidentiality and integrity of the traffic between client and server | Concerns the network only, not the disks |
The pattern to remember: network filtering decides which hosts may connect, presentation decides which hosts see which storage, protocol authentication decides which users they are, integrity mechanisms prove messages are untouched, and only encryption keeps content secret on the wire.
How do you protect cloud services against denial of service?
Denial-of-service protection means matching the defence to the resource the attack exhausts: network capacity, application request handling, or, on auto-scaling and pay-per-use services, the customer's budget. A defence placed behind the exhausted resource cannot help, because the damage happens before traffic reaches it.
| Attack type | What it exhausts | Where the defence must sit | Control |
|---|---|---|---|
| Volumetric (layers 3/4: UDP floods, reflection and amplification, SYN floods) | Bandwidth and connection capacity | Upstream of the bottleneck, with more capacity than the attacker | Provider-edge DDoS mitigation, scrubbing centres and anycast CDNs that absorb the flood and pass on clean traffic |
| Application layer (layer 7: HTTP floods, expensive queries, login abuse) | Application processing; network volumes can look normal | Where requests are understood, in front of the application | A web application firewall with rate-based rules per client, bot detection and challenges, plus caching of cacheable content |
| Economic denial of sustainability (EDoS) | Money: the platform scales to serve the attack, so the service stays up while costs climb | At the point where each caller's consumption can be bounded | Authentication of callers plus per-client rate limits, quotas and usage plans at the API gateway |
Elastic platforms change what availability means. When the platform scales automatically, an attacker can succeed by spending the customer's money rather than by taking the service down, so cost belongs in the impact analysis. Detection, such as budget and anomaly alerts, is still needed to notice an attack; prevention comes from per-caller limits on consumption.
Tip. Expect short recall items that separate neighbouring terms (identification versus authentication, ABAC versus RBAC, MAC and DAC, a named weakness such as confused deputy, the stages at which different fire detectors respond) and scenario items that ask for the BEST control or what to do FIRST under a stated constraint. The scenarios span all four official bullets: physical and environmental protection across hosting models, system, storage and communication protection, identity and authorization in cloud environments, and audit mechanisms. The deciding detail is usually stated in the scenario itself: who controls the space, which span must be encrypted, whether people occupy a room, which party owns a log, or whether the need is to prevent, detect or prove.
- Whoever controls the space implements physical security: the provider in public cloud, the operator for shared colocation infrastructure, the tenant for its own cage, the customer for its premises and edge sites.
- An assurance report covers only its stated scope; where a location cannot be secured, protect the data itself with device-bound encryption.
- Pick physical controls by what they verify: vestibules count people, extra factors confirm the person, cameras and logs only record; doors allow free egress while entry stays controlled.
- Aspirating smoke detection warns earliest; pre-action sprinklers need detection before water flows; clean agents suit occupied electronics rooms that pass integrity testing, CO2 only unoccupied ones.
- NAT hides the source, a private endpoint privatises the path, and egress filtering or an endpoint policy decides the destination; management interfaces belong on an out-of-band network.
- Every encryption layer protects only the span between its endpoints; private circuits are not encrypted, and evidence of encryption comes from controls the customer operates.
- Zoning and LUN masking decide which hosts see storage; Kerberos authenticates NFS users; SMB signing and pre-authentication integrity protect integrity, SMB encryption protects confidentiality.
- Defend at the exhausted resource: volumetric floods at the provider edge, layer 7 floods with a WAF, economic denial of sustainability with per-client rate limits and quotas.
- Accountability needs individual identities; top-level root and management-account identities need phishing-resistant MFA and minimal use; vendors assume roles with a customer-unique external ID.
- Choose the audit source by the question; log every account and Region centrally into write-once storage with integrity digests, and correlate on synchronised time and a shared identity key.
Frequently asked questions
Who is responsible for physical security in IaaS, PaaS and SaaS?
In all three public cloud service models the provider implements physical and environmental protection of its data centers. Customers gain assurance by reviewing independent reports and certifications such as SOC 2 Type II, ISO/IEC 27001 and CSA STAR, and by checking which facilities and controls they cover. Hardware a provider supplies for a customer's own site is physically the customer's responsibility.
What is the difference between fail-safe and fail-secure locks?
A fail-safe lock releases when power fails or a fire alarm sounds, so people can leave but the door no longer controls entry. A fail-secure lock stays locked, protecting the space but risking trapping people. Data center doors usually combine controlled entry with mechanical free-egress hardware on the inside, so exit never depends on the lock's power state.
Why are pre-action sprinklers used in data centers?
A pre-action system keeps the pipes dry behind a valve that opens only when a separate fire detection system activates, and water then flows from the sprinkler heads that have opened. Requiring two independent events before water flows makes accidental discharge onto equipment much less likely than with wet-pipe or dry-pipe systems.
Is a dedicated private circuit to a cloud provider encrypted?
No. A dedicated circuit is a private path through carrier and provider equipment, but its traffic is not encrypted unless encryption such as MACsec or IPsec is added. Each encryption layer protects only the span between the devices that encrypt and decrypt it, so encryption up to the application servers needs a layer those servers terminate, such as TLS.
What is the confused deputy problem in cloud delegation?
A confused deputy is a service with legitimate permissions in many customers' accounts that is tricked by one customer into using those permissions against another. In cloud role delegation, it is prevented by requiring a customer-unique external ID, issued by the vendor, in the role's trust policy, so each role assumption is bound to the right customer.
What is the difference between RBAC and ABAC in the cloud?
Role-based access control grants permissions through role membership, so every new boundary such as a team or project tends to need its own role. Attribute-based access control compares attributes such as a user's department and a resource's tag, so one policy can cover any number of resources. Because attributes then act as permissions, changing them must be restricted to designated administrators.
What is economic denial of sustainability?
Economic denial of sustainability is an attack on an auto-scaling or pay-per-use cloud service that keeps the service available but drives its costs up, because the platform scales to serve the attacker's requests. It is limited by authenticating callers and bounding each caller's consumption with rate limits and quotas, with budget alerts for detection.
Can packet capture decrypt TLS 1.3 traffic in an investigation?
Not after the fact. TLS 1.3 uses ephemeral key exchange, so recorded sessions cannot be decrypted later even with the server's private key. Captures still show timing, volumes, destinations and, unless Encrypted Client Hello is used, the requested server name; content must come from an endpoint, or from a capture point after TLS has been terminated.
Source
This lesson covers the "Cloud Platform & Infrastructure Security" domain of the official CCSP exam guide. Vendors revise their guides — check the source for the current version.
Sign up free to mark lessons complete, bookmark topics and track your exam readiness.