Comparing On-Premises and Cloud Costs
This lesson explains how the cloud changes the way organisations pay for IT, which costs they carry and how they save money. Exam questions often compare on-premises and cloud costs.
Learning outcomes
After completing this lesson, you will be able to:
- Distinguish capital expenditure from operational expenditure.
- Identify the ways the AWS Cloud reduces costs, such as economies of scale and rightsizing.
- Distinguish bring your own licence from licence-included pricing.
- Identify the cost categories in a total cost of ownership comparison.
On-premises versus cloud costs
Running a data centre and using the cloud lead to very different kinds of cost. On premises, most spending is capital expenditure (CapEx): servers, storage and buildings are bought in advance, and the cost is largely fixed whether they are used or not. Because demand must be met at its peak, capacity is sized for the busiest day and sits idle much of the time. On top of the hardware come space, power, cooling, physical security, maintenance, replacement and the staff to run it all.
In the cloud, spending is operational expenditure (OpEx), paid as it is used, like a utility bill. It is variable, so it falls immediately when demand falls, and capacity can follow demand instead of being sized for the peak. AWS handles the hardware, the facilities and much of the maintenance. The following table summarises the differences.
A total cost of ownership (TCO) comparison must include all direct and indirect costs, not only server prices.
The following diagram compares the full costs of each approach.

On premises or cloud?
Ways to save
The AWS Cloud offers several means of reducing costs compared with running infrastructure on premises. Some savings come from AWS itself: because AWS buys hardware, power and network capacity for millions of customers, its economies of scale lower the price of each unit of capacity, and AWS has passed these savings on as price reductions over time.
Other savings depend on how the customer uses the cloud. Rightsizing means choosing instance types and sizes that match what a workload actually needs. Servers moved from a data centre are often sized for a peak that rarely comes, so after migration, monitoring data shows which resources can be made smaller. Automation reduces cost by turning resources off when they are not needed, such as development servers at night and at weekends, and by removing manual work. Finally, choosing the right pricing model lowers the price paid for the same usage: Savings Plans and Reserved Instances give a discount for a one-year or three-year commitment to steady usage, and Spot Instances use spare AWS capacity at a large discount for work that can be interrupted. The AWS Pricing Models module explains these models in detail. The following list summarises the four means of saving.
- Economies of scale from AWS's volume purchasing.
- Rightsizing: choosing instance types and sizes that match actual needs, usually after migration and based on monitoring.
- Automation: turning resources off when not needed and reducing manual work.
- Pricing models such as Savings Plans, Reserved Instances and Spot Instances.
Ways to save
Software licensing
Commercial software, such as Windows Server or SQL Server, needs a licence wherever it runs, and on AWS the licence can be provided in two ways. With bring your own licence (BYOL), you reuse licences you already own, which can save money; some licences are tied to physical processor cores, so they require a Dedicated Host, a physical server reserved for you. With licence included, the cost of the licence is built into the hourly price of the AWS service, so there is nothing to buy or track separately. The following table summarises the two options.
| Option | Meaning |
|---|---|
| Bring your own licence (BYOL) | Reuse licences you own; some tied to physical cores require Dedicated Hosts |
| Licence included | The licence cost is built into the AWS hourly price |
Licensing on AWS
Comparing total cost of ownership
A company compares running 20 servers in its own server room for three years with running the same workload on AWS. The figures are illustrative, but the categories are what matter:
| Cost item (3 years) | On premises | AWS |
|---|---|---|
| Server hardware (bought up front) | $120,000 | — |
| Power and cooling | $36,000 | Included |
| Server room space and security | $30,000 | Included |
| Staff time maintaining hardware | $60,000 | Mostly removed |
| Compute, storage and support charges | — | $140,000 (with Savings Plans) |
| Total | $246,000 | $140,000 |
Comparing only the server price ($120,000) against the AWS bill would wrongly suggest AWS is more expensive. A fair TCO comparison includes every cost of owning infrastructure. The spending also changes type: from a large capital expense (CapEx) to an ongoing operational expense (OpEx), and after migration rightsizing over-large servers lowers the AWS figure further.
What does trading fixed expense for variable expense mean?
Show answer
Instead of paying up front for data centres and servers, you pay for computing resources only as you use them.
Exam Tips
Remember for the exam
- The cloud shifts spending from CapEx to OpEx, which is variable and pay-as-you-go.
- On-premises capacity must be sized for peak demand.
- Rightsizing is a key cost saving after migration.
- BYOL reuses existing licences; licence included adds the licence cost to the hourly price.
- Licences tied to physical cores require Dedicated Hosts.
- TCO includes power, cooling, space, staff and hardware replacement.