What is Cloud Computing?
Cloud computing means renting computing power, storage, databases and software over the internet, when you need them, instead of buying and running your own machines. You pay for what you use, and you can grow or shrink in minutes. It is how most modern apps, from mobile banking to streaming, are built and run.
What makes something "cloud"?
Hosting a website on a computer under your desk is not cloud computing, even though people reach it over the internet. A true cloud service has five characteristics:
- Self-service on demand: you create a server or database yourself, through a web page or an API, without phoning anyone or waiting for hardware to arrive.
- Network access: everything is reached over the network, from a laptop, a phone or another program.
- Shared resources: the provider runs huge pools of hardware and divides them between many customers, who stay isolated from each other.
- Elasticity: you can add capacity when demand rises and release it when demand falls, often automatically.
- Measured service: usage is metered (hours of compute, gigabytes stored, requests made) and you are billed for it, much like electricity tokens.
A national school results portal is quiet for most of the year, then millions of students and parents check results on the same morning. Buying enough servers for that one morning would waste money for the other 364 days. In the cloud, the portal can run on a few small servers normally and scale up to hundreds for results day, then scale back down.
Service models: IaaS, PaaS and SaaS
Cloud services are grouped by how much of the work the provider takes off your hands.
| Model | You get | You still manage | AWS examples |
|---|---|---|---|
| IaaS (Infrastructure as a Service) | Virtual servers, disks and networks | The operating system, patches, runtime and your app | Amazon EC2, Amazon EBS, Amazon VPC |
| PaaS (Platform as a Service) | A ready platform to run code or data | Your code and your data | AWS Elastic Beanstalk, Amazon RDS, AWS Lambda |
| SaaS (Software as a Service) | A finished application | Your users, settings and data | Amazon WorkMail; outside AWS, Gmail or Microsoft 365 |
Deployment models
- Public cloud: services run on a provider's shared infrastructure, such as AWS, Microsoft Azure or Google Cloud. This series is about the public cloud.
- Private cloud: cloud-style self-service built on hardware used by one organisation only, often in its own data centre.
- Hybrid cloud: a mix of on-premises systems and public cloud, connected together. A bank might keep its core ledger on-premises and run its customer app in the cloud.
- Multi-cloud: using more than one public cloud provider.
Benefits and trade-offs
The main benefits are:
- No big upfront purchase: instead of buying servers (capital expense), you pay monthly for what you use (operating expense). A two-person start-up in Nairobi gets the same kind of infrastructure as a large bank.
- Speed: a new server takes minutes, not weeks, so teams can experiment cheaply.
- Elasticity: capacity follows demand, so you stop guessing how many servers you will need.
- Global reach: you can run your app close to users on several continents.
- Managed services: the provider handles backups, patching and hardware failures for many services, so you focus on your product.
The cloud also has real costs and risks:
- Unexpected bills: a forgotten server or a misconfiguration can quietly cost money every hour.
- Internet dependence: you need reliable connectivity, and users far from the provider's data centres experience more delay (latency).
- Lock-in: the more provider-specific services you use, the harder it is to move.
- Data rules: laws such as Kenya's Data Protection Act, 2019 affect where and how personal data may be stored, so you must choose locations and settings carefully.
Pay-as-you-go cuts both ways. Cloud resources keep charging until you stop or delete them. From your very first practice session, get into the habit of cleaning up after yourself; the account setup page shows how to set billing alerts first.
Key points
- Cloud computing is on-demand, self-service, metered computing delivered over the network.
- IaaS gives you raw infrastructure, PaaS gives you a platform for your code, and SaaS gives you finished software.
- Public, private, hybrid and multi-cloud describe where services run.
- The big wins are speed, elasticity and no upfront hardware; the big risks are surprise costs, latency and lock-in.
Tip: use the ← and → keys to move between pages.
