Cloud services: who runs what, and who answers for it

8 min 6 sections 4 practice questions 8 sources citedISC2 objective 3.5

Cloud computing is renting computers, storage and software over the internet instead of owning them. The provider runs some layers and the customer runs the rest, and the split changes with what is rented. The customer stays accountable for its data whatever it rents. No technical background is assumed.

By the end of this unit you will be able to:

  • Name the five essential characteristics of a cloud service and the four deployment models
  • Give an everyday example of SaaS, PaaS, IaaS and FaaS
  • Fill in who secures each layer under on-premises, IaaS, PaaS and SaaS
  • Explain data location, lock-in, the right to audit and e-discovery as cloud risks
  • Choose the assurance or tool that answers a cloud concern

The server nobody patched

An illustrative example

A small accountancy firm rents a virtual server from a large cloud provider and moves its client files onto it. The partners are pleased: the provider's data centres are guarded, certified and audited every year.

Eighteen months later the files are encrypted by ransomware. The attackers came in through a flaw in the server's operating system that had been fixed a year earlier. Nobody at the firm had installed the fix. Each partner had assumed the provider did it.

The provider's security was as good as advertised. Whose job was the missing fix, and how should the firm have known?

Renting computing instead of owning it

A household can generate its own electricity or take it from the grid, paying for what it uses. Cloud computing is the grid model applied to computers. NIST's definition, SP 800-145, describes it as on-demand network access to a shared pool of computing resources that can be supplied and released quickly with little effort from the provider.

A service counts as cloud when it has five essential characteristics.

On-demand self-service
The customer takes more storage or processing without asking a person at the provider.
Broad network access
The service is reached over the network from phones, laptops and workstations alike.
Resource pooling
The provider's resources serve many customers at once and are reassigned as demand moves. The customer generally does not know where its data sits, but may be able to choose a country or region.
Rapid elasticity
Capacity grows and shrinks quickly, sometimes automatically, with demand.
Measured service
Use is metered, so the customer pays for what it consumes and both sides can see it.

Resource pooling means multi-tenancy: many customers, the tenants, share the same hardware, kept apart by software such as hypervisors. Elasticity is often confused with scalability. Scalability is the ability to grow to carry more load, which may be planned weeks ahead. Elasticity is growing and shrinking automatically as demand rises and falls, such as a ticket site that expands for a concert sale and contracts afterwards.

Service models: how much the provider runs

What is rented decides how much of the stack the provider runs. SP 800-145 names three service models; a fourth has since become common.

Four service models with an everyday example of each
ModelWhat the customer getsEveryday example
Infrastructure as a Service (IaaS)Virtual servers, storage and networks; the customer installs and runs the operating system and everything above itA rented virtual server running the firm's own accounts package
Platform as a Service (PaaS)A ready place to run the customer's own programs; the provider runs the operating system and the runtime, the software that runs programsA hosted database, or a service that runs a website's code
Software as a Service (SaaS)A finished application used through a browser or an appWeb-based email or an online accounts package
Function as a Service (FaaS)Small pieces of code that run only when an event triggers them, billed per runCode that shrinks each photo as it is uploaded

FaaS is the commonest form of serverless computing: the servers still exist, but the provider runs them entirely and the customer never sees one. The customer still owns the function's code, the libraries it uses and the permissions it holds.

The responsibility matrix, layer by layer

gives each party the layers it controls. The matrix below follows the one Microsoft publishes for its cloud; other large providers draw the same shape.

Who secures each layer: C is the customer, P the provider, S shared
LayerOn-premisesIaaSPaaSSaaS
Data, identities and accounts, configuration settingsCCCC
Devices users connect fromCCCS
ApplicationsCCSS
Network controlsCCSP
Operating systemCCPP
Hypervisor, physical hosts, network and data centreCPPP

The top row never changes. Whatever is rented, the customer and protects its data, manages its accounts and who may use them, and sets the configuration it controls. A storage area left readable by the whole internet is a customer failure in every model.

The accountancy firm rented IaaS, so the operating system was its own to . Handing a task to a provider moves the work. It does not move to clients or regulators.

Four deployment models

A deployment model says who the cloud is for, not who runs it.

The four deployment models of SP 800-145
ModelUsed byExample
Public cloudAnyone who signs up; the provider owns and runs itA large provider's services rented by the hour
Private cloudOne organisation only; run by it or a third party, on or off its premisesA bank's own cloud in its data centres
Community cloudA group of organisations with shared concerns, such as one regulatorA shared cloud for several police forces
Hybrid cloudTwo or more of the above, kept distinct but linked so data and programs can move between themA private cloud that overflows to a public one at peak times

Private does not mean secure, and public does not mean insecure. The deployment model changes who shares the hardware. The matrix still decides who secures each layer.

Risks that come with renting

Data location and sovereignty
Cloud data is often stored in several places, and the customer may not know which. Data sovereignty is the principle that data is subject to the laws of the country where it is held. A contract can restrict storage and processing to named countries.
Lock-in and exit
Moving away can be slow and costly if data is held in the provider's own formats. The contract states how data is returned at the end and how the provider's copies are destroyed.
Service level agreement (SLA)
The contract's measurable promises, such as each month, with penalties when they are missed.
Right to audit
A contract term letting the customer check the provider's controls. Large providers usually meet it with independent audit reports instead of visits.
E-discovery
Finding and producing electronic records, with their , for a court case. The provider's tools must be able to preserve them unaltered.
Data remanence
The customer cannot wipe the provider's disks. Cryptographic erasure is used instead: the data is stored , and destroying the key makes it unreadable. For cloud storage it may be the only practical way to data.

Assurance reports, cloud standards and a broker

A customer cannot inspect a provider's data centre, so it relies on independent assurance.

  • A SOC 2 Type II report: an independent 's opinion on whether the provider's security controls worked over a stated period.
  • ISO/IEC 27017: security controls for cloud services, written for both providers and customers.
  • ISO/IEC 27018: protecting in public clouds that process it on behalf of customers.
  • CSA STAR: the Cloud Security Alliance's public registry. Level 1 is the provider's self-assessment; level 2 adds independent audit. Both are measured against the alliance's Cloud Controls Matrix (CCM), a catalogue of cloud security controls.

A cloud access security broker (CASB) is software placed between an organisation's users and the cloud services they use. It discovers which services are in use, including ones nobody approved, and enforces the organisation's rules on them, such as blocking uploads of confidential files to a personal storage account.

Rented work, owned data: whatever the model, data, accounts and settings stay with the customer.

A question, worked through

A healthcare provider plans to move its patient records to a SaaS records system. National law requires that patient records are stored and processed only within the country. The supplier's standard contract allows it to use data centres in several countries.

What must the provider secure FIRST before signing?

  1. A clause limiting storage and processing to the home country
  2. A current SOC 2 Type II report on the supplier's controls
  3. Encryption of records before upload, with keys held locally
  4. An exit plan for returning the records at the contract's end
Decide on your answer, then open the reasoning
  1. The question asks what must be in place before signing, and the scenario names a legal requirement on where data is held.
  2. Rule out d. An exit plan is needed, but it addresses the end of the contract, not the legal problem at its start.
  3. Rule out b. A SOC 2 report shows the controls work. It says nothing about which countries the data sits in.
  4. Between a and c: encryption with local keys protects confidentiality, but the records would still be stored abroad, which the law forbids.
  5. Option a answers the decisive fact. Data sovereignty is settled in the contract, before any record moves.

Answer: A. A clause limiting storage and processing to the home country

Choosing between good answers

A cloud failure is described
name the service model first, then read the layer from the matrix to decide whose duty it was.
An answer hands data, accounts or configuration to the provider
reject it: those stay with the customer in every model.
A law limits where data may be held
choose a contract clause on location over technical controls that leave the data abroad.
A provider will not allow on-site audits
choose its independent reports, such as SOC 2 Type II or CSA STAR level 2.
Staff use cloud services nobody approved
choose a cloud access security broker to discover and control them.

Try it

Trace a request to a rented cloud server and mark which layers the provider runs and which rules the customer writes.

Loading the preview.

Check your understanding

4 questions on this unit, easiest first. Confirm an answer to see the reasoning for it, then the right answer, the other options and the rule to reuse. Your answers are kept in this browser and feed readiness and review.

These questions are drafts that no named reviewer has approved yet.

Question 1 of 4

A security manager is explaining to new staff what the customer still secures in each way of running a system. Match each model to what is left to the customer.

Choose the match for each entry. Every match has to be right.

What to remember

  • SP 800-145 defines cloud by five characteristics: on-demand self-service, broad network access, resource pooling, rapid elasticity and measured service.
  • IaaS rents servers, PaaS a platform for the customer's code, SaaS a finished application, and FaaS code that runs on events.
  • In every model the customer secures its data, its identities and the configuration it controls; the provider's share grows from IaaS to SaaS.
  • The four deployment models are public, private, community and hybrid.
  • Cloud risks include data location, lock-in, e-discovery and remanence; cryptographic erasure purges data the customer cannot physically wipe.
  • SOC 2 Type II, ISO/IEC 27017 and 27018 and CSA STAR give assurance; a CASB discovers and controls cloud use.

Say it from memory

  1. Name the cloud service models with an example each, the four deployment models, and what the customer secures in every model.

    IaaS: a rented virtual server. PaaS: a hosted platform for the customer's code. SaaS: web-based email. FaaS, or serverless: code run on events, such as resizing uploaded photos. Deployment: public, private, community, hybrid. In every model the customer secures its data, identities and accounts, and its configuration. The provider takes more layers from IaaS to SaaS.

    Read this part again

  2. Name the five essential characteristics of cloud computing, and say how elasticity differs from scalability.

    On-demand self-service, broad network access, resource pooling, rapid elasticity and measured service. Scalability is the ability to grow to carry more load, which may be planned weeks ahead. Elasticity is growing and shrinking automatically as demand rises and falls.

    Read this part again

  3. What is Function as a Service, and what does the customer still own in serverless computing?

    Small pieces of code that run only when an event triggers them, billed per run; it is the commonest form of serverless computing. The servers still exist, but the provider runs them entirely. The customer still owns the function's code, the libraries it uses and the permissions it holds.

    Read this part again

  4. What is a hybrid cloud, and does a private cloud mean a secure one?

    A hybrid cloud is two or more of public, private and community clouds, kept distinct but linked so data and programs can move between them. Private does not mean secure, and public does not mean insecure. The deployment model changes who shares the hardware; the responsibility matrix decides who secures each layer.

    Read this part again

  5. What is data sovereignty, and how is data purged from cloud storage the customer cannot wipe?

    Data sovereignty is the principle that data is subject to the laws of the country where it is held; a contract can restrict storage and processing to named countries. Cryptographic erasure purges cloud data: it is stored encrypted, and destroying the key makes it unreadable.

    Read this part again

  6. What do a SOC 2 Type II report and the two CSA STAR levels give, and what does a CASB do?

    A SOC 2 Type II report is an independent auditor's opinion on whether the provider's controls worked over a stated period. CSA STAR level 1 is the provider's self-assessment; level 2 adds independent audit. A cloud access security broker sits between users and cloud services, discovers which are in use and enforces the organisation's rules on them.

    Read this part again

Sources