AWS uses a pay-as-you-go pricing model — you pay only for the resources you use, with no upfront commitment for most services. Understanding the pricing model, common cost factors, and how to control costs is important practical knowledge (cloud bills can surprise you).
The pay-as-you-go model
Most AWS services charge based on USAGE, with no upfront cost:
→ COMPUTE — per second/hour an instance runs (EC2), or per request/duration (Lambda)
→ STORAGE — per GB stored per month (S3, EBS)
→ DATA TRANSFER — often charged for data OUT to the internet (a common surprise!)
→ REQUESTS/operations — per API call, per request (S3, DynamoDB, Lambda)
→ Pay for what you use; scale cost with usage.
