Edexcel International Advanced Level Computer Science, point 12.4.1
Definition
Cloud computing is the delivery of computing services (servers, storage, databases, software, analytics) over the Internet ("the cloud"), on demand, usually with pay-as-you-go pricing, instead of owning and running the hardware yourself.
Function and why needed
- Organisations don't need to buy, house and maintain servers.
- Resources can grow or shrink with demand (a shop's website during a sale).
- Users can reach their data and applications from any device with an Internet connection.
- It supports big data (6.1.1), IoT (12.2.1) and machine learning (6.2.2), which need large, flexible computing power.
Characteristics
- On-demand self-service: users get resources immediately, with no human at the provider.
- Broad network access: reached over the Internet.
- Resource pooling: many customers share the provider's hardware (multi-tenancy), using virtualisation (11.2.2).
- Rapid elasticity (scalability): resources scale up and down automatically.
- Measured service: you pay for what you use.
a. Infrastructure
The hardware and systems that the cloud runs on:
- Data centres: large buildings full of servers, with power, cooling, security and fast networks, in many regions of the world.
- Servers and virtualisation: physical servers are divided into virtual machines and containers (11.2.2), so many customers' workloads share the hardware.
- Storage: huge storage systems with redundancy and backups (copies in several places).
- Networking: high-bandwidth links, load balancers that spread traffic across servers, and firewalls.
- Management software: allocates resources, monitors the system, bills customers.
- Redundancy: duplicate power, cooling, hardware and network links, so that a failure doesn't cause an outage (availability, 12.3.1).
b. Services
Cloud services are offered at different levels, depending on how much the customer manages:
| Model | Stands for | The provider supplies | You manage | Examples |
|---|---|---|---|---|
| IaaS | Infrastructure as a Service | Virtual servers, storage, networks | The operating system, middleware, applications and data | Virtual machines to rent, cloud storage |
| PaaS | Platform as a Service | Infrastructure plus the operating system and runtime tools | Your applications and data | A platform for building and hosting web apps and databases |
| SaaS | Software as a Service | The complete application | Just your use of it (and your data) | Web email, online office suites, video conferencing, streaming |
Deployment models
| Model | Description |
|---|---|
| Public cloud | Owned by a provider and shared by many customers over the Internet |
| Private cloud | Used by one organisation only (on its own site or a dedicated one): more control and security, higher cost |
| Hybrid cloud | A mix of public and private: sensitive data kept privately, demand peaks handled in the public cloud |
Benefits
- Lower upfront cost: no hardware to buy (pay as you go).
- Scalability and flexibility: grow or shrink quickly.
- Accessibility: work from anywhere, on any device.
- Reliability: redundancy, backups and disaster recovery built in.
- Maintenance and updates handled by the provider.
- Fast to deploy new services.
- Supports collaboration (shared documents, in real time).
- Access to advanced tools (AI, analytics).
Drawbacks
- Needs an Internet connection: no connection, no access.
- Security and privacy: data is held by a third party, so there is risk of breaches, and legal questions about where it is stored (data protection laws).
- Dependence on the provider: outages, price changes and vendor lock-in (hard to move).
- Ongoing costs can add up, and be hard to predict.
- Less control over hardware and configuration.
- Latency: data must travel to a distant data centre (which edge computing, 12.4.2, reduces).
- Environmental impact of energy-hungry data centres.
Worked example
Task: a small company is launching an online booking service. Explain why it might use the cloud, and which service models.
- Cost: no servers to buy. It pays only for what it uses (cheap at first, growing with customers).
- Scalability: if a promotion brings ten times the usual visitors, the cloud adds servers automatically, then removes them afterwards.
- Reliability: the provider's redundancy and backups keep the service available (12.3.1).
- Which models:
- PaaS for hosting its booking application and database, without managing servers.
- SaaS for email, accounting and customer support tools.
- IaaS only if it needs a special setup.
- Risks: customer data held by a third party (must be encrypted, and comply with data protection law), dependence on the provider's uptime, and costs that rise with success.
Exam tip: distinguish IaaS, PaaS and SaaS by what the customer manages. For benefits, give scalability, cost and accessibility, and for drawbacks, dependence on the Internet, security and loss of control. Link your points to the scenario in the question.
Check yourself
What is cloud computing?
Delivering computing services such as servers, storage and software over the Internet on demand, usually paid for by use.
What is the difference between IaaS and SaaS?
With IaaS the provider supplies virtual hardware and the customer manages the OS and applications. With SaaS the provider supplies the whole application and the customer just uses it.
What is scalability, and why is it useful?
The ability to increase or decrease resources as demand changes, so you only pay for what you need and can cope with peaks.
Give two drawbacks of cloud computing
Any two of: needs an Internet connection; security and privacy concerns; dependence on the provider; ongoing costs; less control; latency.
What is a hybrid cloud?
A mix of a private cloud and a public cloud, for example keeping sensitive data privately while using the public cloud for demand peaks.