What is Cloud Computing?
Short answer: cloud computing means using servers, storage, databases and software over the internet from a provider, instead of buying and running your own hardware. You pay for what you use and can scale up or down within minutes.
How it works
Providers run huge data centers around the world. They split their hardware into virtual machines, containers and managed services, and rent them out through a web console or API. You create a resource, use it, and delete it when you are done.
The three service models
| Model | Provider manages | You manage | Examples |
|---|---|---|---|
| IaaS (Infrastructure) | Hardware, virtualization, networking | OS, runtime, apps, data | Amazon EC2, Azure VMs |
| PaaS (Platform) | Hardware plus OS and runtime | Your app and data | Heroku, Google App Engine |
| SaaS (Software) | Everything | Just your use of it | Gmail, Slack, Microsoft 365 |
A useful analogy: IaaS gives you the kitchen, PaaS gives you a kitchen with a chef's tools set up, SaaS is ordering a finished meal. See a real IaaS example in the AWS EC2 guide.
Deployment models
- Public cloud: resources are shared on a provider's infrastructure (AWS, Azure, Google Cloud). Cheapest and quickest to start.
- Private cloud: infrastructure dedicated to one organization, on premises or hosted. More control, higher cost.
- Hybrid cloud: a mix of private and public that work together.
- Multi-cloud: using more than one public provider to avoid dependence on one vendor.
Key benefits
- Cost: no large upfront hardware purchase; pay as you go.
- Elasticity: add capacity for a traffic spike and remove it afterwards.
- Speed: launch a server or database in minutes.
- Reach: deploy near users in many regions.
- Reliability: built-in backups and multi-zone redundancy.
Risks and drawbacks
| Risk | What to do |
|---|---|
| Surprise bills | Set budgets and alerts; shut down unused resources |
| Security misconfiguration | Follow least-privilege access and never leave storage public by mistake |
| Vendor lock-in | Prefer open standards and portable tools like containers |
| Outages | Design across zones or regions |
| Compliance | Choose regions and services that meet your legal requirements |
Security in the cloud is a shared responsibility: the provider secures the data center, while you secure your accounts, data and configuration.
Common cloud services
| Need | Typical service |
|---|---|
| Virtual servers | EC2, Azure Virtual Machines, Compute Engine |
| Object storage | S3, Blob Storage, Cloud Storage |
| Managed databases | RDS, Azure SQL, Cloud SQL |
| Serverless functions | Lambda, Azure Functions, Cloud Functions |
| Private networking | VPC, Virtual Network |
Go deeper with AWS S3 storage, AWS Lambda serverless computing and AWS VPC networking.
Real-world uses
- Hosting websites and apps that need to scale.
- Storing and streaming media.
- Running data analysis and machine learning.
- Backup and disaster recovery.
- Remote work tools and collaboration.
Cloud vs traditional hosting
Traditional hosting means a fixed server for a fixed price, even when it sits idle. Cloud resources are flexible and billed by usage, so cost follows demand. Cloud also needs more care to control spending and settings.
How to start learning
- Create a free-tier account with one provider.
- Launch a small virtual machine and a storage bucket.
- Deploy a simple app and set a billing alert.
- Learn networking, identity and monitoring basics.
Related reading: what a web server is.
