Cloud computing means using computers, storage and software that run in someone else's data centre, over the internet. You do not buy the machines. You rent what you need, when you need it, and pay for what you use.
If you have saved photos to Google Photos, written a document in Google Docs or watched a show on Netflix, you have already used the cloud. This page explains the idea with an everyday analogy, then covers the three service types (IaaS, PaaS and SaaS), the ways a cloud can be set up, and the main providers.
Cloud computing in simple words: the electricity analogy
A hundred years ago, some factories ran their own power generators. They bought the machines, hired people to run them and paid for repairs. Today almost nobody does that. You plug into the electricity grid, use what you need, and pay a monthly bill based on the meter reading.
Cloud computing does the same thing for computers:
| Electricity | Cloud computing |
|---|---|
| Running your own generator | Buying and running your own servers |
| The power company's plant | The cloud provider's data centre |
| Plugging into a socket | Connecting over the internet |
| Paying for units used | Paying for hours, gigabytes or requests used |
| Using more power in summer for the AC | Adding more servers during a sale or exam results day |
The "cloud" is just a friendly name for those data centres: buildings full of servers, run by companies such as Amazon, Microsoft and Google.
Before and after the cloud
Imagine a startup building a food delivery app.
Without the cloud, the team must:
- Buy servers, which costs a lot before the app earns anything.
- Find a room with power backup, cooling and a fast internet line.
- Install the operating system, database and security updates themselves.
- Guess how many users will come. Too few servers and the app crashes at dinner time. Too many and money is wasted.
With the cloud, the team:
- Creates an account with a provider.
- Starts a virtual server in a few minutes.
- Adds more servers automatically when traffic rises at dinner time and removes them at night.
- Pays only for what was used.
That is why most new apps, and many old ones, now run in the cloud.
The three service types: IaaS, PaaS and SaaS
The difference between them is how much the provider manages for you and how much you manage yourself. A simple way to remember it is the pizza analogy.
| Model | Pizza analogy | What the provider manages | What you manage |
|---|---|---|---|
| On-premises (no cloud) | Make pizza at home: buy flour, oven, gas, everything | Nothing | Everything |
| IaaS | Rent a kitchen with an oven; bring your own ingredients and cook | Data centre, hardware, networking, virtual machines | Operating system, runtime, database, your app and data |
| PaaS | Order pizza for delivery; you just set the table | Everything up to the runtime and platform | Your code and data |
| SaaS | Eat at the restaurant | Everything, including the software | Only your account and your data |
IaaS: Infrastructure as a Service
You rent raw building blocks: virtual servers, storage and networks. You choose the operating system, install the software and look after updates.
- Examples: Amazon EC2, Azure Virtual Machines, Google Compute Engine.
- Who uses it: DevOps and cloud engineers who want full control.
- Student example: starting a small Linux server on AWS to host your project for a demo.
PaaS: Platform as a Service
You hand over your code, and the platform runs it. The provider handles servers, the operating system and scaling.
- Examples: AWS Elastic Beanstalk, Google App Engine, Azure App Service, Heroku.
- Who uses it: developers who want to focus on code, not servers.
- Student example: deploying a Spring Boot or Node.js project and getting a public link without setting up a server.
SaaS: Software as a Service
You use finished software through a browser or an app. There is nothing to install or maintain.
- Examples: Gmail, Google Drive, Microsoft 365, Zoom, Canva, Netflix.
- Who uses it: everyone.
- Student example: submitting assignments on Google Classroom.
A quick way to tell them apart:
SaaS -> you USE the software (Gmail)
PaaS -> you DEPLOY your code (App Engine, Elastic Beanstalk)
IaaS -> you MANAGE the servers (EC2, Azure VMs)
Deployment models: public, private and hybrid
| Model | What it means | Example |
|---|---|---|
| Public cloud | The provider's shared data centres, rented by many customers | A startup running its app on AWS |
| Private cloud | Cloud-style infrastructure used by one organisation only, in its own data centre or a dedicated one | A bank keeping sensitive systems on its own private cloud |
| Hybrid cloud | A mix of public and private, with work moving between them | A company keeps customer records private but runs its website on a public cloud |
| Multi-cloud | Using more than one public cloud provider | Using AWS for apps and Google Cloud for data analytics |
Main cloud providers
| Provider | Known for |
|---|---|
| Amazon Web Services (AWS) | The largest provider, with the widest set of services |
| Microsoft Azure | Strong with companies that already use Windows, Office and Microsoft tools |
| Google Cloud Platform (GCP) | Data analytics, machine learning and Kubernetes |
| Oracle Cloud, IBM Cloud | Common in enterprises that already use their databases and software |
For how the two biggest providers compare for a fresher, read AWS vs Azure.
Common cloud services you will hear about
| Service type | What it does | AWS example |
|---|---|---|
| Compute | Virtual servers to run programs | EC2 |
| Storage | Store files, images and backups | S3 |
| Database | Managed databases, no manual setup | RDS, DynamoDB |
| Serverless | Run a function only when it is triggered, pay per run | Lambda |
| Containers | Run apps packed with everything they need | ECS, EKS (Kubernetes) |
| Networking | Private networks, load balancers, DNS | VPC, Elastic Load Balancing, Route 53 |
Containers and Kubernetes come up a lot in cloud jobs. See Docker vs Kubernetes for a beginner-friendly comparison. If words like DNS and load balancer are new, start with computer networks basics.
Benefits of cloud computing
- No big upfront cost: rent instead of buying servers.
- Scalability: add or remove capacity in minutes.
- Pay as you go: stop a server and you stop paying for it.
- Reliability: providers run many data centres, so apps can keep running if one has a problem.
- Access from anywhere: your files and apps are available on any device with internet.
- Less maintenance: the provider handles hardware failures, power and cooling.
Limitations to keep in mind
- Needs internet: no connection, no access.
- Costs can grow quietly: a server you forgot to stop keeps billing you. Set a budget alert on any cloud account you create.
- Shared responsibility for security: the provider secures the data centre, but you must secure your passwords, permissions and data settings. Many data leaks come from storage that was left public by mistake.
- Vendor lock-in: moving from one provider to another can take work.
Tip for students: Most big providers offer a free tier or free credits for learning. Read the free-tier limits carefully and turn off resources when you finish practising.
Cloud computing and careers
Cloud skills appear in many job descriptions, not just "cloud engineer" roles. Backend developers deploy APIs to the cloud, data analysts use cloud databases, and testers run tests on cloud machines. A sensible order to learn is: operating system basics, Linux commands, networking basics, then one cloud provider. Our cloud engineer roadmap lays out the steps.
Quick revision
- Cloud computing is renting computing resources over the internet and paying for what you use.
- IaaS: you manage servers. PaaS: you deploy code. SaaS: you use the software.
- Deployment models: public, private, hybrid and multi-cloud.
- Main providers: AWS, Azure and Google Cloud.
- Benefits: low upfront cost, scaling, reliability. Watch out for costs and security settings.
When you are ready for interview-level questions, try our AWS interview questions.
Frequently Asked Questions
What is cloud computing in simple words?
What are IaaS, PaaS and SaaS?
What are some examples of cloud computing?
What is the difference between public, private and hybrid cloud?
Is cloud storage safe?
Want to Build Your Career in Java Full Stack with AI?
Join CodeBegun and train with working industry engineers — Discover CodeBegun's Java Full Stack track

