What Is Cloud Computing?
Overview
Cloud computing is the on-demand delivery of IT resources - servers, storage, databases, networking and software - over the internet with pay-as-you-go pricing. Instead of buying and maintaining your own hardware, you rent exactly what you need from a provider such as AWS and stop paying when you stop using it.
Think of electricity. A factory in the 1900s built its own power plant. Today you plug into the grid, use what you need and get a bill. Cloud computing does the same for IT: AWS runs enormous, highly efficient data centers, and you plug in through the console, CLI or APIs.
Before the cloud, launching a new application meant forecasting demand, ordering servers, waiting weeks for delivery, and installing them in a data center. With the cloud, you can launch a server in minutes, experiment cheaply and shut it down when the experiment ends.
Key Concepts
- On-demand self-service: you provision resources yourself through a console, CLI or API, with no human at the provider involved.
- Broad network access: resources are reachable over the internet or private connections from many device types.
- Resource pooling: the provider serves many customers from shared infrastructure (multi-tenancy) with logical isolation.
- Rapid elasticity: capacity can be added or removed in minutes to follow demand.
- Measured service: usage is metered, and you are billed only for what you consume.
- Compared with on-premises, the cloud replaces up-front hardware purchases with variable operating costs.
- AWS provides 200+ services across compute, storage, databases, networking, analytics, AI/ML, security and more.
Detailed Notes
The five essential characteristics
Cloud computing is commonly described by the five characteristics defined by NIST, which map directly to how AWS behaves.
| Characteristic | What it means | AWS example |
|---|---|---|
| On-demand self-service | Provision without a ticket or phone call | Launch an EC2 instance with one API call |
| Broad network access | Reach services over standard networks | Console, CLI, SDKs, HTTPS endpoints |
| Resource pooling | Shared hardware, isolated tenants | Many accounts share physical hosts securely |
| Rapid elasticity | Scale out and in quickly | Auto Scaling adds instances at peak |
| Measured service | Metered, pay for use | Per-second EC2 billing, per-request Lambda billing |
Cloud versus on-premises
| Aspect | On-premises | Cloud (AWS) |
|---|---|---|
| Up-front cost | High (hardware, facilities) | Near zero |
| Provisioning time | Weeks or months | Minutes |
| Capacity planning | Guess peak demand | Scale to actual demand |
| Maintenance | You patch and replace hardware | AWS manages the physical layer |
| Global reach | Build or lease each site | Deploy in many Regions with a few clicks |
One-time operations versus repeatable processes
How you provision matters as much as what you provision. The exam expects you to choose the right approach for the situation.
| Approach | Best for | Weakness |
|---|---|---|
| Management Console | Learning, exploring, one-off changes | Manual clicks are hard to repeat or audit |
| CLI and SDKs (programmatic access) | Scripts, automation, application code calling AWS | Scripts still need maintenance and ordering logic |
| Infrastructure as code (CloudFormation, CDK) | Repeatable, reviewable, version-controlled environments | Needs upfront template design |
A good rule: use the console to learn and for one-time tasks; use code for anything you will do twice. Repeatable processes reduce human error, make environments identical (dev, test, prod) and provide an audit trail through version control. Services such as Auto Scaling and Elastic Beanstalk are also forms of automation because AWS performs provisioning on your behalf.
Three ways to access AWS
- AWS Management Console: a web interface, ideal for learning and one-off tasks.
- AWS Command Line Interface (CLI): scripts and automation from a terminal.
- AWS SDKs: libraries for languages such as Python, JavaScript, Java and Go to call AWS from applications.
All three call the same underlying AWS APIs, so anything possible in one is generally possible in the others.
# Launch a small server with one command (illustrative values)
aws ec2 run-instances --image-id ami-0abcdef1234567890 --instance-type t3.micro --count 1
# Stop paying for it when finished
aws ec2 terminate-instances --instance-ids i-0123456789abcdef0
The pay-as-you-go principle
AWS pricing rests on three fundamentals: you pay for compute (by the second or hour), storage (per GB-month) and outbound data transfer (per GB). Inbound data transfer to AWS is generally free. Many services also offer discounts for volume or commitment, covered in the billing chapter.
What the cloud does not remove
The cloud removes the undifferentiated heavy lifting of racking servers and running power and cooling, but you still design applications, manage identities, configure security and control cost. This split is formalised in the shared responsibility model.
Real World Example
A start-up building a ticketing app expects a huge spike when a concert goes on sale but has no idea how big. On-premises, it would buy servers for the peak and leave them idle the rest of the year.
On AWS, the team runs a handful of EC2 instances normally and lets Auto Scaling add more when the sale opens. After the rush, capacity shrinks back and the bill follows. They launched in two weeks instead of two quarters and never bought a server.
Architecture Diagram
You request resources through APIs; AWS provisions and meters them.
- 1You decide what you need (a server, a bucket, a database).
- 2You send a request through the console, CLI or SDK.
- 3AWS provisions the resource from its shared global infrastructure in minutes.
- 4AWS meters your usage and you pay only for what was consumed.
Best Practices
- ✓Treat infrastructure as disposable: create and delete resources freely, and avoid manual one-off servers.
- ✓Prefer automation (CLI, SDKs, infrastructure as code) over repeated console clicking.
- ✓Set a budget alert on day one so surprises are caught early.
- ✓Tag resources so you can see who is using what.
- ✓Start with managed services to reduce operational work.
Common Interview Questions
Exam Tips
CLF-C02 focus
- "Pay-as-you-go" and "on-demand" are core cloud characteristics.
- The three access methods are Console, CLI and SDKs; the exam may also mention APIs.
- Cloud shifts cost from up-front hardware to variable usage.
- AWS does not charge for inbound data transfer to the cloud.
Finished this lesson?
0 of 43 lessons done · 0% of the course

