Lesson 1 of 3 Cloud Security

Cloud Deployment and Service Models

Cloud computing comes in different deployment and service models, and each changes who controls what. This lesson explains the characteristics of cloud computing, the public, private, hybrid and community deployment models, and the IaaS, PaaS and SaaS service models.

Learning outcomes

After completing this lesson, you will be able to:

  • Describe the essential characteristics of cloud computing.
  • Distinguish public, private, community and hybrid clouds.
  • Distinguish IaaS, PaaS and SaaS responsibilities.
  • Explain the security implications of each service model.

Cloud characteristics

NIST SP 800-145 defines cloud computing by five essential characteristics: on-demand self-service (customers provision resources themselves), broad network access, resource pooling (providers serve many customers from shared infrastructure, which is multi-tenancy), rapid elasticity (resources scale up and down quickly) and measured service (customers pay for what they use). These characteristics bring agility but also new risks: resources can be created and exposed in minutes, by anyone with the right permissions, outside traditional controls.

Deployment models

The deployment model describes who the cloud infrastructure serves and who controls it.

Public cloud
Infrastructure owned and operated by a provider and offered to the general public, such as AWS, Microsoft Azure and Google Cloud. Tenants share infrastructure with logical isolation. Low upfront cost and great scale; reliance on the provider.
Private cloud
Cloud infrastructure dedicated to one organisation, on premises or hosted by a third party. More control and isolation, at higher cost and with the organisation responsible for more of the stack.
Community cloud
Infrastructure shared by several organisations with common requirements, such as government agencies or healthcare providers with the same compliance obligations.
Hybrid cloud
A combination of two or more models, such as a private cloud for sensitive workloads and public cloud for others, connected so that data and applications can move between them.

Many organisations also use several public providers (multi-cloud), which adds complexity in identity, configuration and monitoring. The choice of model depends on data sensitivity, regulatory requirements, cost and the need for control.

Match the pairs

Deployment models

Exam skills 7.4.1

Match each cloud deployment model with its description.

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

Service models

The service model describes how much of the technology stack the provider manages.

  • Infrastructure as a Service (IaaS): the provider supplies virtual machines, storage and networking. The customer manages the operating system, middleware, runtime, applications and data, including patching the guest OS and configuring firewalls (security groups). Example: virtual machines in a public cloud.
  • Platform as a Service (PaaS): the provider manages the infrastructure, operating system and runtime; the customer deploys and manages its applications and data. Examples: managed databases, application hosting platforms, serverless functions.
  • Software as a Service (SaaS): the provider delivers a complete application; the customer manages its data, users, access and the application's configuration settings. Examples: email, CRM and collaboration suites.

The following table shows typical responsibilities by service model.

LayerOn premisesIaaSPaaSSaaS
Data and accessCustomerCustomerCustomerCustomer
ApplicationCustomerCustomerCustomerProvider (customer configures)
Runtime and middlewareCustomerCustomerProviderProvider
Operating systemCustomerCustomerProviderProvider
VirtualisationCustomerProviderProviderProvider
Hardware, network, facilitiesCustomerProviderProviderProvider
Sort into groups

Which service model?

Exam skills 7.4.2

Classify each offering by its cloud service model.

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

Security implications of the models

Each model shifts work and risk differently. IaaS gives the most control and the most responsibility: the customer must harden and patch guest operating systems, configure network filtering, manage identities for the cloud account and for the servers, and monitor both. Mistakes such as an unpatched VM or a security group open to the internet are the customer's. PaaS removes operating system patching but requires secure application code, secure configuration of the platform service (authentication, network exposure, encryption settings) and careful management of the identities and secrets the application uses. Serverless functions are a form of PaaS in which the attack surface is mainly the code, its event triggers and the permissions granted to each function. SaaS leaves the customer with fewer technical tasks, but the remaining ones are critical: identity integration and MFA, user permissions and sharing settings, data retention and export, logging, and review of third-party integrations connected to the SaaS tenant.

Whatever the model, the customer should know which provider assurance it relies on (certifications and audit reports), enable the provider's logging and security features, and include cloud accounts and tenants in its asset inventory, risk assessments and incident response plans.

The following diagram classifies three cloud services and what the customer manages in each.

Three cloud services classified by what the customer manages. Renting virtual servers and installing web server software is IaaS: the company manages the operating system and software. Uploading code to a managed platform that runs and scales it is PaaS. Hosted email and calendar is SaaS: the company manages only users, data and configuration.
The scenario is illustrative.
Worked example

Identify the service model

Classify each: (1) a company rents virtual servers and installs its own web server software; (2) it uploads code to a managed platform that runs it and scales automatically; (3) its staff use a hosted email and calendar service.

(1) is IaaS: the company manages the operating system and software. (2) is PaaS: the provider manages the platform and the company manages its code and data. (3) is SaaS: the company manages users, data and configuration only.

Worked example

Choosing a deployment model

Five regional hospitals must meet the same health data regulations and want to share an imaging archive and analytics platform, with infrastructure dedicated to them. Which deployment model fits?

A community cloud: infrastructure shared by organisations with common requirements and compliance obligations, and not open to the general public.

Check yourself

In PaaS, who patches the operating system?

Show answer

The provider; the customer manages its applications, data, identities and the platform's configuration.

Exam Tips

Remember for the exam

  • Community cloud serves organisations with shared requirements; hybrid combines models.
  • IaaS: customer manages the OS; PaaS: customer manages applications and data; SaaS: customer manages data, users and settings.
  • The customer is always responsible for data and access.