IB COMPUTER SCIENCE | A1.1.9 Cloud Computing Services

Lesson objective

Describe SaaS, PaaS and IaaS and compare their control, flexibility, management responsibilities and effects on resource management and availability.

Learn

A1.1.9 | CLOUD COMPUTING SERVICES

01 | WHAT ARE YOU ACTUALLY RENTING?

A school wants shared document editing. A student wants to publish a Python web application. A research team wants machines on which it can install a particular operating system and software stack. All three can use cloud services, but they need different levels of control.

Cloud computing provides access over a network to configurable computing resources or services. These can include processing, storage, platforms and complete applications. Resources can be provisioned as needed, subject to the service’s limits and arrangements.

The three service models in this objective are software as a service (SaaS), platform as a service (PaaS) and infrastructure as a service (IaaS). Their main difference is what the provider supplies and which layers the customer must manage.

Start with the customer’s goal: use an application, deploy an application, or configure computing infrastructure. That question is more useful than assuming every cloud product is just online file storage.

02 | A COMPUTER SERVICE HAS SEVERAL LAYERS

A web application needs more than its visible page. It depends on application code, a runtime that executes it, an operating system and underlying computing and networking hardware. Someone must maintain each relevant part.

A runtime is an environment that executes a program, such as a supported Python runtime. A virtual machine is a software-defined computing environment that can run its own guest operating system. These concepts help distinguish PaaS from a common IaaS arrangement.

Cloud service models move the management boundary. In SaaS, the provider operates the application itself. In PaaS, the customer deploys an application onto a managed platform. In IaaS, the customer receives fundamental computing resources and manages more of the software stack.

THREE DIFFERENT THINGS A CUSTOMER CAN OBTAIN

SaaS

USE THE SOFTWARE

A ready-to-use application.

Configure the permitted settings and manage how your organisation uses it.

PaaS

DEPLOY YOUR APPLICATION

A supported application-hosting platform.

Supply your code and configuration while the provider operates the underlying platform.

IaaS

CONFIGURE YOUR ENVIRONMENT

Computing, storage and networking resources.

Configure the guest operating system and application stack in a typical virtual-machine deployment.

Generally, moving from SaaS towards IaaS gives more control over the software environment and more management responsibility. It does not mean automatic improvement in every situation.

03 | SaaS: SOFTWARE AS A SERVICE

SaaS provides an application operated by the service provider. Users access the application through an appropriate interface, often a browser or client application, without installing and maintaining its server-side software stack themselves.

Examples include a hosted document-editing suite, an online learning application or a hosted customer-management system. The school uses the supplied features rather than building and running the whole service.

The provider maintains the application and its supporting platform. The customer still manages its own account membership, permitted configuration, data use and sharing choices. A school administrator can often assign roles or settings, but cannot normally replace the provider’s server operating system.

SaaS can make a standard task quick to adopt. Its trade-off is dependence on the service’s available features, terms, interfaces and export capabilities. A configuration option is not the same as unrestricted access to the application’s source code or underlying servers.

04 | PaaS: PLATFORM AS A SERVICE

PaaS provides a managed environment for deploying applications. A developer supplies application code and relevant configuration, using the platform’s supported languages, runtimes, services and deployment methods.

For example, a student builds a Flask project portal and deploys it onto a managed Python web platform. The student controls the routes, templates and application behaviour, while the provider maintains the supported hosting platform and underlying operating environment.

This reduces the need to configure and patch a general-purpose server from scratch. The developer must still maintain their application code, its own libraries and dependencies, secrets, data-handling rules and access checks as required by the service.

The platform’s boundaries matter. An unsupported runtime, unusual system library or requirement for unrestricted operating-system changes may not fit a particular PaaS. You gain application control without necessarily gaining administrator access to the host operating system.

05 | IaaS: INFRASTRUCTURE AS A SERVICE

IaaS provides fundamental resources such as computing capacity, storage and networking. A common example is renting virtual machines and virtual storage rather than purchasing and maintaining physical servers.

In that arrangement, the customer chooses or installs a guest operating system, configures server software and deploys applications. The provider operates the physical infrastructure and the service’s underlying virtualisation layer.

This can suit an organisation needing a particular supported operating system configuration, custom server software or a more flexible environment than an application platform permits. The customer does not usually control the provider’s physical racks or hardware.

Greater control brings more work. In a typical virtual-machine service, the customer must maintain the guest OS, patch its software, configure relevant network access and arrange appropriate application operation and data recovery. IaaS is not simply PaaS with every responsibility automatically handled.

06 | COMPARE THE MANAGEMENT BOUNDARY

Layer or decisionTypical IaaSTypical PaaSTypical SaaS
Physical servers and data-centre infrastructureProviderProviderProvider
Underlying virtualisation where usedProviderProviderProvider
Guest or platform operating environmentCustomer manages guest OSProvider manages platform OSProvider
Provider-supported application runtimeCustomer manages installed runtimeProviderProvider
Customer application code and its dependenciesCustomerCustomerProvider operates the supplied application
Permitted user/account and sharing configurationCustomerCustomerCustomer
Decisions about data use and appropriate accessCustomer responsibilities remainCustomer responsibilities remainCustomer responsibilities remain

This table is a teaching summary, not a contract for every product. The boundary varies with the service. For example, a provider-managed runtime does not mean the provider maintains every library a developer includes in their own application.

Data is also not a single all-or-nothing responsibility. The provider may operate storage and protection mechanisms while the customer decides who should be allowed to access a document. Both parts matter.

07 | THE SAME SCHOOL PORTAL, THREE POSSIBLE APPROACHES

Suppose a school needs students to submit projects and teachers to give feedback. With SaaS, it adopts an existing learning application and configures the available submission features. There is little server administration, but the workflow must fit what that application supports.

With PaaS, developers build a custom portal and deploy it on a supported platform. They control the submission and feedback logic, while the provider operates much of the hosting environment. Application maintenance remains their responsibility.

With IaaS, the team runs its own software stack on rented computing resources. It has more control over the guest environment, but also needs the expertise and time to maintain it.

These are alternatives, not compulsory steps through which every organisation must progress. The school could also combine services. What matters is the required control, available expertise and operational requirements.

08 | EXPLORE WHO MANAGES WHAT

Choose a service model and a scenario. The activity updates the typical layer split and explains how that choice fits the requirement. Compare the amount of software you can change with the amount you must maintain.

The scenarios are illustrative rather than product recommendations. Real decisions require checking the particular service’s support, configuration options, quotas and terms.

Typical service-management boundary
Layer or decisionWho manages it in this example?

09 | CONTROL AND FLEXIBILITY HAVE A MANAGEMENT COST

Control means what the customer can configure or change. Flexibility means how well the service can adapt to the application’s needs. These are not identical to speed or quality. A flexible virtual-machine environment can still be badly configured or unsuitable for the organisation maintaining it.

SaaS generally gives the least control over the underlying software stack but can offer useful application settings, integration interfaces and convenient administration. PaaS gives control over deployed applications within platform constraints. IaaS gives more guest-environment control in a typical deployment.

A team needing a standard document editor may gain little from maintaining its own OS and server software. A team needing an unusual runtime may find that the convenience of one PaaS comes with a restriction that prevents its application working.

Explain the trade-off in context: more control can satisfy a custom requirement, but responsibility for maintenance, configuration and operation increases. Less control can reduce that burden when the supplied service already fits.

10 | RESOURCE MANAGEMENT AND ELASTICITY

Resource management means deciding what computing capacity, storage or service allowances are needed and arranging how they are used. Cloud services can make provisioning resources easier, but the customer’s available controls differ by model.

In IaaS, a team may select virtual-machine sizes, storage volumes and network arrangements. In PaaS, it may choose application instances or supported scaling settings. In SaaS, it may choose account numbers, storage allowances or service tiers rather than server details.

Scalability is the ability to handle a larger workload by changing resources or design. Elasticity involves adjusting resources as demand changes, including reducing them when less is needed. Neither is a promise that an application scales automatically without configuration.

A school event may cause a brief traffic peak. More application instances might help a supported PaaS deployment, but quotas, startup time, database limits, session storage and cost can constrain the result. A virtual machine or SaaS account is not unlimited capacity.

11 | AVAILABILITY IS MORE THAN HAVING A CLOUD ACCOUNT

Availability concerns whether the required service can be accessed and used when needed. A reliable provider can improve some aspects of operation, but the full route includes the user’s network connection, authentication, the application and any dependent services.

The customer may need to choose suitable redundancy, backups, recovery arrangements or service options. A provider-operated application does not guarantee that a user’s deleted or overwritten data can always be restored under any desired conditions.

A service-level agreement (SLA) describes agreed service commitments and conditions. It is not proof that interruptions are impossible or that every part of a customer’s workflow is included.

Resource availability also depends on allocation limits, capacity and supported regions or features. A request for more resources may be constrained by quotas or by what the service actually offers. Keep promises separate from capabilities and configuration.

12 | COSTS, DEPENDENCIES AND MOVING BETWEEN SERVICES

Cloud services can reduce the need to buy and operate local hardware, but the total cost depends on use, service features and management effort. Providers may charge for subscriptions, provisioned resources, storage, requests or data transfers; pricing arrangements vary.

A system left running, unexpectedly high use or data moved out of a service can create costs. Cost monitoring, resource limits and shutting down unneeded resources are practical parts of management. Do not equate “cloud” with “always cheaper”.

Moving to another provider can be difficult if an application depends on platform-specific APIs, supported runtimes, proprietary data formats or configuration. This dependence is often called vendor lock-in.

The same organisation can use a mixture of service models. A custom PaaS application might use a separate managed storage service, while staff use SaaS for communication. Classify the service being consumed, not the provider’s entire brand as one category.

13 | SERVICE MODEL IS NOT DEPLOYMENT MODEL

SaaS, PaaS and IaaS describe what kind of service is supplied and the management boundary. Public, private and hybrid cloud arrangements describe how cloud infrastructure is deployed and used. Those are different questions.

A private cloud can provide cloud capabilities for a particular organisation, and access can occur over an appropriate private network. Cloud does not always mean that every component is a public website or that every resource is physically off-site.

Similarly, a website being reachable through a browser does not by itself prove its back end is PaaS or SaaS for its operator. A school might consume the finished website as SaaS while its provider uses IaaS behind the scenes.

Always name the perspective: what is this customer receiving, and which parts can this customer manage? That keeps classifications clear when several organisations and services are involved.

14 | DESCRIBE THE SERVICE AND APPLY IT TO THE NEED

RequirementLikely approach to considerReason and limitation
Use a supplied standard applicationSaaSProvider operates the application; customer is limited to supported features and settings.
Publish custom code on a supported runtimePaaSCustomer controls its application without maintaining the whole server stack, but must fit platform constraints.
Control a guest operating system and server stackIaaSMore software-environment control, with more customer administration.
Respond to changing demandCheck the chosen service’s resource optionsScaling may be supported, but quotas, application design, configuration and costs still matter.

For describe, say what is supplied, what the customer controls and what the provider manages. Then connect the model to a real need. “PaaS is for programming” is less useful than explaining that developers deploy their application to a provider-managed platform.

A strong scenario answer might be: “PaaS suits the custom portal if it supports the required Python runtime. The team manages its code, dependencies and access rules while the provider maintains the underlying platform, reducing server administration but limiting OS-level customisation.”

Use the Questions tab to practise these distinctions. The next topic begins data representation, including integer representation in binary and hexadecimal.

Further reading: NIST’s cloud service definitions · Shared responsibility examples

MATCH THE CLOUD TERM TO ITS MEANING

Terminology

Terminology

Cloud computing

Network access to configurable computing resources or services that can be provisioned as needed under service arrangements.

SaaS

Software as a service: use a provider-operated application.

PaaS

Platform as a service: deploy applications onto a provider-managed platform.

IaaS

Infrastructure as a service: provision fundamental computing, storage and networking resources.

Provider

The organisation supplying and operating the agreed service components.

Customer

The person or organisation consuming a service and managing its assigned responsibilities.

Runtime

An environment that executes application code, such as a supported Python runtime.

Virtual machine

A software-defined computing environment that can run its own guest operating system.

Guest OS

The operating system running within a virtual machine.

Virtualisation

Providing software-defined environments over underlying physical resources.

Management boundary

The division between what the provider operates and what the customer manages.

Shared responsibility

Provider and customer having different, complementary responsibilities for a cloud workload.

Configuration

Settings used to control behaviour within a service’s supported options.

Provisioning

Making computing resources or service capacity available for use.

Scalability

The ability to handle a larger workload by changing capacity or design.

Elasticity

Adjusting resources as demand changes, including reducing them when appropriate.

Quota

A limit on a resource or permitted use under the service arrangement.

Availability

The ability to access and use the required service when needed.

SLA

Service-level agreement: agreed service commitments, conditions and scope.

Redundancy

Additional resources used to tolerate specified failures.

Backup

A separate recoverable copy retained to help restore data after loss.

Vendor lock-in

Dependence that makes moving a workload or data to another service difficult.

API

An interface through which software can use another component or service.

Application dependency

A library or service required by an application.

Service model

The category of capability supplied, such as SaaS, PaaS or IaaS.

Deployment model

An arrangement for deploying and using cloud infrastructure, distinct from the service model.

Questions

Questions

CHECK YOUR UNDERSTANDING

Select all correct choices. Each exact set earns one point.

1. Which pairing is correct?
2. A team deploys its own supported Python web app while the provider maintains the platform OS and runtime. Which model best fits?
3. Which are typical customer responsibilities in an IaaS virtual-machine deployment?
4. Which responsibilities remain relevant to a SaaS customer?
5. Which statements about control are accurate?
6. Which statements about scaling are correct?
7. What does an SLA do?
8. Which illustrates vendor lock-in?
9. Which distinction is correct?
10. Which best fits a team needing a particular supported guest OS and custom server stack?

EXPLAIN AND COMPARE

Write your answers before revealing each sample.

1. Describe SaaS using a school example.

2. Describe PaaS for a student-built portal.

3. Describe IaaS in a virtual-machine deployment.

4. Describe how control and management effort change across the models.

5. Describe shared responsibility without claiming the provider handles everything.

6. Describe how resource management differs in the three models.

7. Explain why a traffic peak does not guarantee automatic unlimited scaling.

8. Describe availability considerations for a cloud application.

9. Describe a cause of vendor lock-in.

10. Describe why service-model classification needs a customer perspective.

APPLY IT | A SCHOOL’S PROJECT PORTAL

A school needs a student project portal. Compare adopting a supplied learning application, deploying custom code to a managed Python platform, and running a custom stack on virtual machines. Describe the service model, the customer’s responsibilities and one resource or availability consideration for each.

Flashcards

Flashcards

Click to flip. Select the ideas you need to revisit.

0 cards selected for revision.

    Selections are kept while this page is open.

    Workbook

    Workbook

    COMING SOON

    The workbook for A1.1.9 Cloud Computing Services is coming soon. Complete the matching task and written questions in your exercise book.