Renting capacity vs buying servers
Lesson 2 of 88 in AWS Certified Cloud Practitioner (CLF-C02) Exam Prep. Free to read, with practice questions to try.
Buying vs renting servers
Every website needs computers to run on. One option is to buy servers: you pay for physical machines up front, keep them in your own office, and maintain them yourself. The other option is to rent capacity: you use computing power that a provider such as AWS owns and runs, reached over the internet. This is what people mean by the cloud.
ChaiCart began on an office server. Its owners had to decide how much hardware to own before they knew how many customers would visit. That decision is the heart of this lesson.
CapEx vs OpEx spending
Buying servers is a capital expenditure (CapEx): a large purchase of something you own, paid mostly before you use it. Renting capacity is an operational expenditure (OpEx): an ongoing cost of running your business, paid over time as you consume the service.
| Question | Buying servers | Renting capacity |
|---|---|---|
| Type of spending | CapEx | OpEx |
| When the money leaves | One large sum before launch | Spread over months as used |
| What you own afterwards | The hardware | Nothing; you use it |
Fixed hardware, changing demand
Bought hardware has a fixed size, so it must be chosen in advance for the expected peak demand. Suppose ChaiCart's team sizes its office server for the festive-season rush. In a quiet month much of that capacity sits idle, which is over-provisioning. If instead they sized it for an ordinary month, the festive spike would overwhelm it, causing slow pages or an outage: under-provisioning.
- Festive month: demand far above an ordinary month.
- Quiet month: demand low, most capacity unused.
- Fixed server: the same size all year, whatever the traffic.
Shifting the cost model
Owning fixed infrastructure means a large upfront commitment that is decided long before traffic is known. Renting converts that commitment into ongoing operational spending that follows how much capacity ChaiCart actually uses. The total is not the only difference; the timing is.
| Point in the year | Buying servers | Renting capacity |
|---|---|---|
| Before launch | Very large sum paid | Almost nothing paid |
| Quiet months | Same sum already spent; capacity idle | Low monthly spend |
| Festive month | No extra spend, but the server may be strained | Higher monthly spend, as more is used |
The idle server case
Predict what happens here. ChaiCart buys a server for three years, sized for its festive peak. After one year, traffic settles at a modest, steady level well below that peak.
Answer: The money is already spent, and switching to renting does not recover it. For the remaining years the server stays large and mostly idle, so the business keeps paying for capacity it does not use. Had ChaiCart rented capacity, its spending would have followed the modest traffic, and it would not have committed a large sum before knowing demand.
Practice questions
- 1.
A ChaiCart planner says: "We bought a spare server but never switched it on, so it cost us nothing." What is wrong with this reasoning?
- A.
Idle owned hardware is billed only when powered on.
- B.
Its cost starts only when traffic first reaches the server.
- C.
Unused owned hardware is refunded once its useful life ends.
- D.
The purchase cost was committed at buying, regardless of use.
Show answer
Answer: D.The purchase cost was committed at buying, regardless of use.
Buying hardware is capital expenditure paid mostly before use, so the cost is committed at purchase and does not depend on whether the server ever runs traffic. The option about a refund at the end of useful life is wrong because the lesson describes no refund; the option saying idle hardware is billed only when powered on describes usage-based spending, which is the rented model, not owned hardware. The option saying cost starts when traffic reaches the server confuses the timing of CapEx with the timing of OpEx.
- A.
- 2.
ChaiCart rents web capacity from AWS instead of owning servers. How does its monthly bill behave as traffic changes?
- A.
It is set once before launch and cannot change afterwards.
- B.
It stays the same each month, matching the upfront sum spread over years.
- C.
It rises and falls with the capacity consumed in each month.
- D.
It stays unaffected by traffic, because the hardware was already paid for.
Show answer
Answer: C.It rises and falls with the capacity consumed in each month.
Renting is OpEx that follows the capacity actually consumed, so a busier month costs more and a quiet month costs less. The option claiming a constant monthly bill describes owned hardware's fixed cost, not rented capacity. The option saying the bill is set once before launch describes the upfront commitment that renting avoids. The option saying traffic does not affect the bill confuses renting with owning hardware already paid for.
- A.
- 3.
ChaiCart's office server is sized for the festive-season peak. What happens to it in an ordinary quiet month?
- A.
Its capacity overloads, causing slow pages or outages.
- B.
Its unused share is refunded when ChaiCart switches to renting.
- C.
Its cost stays the same while most capacity sits idle.
- D.
Its cost drops, since less of the server is used.
Show answer
Answer: C.Its cost stays the same while most capacity sits idle.
The server was bought up front for the festive peak, so its cost is already fixed and does not fall when traffic is low; in a quiet month most of its capacity sits idle. The option saying cost drops is wrong because the hardware was paid for before traffic was known. The option describing overload is the under-provisioning case, which happens when demand exceeds capacity, not when it is low. The refund option is wrong because the lesson states that switching to renting does not recover money already spent.
- A.
7 more questions and the timed quiz for this lesson open with a free account.
Lessons in A Shop Moves To The Cloud
- One shop website moved from an office server to aws
- Renting capacity vs buying servers
- Paying only for what you use
- Managed vs self-managed services
- Cloud vs hybrid vs on-premises deployment
88 lessons across 10 topics. See the full course