Cloud, SDN & Production Architectures · Study deck
Cloud Security: Identity and Monitoring Controls
A gateway passes device data to another service.
Cloud Clara is your guide for this deck.

After studying this chapter
Learning objectives
You will be able to:
- Map IoT cloud-security responsibilities across device, network, platform, application, data, and operations layers.
- Design per-device identity and credential lifecycle controls for enrollment, rotation, revocation, and retirement.
- Apply least-privilege access boundaries to telemetry, commands, state updates, files, and operator workflows.
- Select data-protection and monitoring records that fit an IoT workload.
Major section
Start With the Decision
A trust zone is a part of the system with its own access rules.
- Identity says which device or service is acting.
- A network hop is one handoff along the path; an alert tells staff that a rule or limit needs attention.
- A cold-store gateway sends data through several cloud trust zones.
Major section
Start With the Cloud Boundary
A gateway is a local system that passes device data to other services.
- A broker is a service that receives named messages and sends them to allowed readers.
- This freezer path does not prove the whole cloud is secure.
- Those choices need owners and tested records.
- Each boundary needs identity, permission, logging, and recovery evidence.
Major section
Minimum Viable Understanding
Every device needs its own identity: Shared fleet credentials turn one extracted secret into a fleet-wide incident.
- Responsibility must be explicit: Record which team owns device credentials, application access, data classes, network paths, logs, and incident actions.
- Least privilege is operational: Permissions should match message family, topic, site, command type, and lifecycle state.
- Encryption is not enough by itself: Key ownership, rotation, access checks, retention, and recovery records matter.
Major section
Responsibility Model
A shared cloud design is secure only when responsibilities are written down.
- Typically owns physical facilities, base infrastructure, service availability controls, managed runtime internals, and core service patching.
- Control record: service boundary statement, support path, availability assumptions, and incident notification route.
- Owns device identity, message permissions, application code, data classification, dashboards, command approval, and business workflow controls.
Major section
Provider, Host, And Assessment Checks
A cloud-security review should separate provider assurance from workload proof.
- Reputation, published audit standards, and SLA language can screen a provider, but they do not prove this IoT workload is safe.
- For IaaS, host security remains visible: guest operating systems, runtime patching, firewall and network policy, application secrets, and customer-controlled keys need owners even when the provider operates the physical facility and hypervisor.
- Risk assessment should include both qualitative and quantitative evidence.
Major section
Device Identity Lifecycle
The most important IoT cloud-security decision is whether each device has an identity that can be controlled independently.
- Enrollment binds it to a serial or manufacturing record; activation adds site, owner, and message scope.
- Normal-use signals include failed authentication and expiry, while suspected compromise calls for paused commands, isolated routes, and preserved logs.
- The stages in @fig-cloud-security-identity-lifecycle treat a credential as a device record that changes over time.
- Rotation prevents an old key from becoming permanent.
Major section
Device Identity Lifecycle (continued)
Revocation removes one identity without disabling unrelated units.
- The runbook and owner must be updated after a compromise so each stage remains testable for one physical device.
- Shared fleet credentials should be treated as an emergency migration target.
- They make topic permissions, incident triage, and revocation too coarse.
Major section
Data Protection
IoT data protection is a lifecycle decision.
- Some readings are operational state, some are safety records, some are personal or site-sensitive, and some are low-value noise.
- The source record has an id, value, and time; the transit stage protects it with TLS or DTLS.
- Destruction requires a deletion or crypto-shredding path.
Major section
Data Protection (continued)
Processing is a data-in-use boundary, while storage encrypts the retained form and ties it to key management.
- The byte examples make the boundary visible, but the design decision is which actor can see, change, retain, or remove each data class at every stage.
- Encryption at rest and in transit should be the baseline.
- The control record still needs to show key rotation, access checks, restore behavior, and deletion behavior.
Major section
Monitoring And Incident Response
Security monitoring should distinguish normal IoT churn from suspicious behavior.
- A large fleet always has offline devices, failed updates, bad payloads, and network interruptions.
- The question is whether the pattern indicates risk.
- Containment may pause a command path, revoke one identity, or isolate a route before recovery restores a known-safe state.
- Incident response should be rehearsed.
Deck summary
Key takeaways
A trust zone is a part of the system with its own access rules.
- A gateway is a local system that passes device data to other services.
- Every device needs its own identity: Shared fleet credentials turn one extracted secret into a fleet-wide incident.
- A shared cloud design is secure only when responsibilities are written down.
- A cloud-security review should separate provider assurance from workload proof.
Retrieval practice
Recall check 1 of 2

Cloud Clara says: answer from memory, then check your reasoning.
Q1An operator changes roles but retains access to sensitive IoT commands. Which boundary needs review?
Show answer
Answer: C Role changes must be reflected in access and command permissions.
Q2A team moves its broker to a managed service. Which responsibility remains with the IoT application team?
Show answer
Answer: B Managed runtime operations do not transfer the team’s identity, data, and permission duties.
Retrieval practice
Recall check 2 of 2

Cloud Clara says: answer from memory, then check your reasoning.
Q3A field sensor is suspected of key compromise. Which device identity plan closes the lifecycle gap?
Show answer
Answer: A Enrollment, rotation, revocation, and retirement need proof per device.
Print reference
Answers
Answer key.
- C · Role changes must be reflected in access and command permissions.
- B · Managed runtime operations do not transfer the team’s identity, data, and permission duties.
- A · Enrollment, rotation, revocation, and retirement need proof per device.