AWS Expenditure & Usage Awareness Strategy
Developing a strategy and implementing controls for expenditure and usage awareness
Developing a Strategy for Expenditure and Usage Awareness
This study guide focuses on the critical domain of cost optimization and governance within the AWS Certified Solutions Architect - Professional (SAP-C02) framework. It covers the transition from reactive billing to proactive financial operations (FinOps) and the implementation of technical controls to maintain visibility across multi-account environments.
Learning Objectives
By the end of this module, you should be able to:
- Evaluate appropriate account structures for organizational cost visibility.
- Design a comprehensive tagging strategy to map cloud expenditure to business units.
- Implement automated guardrails using AWS Control Tower and AWS Organizations for cost governance.
- Configure advanced reporting mechanisms like AWS Cost and Usage Reports (CUR) for deep-dive analysis.
- Establish a FinOps Center of Excellence (CoE) to bridge the gap between IT and finance.
Key Terms & Glossary
- FinOps (Financial Operations): An evolving cloud financial management discipline and cultural practice that enables organizations to get maximum business value by helping engineering, finance, technology, and business teams to collaborate on data-driven spending decisions.
- Cost Allocation Tags: Metadata assigned to AWS resources used to track and categorize costs on the AWS billing report.
- CUR (Cost and Usage Report): The most granular AWS billing dataset, delivered to an S3 bucket, providing hourly or daily line items.
- Rightsizing: The process of matching instance types and sizes to your workload performance and capacity requirements at the lowest possible cost.
- Service Control Policy (SCP): A type of organization policy used to manage permissions in your organization, which can be used to prevent the creation of expensive resource types.
The "Big Idea"
Cloud financial management is not a one-time setup; it is a continuous lifecycle. In a traditional data center, costs are fixed (CapEx). In AWS, costs are variable (OpEx). The "Big Idea" is to move from a "Gatekeeper" model (where IT limits access to control costs) to a "Guardrail" model (where IT provides tools and policies that allow teams to move fast while automatically staying within budget).
Formula / Concept Box
| Concept | Primary Use Case | Key Benefit |
|---|---|---|
| Savings Plans | Consistent compute usage ($/hr) | Up to 72% savings; flexible across instance families. |
| Reserved Instances | Steady-state database/cache usage | Significant discount for 1 or 3-year commitment. |
| Spot Instances | Fault-tolerant, batch, or stateless workloads | Up to 90% discount; 2-minute interruption notice. |
| Compute Optimizer | Rightsizing recommendations | Uses ML to analyze historical utilization. |
Hierarchical Outline
- Organizational Governance
- AWS Organizations: Consolidating billing and using a multi-account strategy to isolate environment costs (Prod vs. Dev).
- AWS Control Tower: Automating the setup of a "Landing Zone" with built-in cost guardrails.
- Visibility & Monitoring
- AWS Cost Explorer: High-level visualization and forecasting.
- AWS Budgets: Setting custom alerts for when costs or usage exceed (or are forecasted to exceed) thresholds.
- Trusted Advisor: Real-time checks for underutilized resources (idle ELBs, unassociated Elastic IPs).
- Granular Analysis
- Cost & Usage Reports (CUR): Integrating with Amazon Athena or QuickSight for custom SQL-based cost analysis.
- Tagging Policies: Enforcing
CostCenterorProjectIDtags via AWS Config or SCPs.
Visual Anchors
The FinOps Lifecycle
Cost & Usage Report (CUR) Workflow
\begin{tikzpicture}[node distance=2cm, auto] \node (billing) [draw, rectangle] {AWS Billing Service}; \node (s3) [draw, cylinder, shape border rotate=90, right of=billing, xshift=2cm] {S3 Bucket}; \node (athena) [draw, rectangle, right of=s3, xshift=2cm] {Amazon Athena}; \node (qs) [draw, rectangle, right of=athena, xshift=2cm] {QuickSight};
\draw[->] (billing) -- node {CSV/Parquet} (s3); \draw[->] (s3) -- node {Query} (athena); \draw[->] (athena) -- node {Visualize} (qs); \end{tikzpicture}
Definition-Example Pairs
- Attribute Expenses with Owners: The process of ensuring every dollar spent is linked to a specific entity.
- Example: Assigning an
OwnerEmailtag to every EC2 instance so that if a developer leaves a high-endp4dinstance running, the FinOps team knows exactly who to contact for decommissioning.
- Example: Assigning an
- Data Transfer Modeling: Analyzing how data moves between regions and AZs to minimize "hidden" networking costs.
- Example: Moving a backend service to the same Availability Zone as its database to eliminate Inter-AZ data transfer charges ($0.01/GB).
- Licensing Optimization: Transitioning from commercial licenses to open-source or managed versions.
- Example: Porting an Oracle database managed on EC2 to Amazon Aurora PostgreSQL to eliminate expensive per-core licensing fees.
Worked Examples
Configuring CUR Bucket Policy
To allow AWS Billing to write reports to your S3 bucket, you must apply a specific bucket policy. This prevents unauthorized access while ensuring data delivery.
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"Service": "billingreports.amazonaws.com"
},
"Action": [
"s3:GetBucketAcl",
"s3:GetBucketPolicy",
"s3:PutObject"
],
"Resource": [
"arn:aws:s3:::my-billing-data-bucket",
"arn:aws:s3:::my-billing-data-bucket/*"
]
}
]
}Checkpoint Questions
- What is the difference between a "Reactive" and "Proactive" review frequency for cost optimization?
- Which service would you use to prevent an AWS account from launching any instance type larger than a
t3.medium? - True or False: AWS Trusted Advisor can automatically resize an underutilized RDS instance.
- Why is Amazon S3 Storage Lens considered a "Rightsizing Visibility Tool"?
▶Click to see answers
- Reactive is based on an event (e.g., bill shock or mandate); Proactive is scheduled (e.g., monthly reviews by the CoE).
- Service Control Policies (SCPs) within AWS Organizations.
- False. Trusted Advisor provides recommendations, but it does not perform the action (though it can trigger a Lambda via EventBridge).
- Because it provides organization-wide visibility into object storage usage, identifying prefix-level patterns to move data to colder tiers.
Muddy Points & Cross-Refs
- Savings Plans vs. RIs: Students often confuse which applies where. Remember: Savings Plans are more flexible (Compute SP covers Lambda and Fargate), while RIs are generally better for specific RDS engines.
- CUR vs. Cost Explorer: Cost Explorer is a "UI-first" tool for 12 months of data; CUR is a "Data-first" tool for infinite, granular raw data.
- Cross-Ref: See Domain 3: Continuous Improvement for how to integrate these tools into an Operational Excellence pillar.
Comparison Tables
| Feature | AWS Budgets | AWS Cost Explorer | AWS Trusted Advisor |
|---|---|---|---|
| Primary Goal | Alerting on thresholds | Visualization & Trends | Best practice checks |
| Actionable? | Yes (Budget Actions) | No (Insight only) | No (Recommendation only) |
| Granularity | Monthly/Quarterly/Daily | Daily/Monthly | Real-time scan |
| Focus Area | Cost, Usage, RI/SP Coverage | Historical spend patterns | Cost, Security, Fault Tolerance |