Volume 1 · Chapter 8 — AWS Foundations and Cloud Computing

Cloud Economics and the Pricing Model in Depth

Goutham Mayaluri 6 min read AWSCloudCloud Computing

8.1 Introduction

Cost is a Well-Architected pillar and a heavily-tested exam domain, and an architect must know the pricing models in detail - not just “pay as you go,” but the specific purchasing options, their commitment terms and flexibility, and when each is optimal. This chapter deepens the foundations chapter into the level the certifications require, including the economics language (CapEx vs OpEx, TCO, economies of scale) and the full compute-savings landscape.

8.2 The Economics: CapEx, OpEx, TCO, and Elasticity

The cloud’s economic shift is fromcapital expenditure(CapEx - buying hardware up front, a large fixed cost that depreciates and is often over-provisioned for peak) tooperational expenditure(OpEx - paying for what you use, variable and aligned to actual demand). This improvestotal cost of ownership (TCO)by eliminating over-provisioning, data-centre operations, and hardware refresh cycles, and it lets you trade fixed cost for variable cost. AWS also passes oneconomies of scale- as its aggregate usage grows, prices fall (AWS has cut prices many times). Three principles the exam emphasizes: pay only for what you consume, benefit from massive economies of scale, and stop guessing capacity (use elasticity instead of provisioning for a speculative peak). The value proposition is agility and cost-efficiency, but only if you exploit elasticity - idle, over-provisioned resources still cost money.

8.3 What You Pay For

Across services, charges generally fall into three buckets:compute(how much processing and for how long),storage(how much data and in which class/tier), anddata transfer. Data transfer is the most misunderstood and exam-relevant: inbound data transfer to AWS is generally free; data transferoutto the internet is charged and tiered; data transfer between Regions is charged; data between AZs (in some cases) is charged; but data to many AWS services within the same Region can be free or reduced, and VPC endpoints/PrivateLink can eliminate NAT and egress costs for AWS-service traffic. Architecturally, keeping traffic within a Region/AZ and using CloudFront to reduce origin egress are key cost levers. Prices also vary by Region.

8.4 The Free Tier

The AWS Free Tier has three distinct types, a tested distinction:12-months-free(free for the first year after sign-up, e.g. a small amount of EC2, S3, RDS),always-free(free indefinitely up to a limit, e.g. Lambda’s monthly free requests and compute, DynamoDB’s free storage), andtrials(short-term free trials of specific services). Knowing which is which prevents surprise bills and appears on the foundational exams.

8.5 EC2 Purchasing Options in Depth

Compute purchasing is the richest pricing topic.On-Demand: pay per second/hour, no commitment - for short-term, spiky, or unpredictable workloads and for development.Savings Plans: commit to a consistent amount of spend ($/hour) for 1 or 3 years for a large discount, in two flavours -Compute Savings Plans(most flexible: apply across EC2, Fargate, and Lambda, any Region, any instance family) andEC2 Instance Savings Plans(bigger discount but locked to an instance family in a Region).Reserved Instances (RIs): commit to specific instance attributes for 1 or 3 years -Standard RIs(largest discount, limited changes) orConvertible RIs(smaller discount, can exchange for different attributes); RIs can bezonal(reserve capacity in a specific AZ) orregional(flexible across AZs, no capacity reservation), paid All/Partial/No Upfront, and sold on a Marketplace.Spot Instances: up to ~90% off using spare capacity, but can be reclaimed with a two-minute warning - for fault-tolerant, interruptible, stateless workloads (batch, CI, big data, containers).Dedicated Hosts / Dedicated Instances: physical isolation for licensing (bring-your-own per-socket/core licenses) or compliance.Capacity Reservations: reserve capacity in an AZ without a term commitment (billed at On-Demand). The senior pattern: cover the steady baseline with Savings Plans or RIs, absorb variable peaks On-Demand or serverless, run interruptible work on Spot, and use Dedicated Hosts only where licensing or isolation requires it.

flowchart TD
  Q{Workload shape / requirement?} -->|Steady 24/7 baseline| SP[Savings Plans / RIs - big discount for 1-3yr commit]
  Q -->|Spiky / unpredictable / short| OD[On-Demand]
  Q -->|Fault-tolerant, interruptible| Spot[Spot - up to 90% off, 2-min reclaim]
  Q -->|Event-driven, scale-to-zero| SL[Serverless - Lambda/Fargate]
  Q -->|BYOL / physical isolation| DH[Dedicated Hosts/Instances]
  SP --> Flex{Need cross-family/Region flexibility?}
  Flex -->|Yes| CSP[Compute Savings Plan / Convertible RI]
  Flex -->|No, max discount| EISP[EC2 Instance SP / Standard RI]

8.6 Consolidated Billing and Volume Discounts

Under AWS Organizations,consolidated billingaggregates usage across all member accounts into one bill, which delivers two benefits:volume/tiered pricing(combined usage reaches lower per-unit price tiers faster - e.g. S3 and data-transfer tiers), andshared commitment benefits(unused Reserved Instance and Savings Plan discounts are shared across accounts in the organization). This is why enterprises centralize billing - the organization as a whole gets better pricing than isolated accounts, and reservations bought anywhere benefit the whole org. You can also use theAWS Pricing Calculatorto estimate costs before building.

8.7 Banking Production Scenario

A bank runs its steady core-banking baseline on Compute Savings Plans for flexibility across EC2 and Fargate, its most predictable fixed fleet on Standard RIs for the deepest discount, and absorbs payday peaks with On-Demand and serverless. Overnight batch reconciliation runs on Spot with checkpointing so reclaimed instances resume. A workload with a per-core software license runs on Dedicated Hosts. All accounts sit under one organization with consolidated billing, so combined S3 and data-transfer usage reaches cheaper tiers and reservations are shared org-wide. Architecturally, the bank keeps inter-service traffic within the Region and uses VPC endpoints to avoid NAT/egress charges, and serves customer content via CloudFront to cut origin egress. This deliberate use of purchasing options and billing structure is core cost-optimization competence.

8.8 Chapter Revision Notes

  • Cloud shifts CapEx→OpEx, improving TCO by removing over-provisioning and data-centre ops; principles: pay per use, economies of scale, stop guessing capacity.
  • You pay for compute, storage, and data transfer; inbound is generally free, egress to internet and cross-Region is charged - keep traffic in-Region, use endpoints/CloudFront.
  • Free Tier types: 12-months-free, always-free, and trials.
  • Compute options: On-Demand (spiky), Savings Plans (Compute = flexible, EC2 Instance = bigger discount), RIs (Standard vs Convertible; zonal vs regional), Spot (interruptible, ~90% off), Dedicated Hosts (BYOL/isolation), Capacity Reservations.
  • Consolidated billing under Organizations gives volume/tiered pricing and shares RI/Savings Plan benefits across accounts; estimate with the Pricing Calculator.