Owning servers versus renting capacity
Choose capacity to match demand
Owning servers means buying or otherwise controlling equipment and arranging its operation. Renting cloud capacity means paying for access to resources under a provider’s terms. A managed service goes further by having the provider handle more of the operational work. The right choice depends on demand, control, skills, reliability requirements, data location and total cost.
Three ways to run the bookstore
Owned server: the bookstore buys a machine and operates the infrastructure or contracts a facility to host it. This can provide direct control over hardware, but equipment needs procurement and maintenance.
Rented virtual machine: the bookstore rents a virtual computer and deploys its application. The provider operates physical hardware; the bookstore typically configures and updates its guest software.
Managed application service: the bookstore supplies application code or an artifact, and the platform handles more of the runtime and infrastructure. This can reduce operational work but may impose restrictions on supported software and configuration. The bookstore still owns decisions about application behavior and its data.
Worked example: a changing number of customers
Assume each identical server can handle 30 requests per minute at an acceptable load. Demand is 40, 90 and 30 requests per minute in three equal periods. For this arithmetic model, assume perfectly distributed requests, no startup delay and a minimum of one server. Round up when dividing demand by capacity.
| Period | Requests/min | Servers needed | Spare requests/min |
|---|---|---|---|
| Morning | 40 | 2 | 20 |
| Noon | 90 | 3 | 0 |
| Evening | 30 | 1 | 0 |
For morning, one server provides 30 requests/min, which is not enough for 40; two provide 60. At noon three are needed. In the evening one is enough under the assumptions. Allocating three servers throughout uses nine server-periods; matching the calculated demand uses six. This is a comparison of capacity, not a real price estimate.
Why the calculation is not a deployment plan
Real servers may have unequal load, memory constraints or slow database queries. New servers take time to start; a machine may fail. A design targeting exactly 100% of the measured capacity has no spare room for sudden demand. You would measure performance, leave appropriate headroom, test scaling and define a recovery plan. Even if compute use falls, storage, networking, support and other charges may remain.
Choose a model using requirements
For a small site with changing demand and no infrastructure team, a managed platform is a sensible candidate if it supports the application and budget. A rented VM may suit software requiring operating-system control. Owned equipment can be suitable for a predictable workload with strict hardware requirements and staff able to operate it. None is universally cheapest or most reliable. Compare ongoing and one-time costs, contract limits, connectivity, data control and operational effort before deciding.
Practice: change the demand
Use the same simplified capacity of 30 requests/min. Calculate the required server counts for 10, 61 and 120 requests/min, with a minimum of one server. Compare with a fixed allocation of four servers for all three equal periods. Explain one reason the calculated capacity is not a safe production sizing decision. The manual exercise has a separate answer key.
The next chapter explains the characteristics that make cloud allocation different from ordinary fixed hosting.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Owning servers versus renting capacity — knowledge check
Apply the lesson to the fictional bookstore. Choose one answer per question.
One server handles 30 requests/min. How many are required for 61 requests/min in the simplified model?
For demand 40, 90, 30 with capacity 30 each, what are the required counts?
What is missing from a model that assumes instant server startup?
Which model is a candidate for changing demand and a small operations team, if supported by requirements?
Six server-periods instead of nine proves what?