TEC-ITS43-05 · Lesson 8 · 12.5 clock hours · theory
Cloud Security Controls: Encryption, Compliance, and Shared Responsibility
Objective. Students will describe the cloud shared responsibility model, explain encryption at rest and in transit as applied to cloud storage and virtual machines, and identify common compliance frameworks relevant to cloud environments.
⚠ Pending professional review
This lesson, its worked examples and its practice questions has not yet been verified by an industry-certified professional or by a certification or approval body. It is a study draft and may contain errors. Do not use it as instructions for work on a job site or on live equipment. Always follow your instructor, your supervising professional, and current official references and regulations.
VoTechWorks program approval and accreditation are still in progress. Credentials are issued only by the certifying bodies named in each program, after their own exams.
Cloud Security Controls: Encryption, Compliance, and Shared Responsibility
The Shared Responsibility Model
When a company moves workloads to the cloud, security does not move entirely to the cloud provider. Instead, responsibility is divided between the provider and the customer. This division is called the shared responsibility model, and every major cloud provider publishes documentation describing it.
The split depends on which service model is in use:
- IaaS (Infrastructure as a Service): The provider secures the physical data center, networking hardware, hypervisors, and storage hardware. The customer is responsible for the operating system, middleware, applications, data, identity and access management, and network controls such as firewall rules and security groups.
- PaaS (Platform as a Service): The provider adds the operating system and runtime environment to its side of the line. The customer still owns the application code, data, and user access management.
- SaaS (Software as a Service): The provider manages almost everything through the application layer. The customer is responsible for user accounts, access privileges, and the data users put into the system.
A common mistake is assuming the cloud provider handles all security. That assumption has led to real breaches. Misconfigured storage buckets left open to the public internet, weak passwords on cloud accounts, and unencrypted databases are all customer-side failures, regardless of how secure the provider's infrastructure is.
Encryption at Rest
Data at rest means data stored on disk, in a database, or in object storage—data that is not actively moving across a network. Encrypting data at rest protects it if storage media is accessed without authorization.
Cloud providers offer several mechanisms:
- Provider-managed keys (e.g., SSE-S3 on Amazon S3): The provider generates, stores, and rotates encryption keys automatically. This is the easiest option and protects against unauthorized physical access to storage hardware.
- Customer-managed keys (e.g., SSE-KMS): Keys are stored in a key management service but the customer controls rotation schedules and access policies. This gives more auditability.
- Customer-provided keys (SSE-C): The customer supplies the key with each request. The provider never stores the key.
For virtual machines, the operating system disk and data disks can be encrypted at the hypervisor level (transparent disk encryption) or within the OS itself. Both protect data if a disk image is copied or a snapshot is accessed improperly.
Encryption in Transit
Data in transit means data moving over a network—between a user and a cloud service, between services within a cloud, or between a cloud and an on-premises network.
The primary control for data in transit is TLS (Transport Layer Security). Cloud storage services can be configured to require HTTPS, which uses TLS, and to reject plain HTTP requests. This is commonly enforced through a bucket or storage policy that includes a condition denying any request that does not use a secure transport.
For virtual machine traffic that travels inside a cloud virtual network, encryption is not automatic at every layer. Traffic between VMs in the same virtual network may not be encrypted unless the application layer or a VPN tunnel provides it. Customers configuring IaaS environments should consider this when handling sensitive data.
Common Compliance Frameworks
Many industries require organizations to follow specific security standards, and those requirements extend to cloud environments.
- HIPAA (Health Insurance Portability and Accountability Act): Applies to organizations handling protected health information (PHI). Cloud customers storing health data must ensure PHI is encrypted, access is logged, and they have a Business Associate Agreement (BAA) with the cloud provider.
- PCI DSS (Payment Card Industry Data Security Standard): Applies to any organization processing, storing, or transmitting payment card data. Requires encryption of cardholder data at rest and in transit, access controls, and regular vulnerability assessments.
- FedRAMP (Federal Risk and Authorization Management Program): A US government program that standardizes security assessment for cloud services used by federal agencies. Cloud providers offering services to federal customers must achieve FedRAMP authorization.
- SOC 2 (Service Organization Control 2): An auditing framework from the American Institute of CPAs. Cloud providers often obtain SOC 2 reports to demonstrate their controls to enterprise customers.
- GDPR (General Data Protection Regulation): A European Union regulation that affects any organization handling data of EU residents, including US-based cloud customers.
Compliance does not equal security, but frameworks provide a documented baseline that auditors and regulators can verify.
Safety and Professional Practices
Cloud configuration errors can expose sensitive data to the public internet immediately. Treat cloud credentials—API keys, access key IDs, and secret access keys—like passwords: never hard-code them in scripts or commit them to version control. Use identity and access management roles instead of long-lived credentials wherever possible. Apply the principle of least privilege: grant only the permissions a user or service actually needs. Review storage bucket and container permissions before putting any data into them, and enable logging so that access to sensitive resources can be audited.
Key terms10
Shared Responsibility ModelA framework that divides cloud security duties between the cloud provider and the customer, with the exact split depending on whether the service is IaaS, PaaS, or SaaS.
Encryption at RestEncryption applied to stored data—on disk, in object storage, or in a database—so that the data is unreadable if storage media is accessed without authorization.
Encryption in TransitEncryption applied to data moving across a network, typically using TLS/HTTPS, to prevent interception or tampering during transmission.
SSE-S3 (Server-Side Encryption with S3-Managed Keys)A cloud storage encryption option in which the provider automatically encrypts objects at rest using keys it generates and manages on the customer's behalf.
TLS (Transport Layer Security)A cryptographic protocol that provides encrypted, authenticated communication over a network; the foundation of HTTPS.
HIPAAThe Health Insurance Portability and Accountability Act; a US federal law requiring safeguards for protected health information, including encryption and access controls when stored or transmitted in cloud environments.
PCI DSSPayment Card Industry Data Security Standard; a set of security requirements for organizations that process, store, or transmit payment card data, including encryption of cardholder data.
Principle of Least PrivilegeA security practice of granting users and services only the minimum permissions required to perform their functions, reducing the potential damage from mistakes or breaches.
IaaS (Infrastructure as a Service)A cloud service model in which the provider supplies virtualized compute, storage, and networking, while the customer manages the operating system, applications, and data.
Business Associate Agreement (BAA)A contract required under HIPAA between a covered entity and a vendor (such as a cloud provider) that handles protected health information on its behalf, defining each party's security responsibilities.
In class: Guided reading and annotation: students read the cloud provider's shared responsibility model documentation and highlight which security tasks belong to the provider versus the customer for IaaS, PaaS, and SaaS; pairs compare and reconcile differences. · Case study analysis: instructor presents a fictional company storing health data in the cloud that suffered a breach due to an unencrypted S3 bucket; students identify which party (provider or customer) failed under the shared responsibility model and list three controls that should have been in place. · Students enable default encryption on an S3 bucket using SSE-S3, enable HTTPS-only access via a bucket policy condition, and document in their lab log which layer each control protects (at rest vs. in transit).
Materials: Cloud provider shared responsibility documentation (online), case study handout, cloud lab sandbox, CompTIA A+ Core 2 and Network+ study guides (security sections), lab log template
Check: Written check: ten-question quiz on shared responsibility and encryption concepts; students must score 70% or higher; lab log entry must correctly label both encryption controls.
Practice check8
Answer each question, then check it. Nothing is recorded; this is your own practice.
Record this lesson on my transcript. Sign in with your key and enrollment email to record lessons (enroll free if you have no key). This page stays open to read and practise.