Lesson 2 of 3 Cloud Security

Shared Responsibility, Virtualisation and Cloud Data Security

In the cloud, security is shared between provider and customer, and most failures come from the customer's side. This lesson explains the shared responsibility model, the virtualisation that underlies cloud services, virtual private clouds, and how data is protected in storage, processing and transmission with archiving, backup, recovery and resilience.

Learning outcomes

After completing this lesson, you will be able to:

  • Explain the shared responsibility model.
  • Describe virtualisation and VPC design.
  • Describe protection of data in storage, processing and transmission.
  • Explain cloud archiving, backup, recovery and resilience.

The shared responsibility model

Under the shared responsibility model, the cloud provider is responsible for security of the cloud: physical data centres, hardware, the global network and the virtualisation layer that isolates customers. The customer is responsible for security in the cloud: its data, identities and access management, configuration of services, and, depending on the service model, its operating systems, applications and network controls.

The boundary moves with the service model, but some responsibilities always remain with the customer: classifying and protecting its data, managing who has access (identities, permissions, MFA), and configuring the services it uses. Analyses of cloud incidents consistently find that most breaches stem from customer misconfiguration, such as storage buckets left open to the public, overly permissive identity policies, exposed management ports and leaked access keys, rather than from provider failures. Cloud security posture management (CSPM) tools continuously check configurations against best practice and alert on risky settings.

Sort into groups

Provider or customer in IaaS?

Exam skills 7.4.6

Decide who is responsible for each item in an IaaS deployment.

Log in to try this activity Interactive activities are free with an account.

Virtualisation and virtual private clouds

Cloud services are built on virtualisation. Hypervisors run many customers' virtual machines on shared physical hosts and enforce isolation between them; containers and serverless platforms add further layers of sharing. The provider is responsible for hypervisor security, and a hypervisor flaw that allowed one tenant to reach another would be serious, which is why providers patch rapidly and some offer dedicated hosts or confidential computing for sensitive workloads.

A virtual private cloud (VPC), called a virtual network in some providers, is a logically isolated network within a public cloud in which the customer defines IP address ranges, subnets (public subnets with internet access and private subnets without), route tables, internet and NAT gateways, and filtering with security groups (stateful, attached to resources) and network ACLs (stateless, attached to subnets). Secure VPC design keeps databases and application servers in private subnets, exposes only load balancers publicly, uses private endpoints to reach cloud services without the internet, connects to on-premises networks through VPNs or dedicated links, and enables flow logs for monitoring.

Data storage, processing and transmission

Cloud data must be protected in every state. In storage, data is encrypted at rest, with keys managed by the provider or, for more control, customer-managed keys in a key management service or HSM; access is restricted by identity policies following least privilege; public access is blocked by default; and storage is monitored. In transmission, TLS protects data between users and services and between services, and private connectivity avoids the public internet. In processing, workloads run with minimal privileges, secrets are kept in managed secret stores rather than code, and confidential computing can protect data in use.

Cryptographic erasure (crypto-shredding) addresses a cloud-specific problem: customers cannot physically destroy provider disks, so they destroy the encryption keys, rendering the data unreadable.

Archiving, backup, recovery and resilience

The outline names four data protection activities. Archiving moves data that is rarely accessed to lower-cost storage tiers with retention policies, immutability settings (write once, read many) and legal holds. Backup remains the customer's responsibility for its data in many services, including SaaS: providers keep services available but may not protect customers from their own deletions, ransomware that encrypts synchronised files, or account compromise. Backups should be stored in a separate account or location with separate credentials and immutability.

Resilience uses the cloud's geography: distributing workloads across multiple availability zones (separate data centres in a region) protects against a single facility failure, and replicating to another region protects against regional outages and disasters, within data residency constraints. Recovery procedures, including restoring from backup and failing over to another region, are documented and tested against RTO and RPO like any other disaster recovery plan.

Provider responsibility
Physical security and hardwareYes
Hypervisor and tenant isolationYes
Data classification, encryption choices and keysProvides tools
Identities, permissions and MFAProvides tools
Service configurationSecure defaults
Backup of customer dataVaries by service
Customer responsibility
Physical security and hardwareNo
Hypervisor and tenant isolationNo
Data classification, encryption choices and keysYes
Identities, permissions and MFAYes
Service configurationYes
Backup of customer dataUsually yes, including SaaS

The following diagram shows how ransomware encryption reached a company's SaaS storage through file synchronisation, and what protects against it.

The gap revealed when ransomware encrypted synchronised files and the changes replicated to SaaS storage. The provider keeps the service available, but protecting the customer's data from deletion and encryption is largely the customer's responsibility. Version history helps only for a limited time; an independent backup of SaaS data closes the gap.
The scenario is illustrative.
Worked example

The public bucket

A company's customer exports were downloaded by strangers from a cloud storage bucket that had been set to public by a developer. The company says the cloud provider was breached. Is that correct?

No. Under the shared responsibility model, access configuration of the customer's storage is the customer's responsibility, and the provider's infrastructure worked as configured. The company should remove public access, enable account-wide blocking of public access, review access logs to determine what was taken, follow breach-notification obligations, and deploy CSPM to detect risky configurations.

Worked example

Backing up SaaS

A firm assumes that its SaaS file storage and email are backed up by the provider. Ransomware encrypts a user's synchronised files, and the changes replicate to the cloud. What gap does this reveal?

The provider ensures the service is available, but protecting the customer's data from deletion and encryption is largely the customer's responsibility. Version history may help for a limited time, but the firm should implement a third-party or native backup of SaaS data with independent retention and immutability, and test restores.

Check yourself

Which responsibility always remains with the cloud customer, whatever the service model?

Show answer

Its data and who can access it: classification, protection choices, identities, permissions and configuration of the services it uses.

Exam Tips

Remember for the exam

  • Provider: security of the cloud. Customer: security in the cloud, always including data and access.
  • Misconfiguration is the leading cause of cloud breaches; CSPM detects it.
  • Back up SaaS data too; use multiple zones or regions for resilience.