Beginner · What cloud computing is · topic 1 of 50 · 25 min
What the cloud is, and why companies use it
Explanation
From buying to renting
A server is a powerful computer that runs programs for other computers, such as a website or a database. Before the cloud, a company that wanted a website bought servers, put them in a room with power backup and air conditioning, hired people to run them, and waited weeks for delivery. This is called on-premises (often shortened to "on-prem"): the hardware sits on the company's own premises or in a rented rack.
Cloud computing turns this around. A cloud provider, such as Amazon Web Services (AWS), Microsoft Azure or Google Cloud, owns huge data centres (buildings full of servers). You rent a slice of them over the internet, start it from a web page or a command, and pay by the second, hour or gigabyte. When you stop using it, you stop paying.
The NIST definition: five essential characteristics
NIST, the US National Institute of Standards and Technology, wrote the definition most textbooks and exams use (Special Publication 800-145). A service is "cloud" when it has these five characteristics:
| Characteristic | What it means | Everyday example |
|---|---|---|
| On-demand self-service | You get resources yourself, without phoning or emailing anyone | Clicking "Launch instance" and getting a server in a minute |
| Broad network access | You reach it over the network from laptops, phones and scripts | Managing your servers from the AWS app on your phone |
| Resource pooling | The provider shares one big pool of hardware among many customers, kept separate from each other | Thousands of companies run on the same data centre, each seeing only its own resources |
| Rapid elasticity | Capacity grows and shrinks quickly, often automatically | Going from 2 servers to 20 for a sale, then back to 2 |
| Measured service | Usage is metered and billed, like electricity | A bill that says 730 server-hours and 50 GB of storage |
CapEx versus OpEx
CapEx (capital expenditure) is money spent up front on things you own for years, like servers. OpEx (operational expenditure) is money spent regularly on running costs, like rent or a phone bill. On-premises is mostly CapEx: you pay lakhs of rupees before the first customer arrives. The cloud is mostly OpEx: you pay monthly for what you used. A startup with little cash likes OpEx because it can start small and grow with its revenue.
The benefits
- Agility: a developer can try an idea in an afternoon instead of waiting weeks for hardware.
- Elasticity: you handle a traffic spike by adding servers for a few hours, then remove them.
- Global reach: you can run your app in Mumbai, Frankfurt and Virginia without opening offices there.
- Economies of scale: providers buy hardware and power in enormous volumes, so their cost per server is lower than yours would be.
- No undifferentiated heavy lifting: you stop spending time on cables, cooling and disk replacements, and spend it on your product.
The honest downsides
- Cost surprises: a forgotten server, a large database or heavy data downloads can produce a bill far bigger than expected. You need budgets and alerts (module 2).
- Lock-in: the more provider-specific services you use, the harder it is to move to another provider.
- Skills: cloud work needs new skills in networking, security and cost control. A badly configured cloud is less safe than a well-run server room.
- Outages still happen: providers have whole-region problems from time to time. For example, a large AWS problem in the US East (N. Virginia) region in October 2025 disrupted many well-known apps for hours. You design for failure (module 10).
- Steady workloads are not always cheaper: if you run the same 10 servers flat out for five years, buying can cost less. The cloud shines when demand changes.
Need help?
Stuck on a word or an idea? Search this course, or every course, and jump straight to the explanation or a worked question.
Try:
Watch the lesson
What the cloud is, and why companies use it · 1/7
Welcome to cloud computing. In this lesson you will learn what the cloud really is, and why so many companies use it.
Prefer a video by a teacher? Find free videos on “what is cloud computing for beginners NIST five characteristics” on YouTube ↗
In real life: A sale day at an Indian e-commerce company
An online shop normally needs 2 servers. During its yearly festive sale, in the style of Flipkart's Big Billion Days, traffic jumps about five times for three days, and at the stroke of midnight it can be even higher. On-premises, it would have to buy 10 servers that sit mostly idle for the other 362 days. In the cloud it runs 2 servers all year and adds 8 more for the 72 sale hours, then removes them. The same pattern shows up on a railway booking site at Tatkal hour (10 am for AC classes), when lakhs of people try to book in the same few minutes.
base, peak, sale_hours = 2, 10, 72
rate = 10 # rupees per server-hour (made-up number)
always_on = base * 365 * 24 * rate
sale_extra = (peak - base) * sale_hours * rate
print("Rent for the year:", always_on + sale_extra) # 180960Practice (0/3 done)
Write rent_cost(servers, hours, hourly_rate) that returns what it costs to rent that many servers for that many hours at hourly_rate rupees per server-hour. Example: rent_cost(2, 8760, 10) returns 175200 (2 servers for a full year of 8,760 hours).
Compare buying with renting for one year. If you BUY, you must buy enough servers for the peak: cost = peak * (server_price + running_cost), where running_cost is power and upkeep per server per year. If you RENT, you run base servers for all 8,760 hours of the year, plus (peak - base) extra servers only during sale_hours, at hourly_rate. Write yearly_costs(base, peak, sale_hours, server_price, running_cost, hourly_rate) that returns a dict {"buy": ..., "rent": ..., "cheaper": "buy" or "rent"}. If they cost the same, say "buy".
A college buys 20 servers for ₹30 lakh this year. Which kind of spending is that?
Quick quiz
Read more (free)
Related help
Related topics
- IaaS, PaaS, SaaS and serverlessWhat cloud computing is · same module
- Public, private, hybrid and multi-cloudWhat cloud computing is · same module
- Regions, availability zones and edge locationsWhat cloud computing is · same module
- Deploying to the cloudBackend Development · Deployment and scaling
- EC2: virtual servers in the cloudCompute and storage: EC2 and S3
- AWS vs Azure vs Google Cloud: the service mapGoogle Cloud and comparing the clouds
Questions people ask about this
Open a question to see the answer and why. The first ones are this topic's own quiz, so try the quiz above before you peek.
Which of these is one of the NIST five essential characteristics of cloud computing?
Answer: Rapid elasticity
NIST lists on-demand self-service, broad network access, resource pooling, rapid elasticity and measured service.
Your bill shows 730 server-hours and 40 GB of storage. Which characteristic does that show?
Answer: Measured service
Measured service means usage is metered and billed, like an electricity meter.
Which workload gains the MOST from the cloud?
Answer: A ticket site with a huge spike for 15 minutes each morning
Spiky, changing demand is where elasticity saves the most money.
Which statement about the cloud is TRUE?
Answer: You can start small and pay as you go
Pay as you go is real. Outages happen, security is shared, and steady loads can be cheaper on-premises.
What is the best first step to avoid a surprise cloud bill?Related
Answer: Set a budget alert on day one
A budget alert warns you early. Free tiers and prices change, so check them regularly.
You stop (not terminate) an EBS-backed instance. What happens?Related
Answer: The root volume is kept and you still pay for it
Stopping ends the compute charge but the EBS volumes remain, and storage is still billed.
Who empanels cloud service offerings for Indian government departments?Related
Answer: MeitY
The Ministry of Electronics and Information Technology (MeitY) runs the empanelment.
Which statement about multi-cloud is most honest?Related
Answer: It adds identity, networking, billing and skills overhead, so it needs a clear reason
Multi-cloud can be justified, but every extra cloud adds work and data transfer cost.
Pass the quiz (60% or more) or mark this topic as done when you are ready.
Your progress is saved on this device only.
Next steps
- 4 more topics in “What cloud computing is” before its exam: IaaS, PaaS, SaaS and serverless, Public, private, hybrid and multi-cloud, Regions, availability zones and edge locations, The shared responsibility model.
- Module 1 exam: What cloud computing is · 13 questions · 20 min, without help. 5 topics of this module still to finish first.
- Then the next module, AWS account, IAM and billing. 50 topics left in the course before the final exam.