SlideShare a Scribd company logo
Cloud Cost Governance Automation
How to get started &
building continuous feedback loops
2
Agenda
◆ Intro
◆ Cost governance & SDLC
◆ AWS services grouped by SDLC phase
◆ Key takeaways
Estimations &
Business
Case
Investment
Governance
Consumption Chargeback Optimisation
Value
Realisation
Budget &
Forecasting
Focus
Focus
3
◆ Name: Gerald Bachlmayr
◆ Role: Principal Cloud Architect at Cuscal
◆ Industry: Financial Services
◆ Background: Software engineering
◆ AWS: 9 years experience
◆ LinkedIn: https://www.linkedin.com/in/bachlmayr/
Intro
Cost Governance & SDLC
5
Software Development Life-cycle: Iterative
◆ Plan
◆ Design
◆ Implement
◆ Test
◆ Deploy
◆ Maintain
Source: https://aws.amazon.com/what-is/sdlc/
6
SDLC & FinOps relevant AWS Services
Plan & Design Implement & Test Deploy Maintain & Improve
AWS Pricing Calculator Tagging AWS Organizations AWS Config
AWS Budget + Alerts Cost Allocation Tags SCPs AWS Cost Explorer
AWS Savings Plan Tag Policies Trusted Advisor
Cost Anomaly
Detection
Rightsizing Rec.
7
How to Get Started?
◆ Identify existing data points
○ E.g. your AWS invoice
◆ Identify cost inefficiencies
○ E.g. with Trusted Advisor
○ E.g. AWS Config
◆ Implement guardrails
○ E.g. budget alerts
○ Third party tools
◆ Measure & improve
○ E.g. improve granularity → tags
$
Plan & Design
9
AWS Pricing Calculator - Service Selection
10
AWS Pricing Calculator - TGW Example
11
AWS Pricing Calculator - Share Link
Share !
12
AWS Budgets
◆ How does it work:
○ Define Budget
○ Define alerts → percent or forecast
13
AWS Budgets - Templates
14
AWS Budgets - Budget Types
◆ Fixed
○ Same amount every period
◆ Planned
○ Budget amount for up to
12 months or 4 quarters.
◆ Auto-adjusting
○ Dynamic amount based on history
More info: https://docs.aws.amazon.com/cost-management/latest/userguide/budget-
methods.html
15
Savings Plan
◆ Types:
○ Compute
○ EC2
○ SageMaker
◆ Limitation:
● Refresh up tp to three
times/day for consolidated
billing
Implement
17
Tags - Resource Level
◆ Meta data for AWS resources
○ E.g. costcentre
○ CloudFormation
○ Terraform
◆ Syntax example - YAML:
Tags:
- Key: "keyname1"
Value: "value1"
- Key: "keyname2"
Value: "value2"
18
Cost Allocation Tags - Billing Console
◆ Activate tags for cost allocation
○ Not all tags are useful for
billing
◆ Related Services:
○ Tag Editor
○ Resource Groups
19
Tag Policies - AWS Organizations
◆ Tag enforcement
○ E.g. list of values
◆ Target definition:
○ E.g. OU-level
Deploy
21
AWS Organizations & Guardrails
◆ Preventive guardrails:
Service Control Policies (SCPs)
◆ Detective guardrails:
AWS Config
22
AWS Service Control Policy (SCP)
What are SCPs?
◆ SCPs do not grant permissions
to users, but
◆ Make sure certain actions
cannot be performed within a
given scope,
e.g. a region or OU
◆ Fine-grained permissions are
possible for AWS resources
Cost control use cases
◆ Enforce tagging
→ Cost break-down
◆ Enforce smaller instances in
development / test
◆ Deny certain resource types
Examples:
https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_poli
cies_scps_examples.html
23
SCP - Limit instance type
◆ Preventive guardrails:
Service Control Policies (SCPs)
◆ Detective guardrails:
AWS Config
24
SCP - Error when provisioning 2Xlarge
25
SCP - Making sense out of the error message
◆ CLI (e.g. Cloud Shell):
aws sts decode-authorization-
message --encoded-message
encoded-message
{ "DecodedMessage":
"{"allowed":false,"explicitDeny":true,
"matchedStatements":
{"items":[{"statementId":"Statement1",
"effect":"DENY", ....
"actions":{"items":[{"value":"ec2:RunInstances
"}]},
"resources":{"items":[{"value":"arn:aws:ec2:*:*:*/
*"}]},
"conditions":{"items":[{"key":"ec2:InstanceTyp
e",
"values":
{"items":[{"value":"nano"},{"value":"micro"},
{"value":"small"},{"value":"medium"},
{"value":"large"}
.....
}
Maintain & Continuous Improvement
27
AWS Config - What is it?
◆ Recording
◆ Timelines
◆ Compliance Rules
◆ Conformance Pack
◆ Auto-remediations
◆ Aggregation
(regions, accounts)
28
AWS Config - Examples
◆ List of Guardrails
◆ Non-compliant accounts
◆ Non-compliant rules
29
AWS Cost Explorer
◆ Features:
○ Dashboards
○ Customised forecast
○ Programmatic access
○ Single view across
regions & accounts
30
AWS Trusted Advisor
◆ Recommendation on:
○ Cost optimisation
○ Performance
○ Security
○ Fault tolerance
○ Service limits
◆ Check Levels
○ No Problem detected
○ Investigation recommended
○ Action recommended
31
AWS Cost Anomaly Detection
◆ Cost Monitor
○ E.g. Linked accounts, or
○ Cost Allocation Tag
◆ Subscription
○ Frequency
○ Threshold
32
Rightsizing Recommendations
◆ Automatic review of historical data
◆ Recommendations based on utilisation
Key Takeaways
34
Key Takeaways
◆ Leverage existing data points
○ E.g. your AWS cost explorer
◆ Invest in cost visibility
○ E.g. with Trusted Advisor (Business Plan +)
◆ Establish guardrails & provide transparency
○ E.g. budget alerts; stop instances
◆ Consider a DEV instance for AWS Organizations
○ Controlled testing of guardrails
◆ Measure & improve
○ Improve granularity → tags
○ Leverage automation, including IaC
$
Thank you!
Questions?
We are hiring

More Related Content

PDF
Cloud Cost Governance Automation - How to get started & building continuous ...
PPTX
Governance Automation in AWS (30 March 2022, ICC - Sydney)
PDF
AWS Meetup - Well-architected Framework (31012017)
PDF
Best practices for establishing AWS Sandbox accounts for your organization
PPTX
AWS_Cloud_Practitioner_Study_Guide_new_ilma.pptx
PDF
Amazon Web Services User Group Sydney - March 2018
PDF
Well Architected Framework Presentation @ TU Delft
PPTX
Using AWS Well Architectured Framework for Software Architecture Evaluations ...
Cloud Cost Governance Automation - How to get started & building continuous ...
Governance Automation in AWS (30 March 2022, ICC - Sydney)
AWS Meetup - Well-architected Framework (31012017)
Best practices for establishing AWS Sandbox accounts for your organization
AWS_Cloud_Practitioner_Study_Guide_new_ilma.pptx
Amazon Web Services User Group Sydney - March 2018
Well Architected Framework Presentation @ TU Delft
Using AWS Well Architectured Framework for Software Architecture Evaluations ...

Similar to Cloud Cost Governance Automation - How to get started & building continuous feedback loops (18)

PPTX
How to Build a Threat Detection Strategy in the AWS Cloud
PDF
Aws user group #04 landing zones
PPTX
AWS Certified DevOps Engineer: What it is and how to get certified
PDF
Aws bills and how a tester can help reduce them
PDF
Outpost24 Webinar - cloud security controls best practice
PPTX
Multi cloud governance best practices - AWS, Azure, GCP
PPTX
Starting from a containerised POC and applying best practices/Well Architecte...
PDF
Starting from a containerised POC and applying best practices/Well Architecte...
PPSX
Aws certified-solutions-architect-associate-training
PDF
Being Well Architected in the Cloud
PPTX
Friends Don't Let Friends Build Landing Zones
PPTX
AWS Developer Certification_ Boost Your Cloud Career.pptx
PDF
Get An Attractive Score in AWS Developer Associate (DVA-C02) Exam
PPTX
Outpost24 webinar: cloud providers ate hosting companies' lunch, what's next?...
PPTX
Chapter 6 Cloud Service Providers - Cloud Computing.pptx
PDF
AWS Architecture Fundamentals - Denver
PDF
Cluster-as-code. The Many Ways towards Kubernetes
PDF
Columbus AWS Meetup: AWS Certifications
How to Build a Threat Detection Strategy in the AWS Cloud
Aws user group #04 landing zones
AWS Certified DevOps Engineer: What it is and how to get certified
Aws bills and how a tester can help reduce them
Outpost24 Webinar - cloud security controls best practice
Multi cloud governance best practices - AWS, Azure, GCP
Starting from a containerised POC and applying best practices/Well Architecte...
Starting from a containerised POC and applying best practices/Well Architecte...
Aws certified-solutions-architect-associate-training
Being Well Architected in the Cloud
Friends Don't Let Friends Build Landing Zones
AWS Developer Certification_ Boost Your Cloud Career.pptx
Get An Attractive Score in AWS Developer Associate (DVA-C02) Exam
Outpost24 webinar: cloud providers ate hosting companies' lunch, what's next?...
Chapter 6 Cloud Service Providers - Cloud Computing.pptx
AWS Architecture Fundamentals - Denver
Cluster-as-code. The Many Ways towards Kubernetes
Columbus AWS Meetup: AWS Certifications

Recently uploaded (20)

PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Electronic commerce courselecture one. Pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Machine learning based COVID-19 study performance prediction
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Encapsulation theory and applications.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Programs and apps: productivity, graphics, security and other tools
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
Dropbox Q2 2025 Financial Results & Investor Presentation
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Digital-Transformation-Roadmap-for-Companies.pptx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Chapter 3 Spatial Domain Image Processing.pdf
Electronic commerce courselecture one. Pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
Spectral efficient network and resource selection model in 5G networks
Machine learning based COVID-19 study performance prediction
Unlocking AI with Model Context Protocol (MCP)
MYSQL Presentation for SQL database connectivity
Encapsulation theory and applications.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Programs and apps: productivity, graphics, security and other tools
“AI and Expert System Decision Support & Business Intelligence Systems”
Mobile App Security Testing_ A Comprehensive Guide.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf

Cloud Cost Governance Automation - How to get started & building continuous feedback loops

  • 1. Cloud Cost Governance Automation How to get started & building continuous feedback loops
  • 2. 2 Agenda ◆ Intro ◆ Cost governance & SDLC ◆ AWS services grouped by SDLC phase ◆ Key takeaways Estimations & Business Case Investment Governance Consumption Chargeback Optimisation Value Realisation Budget & Forecasting Focus Focus
  • 3. 3 ◆ Name: Gerald Bachlmayr ◆ Role: Principal Cloud Architect at Cuscal ◆ Industry: Financial Services ◆ Background: Software engineering ◆ AWS: 9 years experience ◆ LinkedIn: https://www.linkedin.com/in/bachlmayr/ Intro
  • 5. 5 Software Development Life-cycle: Iterative ◆ Plan ◆ Design ◆ Implement ◆ Test ◆ Deploy ◆ Maintain Source: https://aws.amazon.com/what-is/sdlc/
  • 6. 6 SDLC & FinOps relevant AWS Services Plan & Design Implement & Test Deploy Maintain & Improve AWS Pricing Calculator Tagging AWS Organizations AWS Config AWS Budget + Alerts Cost Allocation Tags SCPs AWS Cost Explorer AWS Savings Plan Tag Policies Trusted Advisor Cost Anomaly Detection Rightsizing Rec.
  • 7. 7 How to Get Started? ◆ Identify existing data points ○ E.g. your AWS invoice ◆ Identify cost inefficiencies ○ E.g. with Trusted Advisor ○ E.g. AWS Config ◆ Implement guardrails ○ E.g. budget alerts ○ Third party tools ◆ Measure & improve ○ E.g. improve granularity → tags $
  • 9. 9 AWS Pricing Calculator - Service Selection
  • 10. 10 AWS Pricing Calculator - TGW Example
  • 11. 11 AWS Pricing Calculator - Share Link Share !
  • 12. 12 AWS Budgets ◆ How does it work: ○ Define Budget ○ Define alerts → percent or forecast
  • 13. 13 AWS Budgets - Templates
  • 14. 14 AWS Budgets - Budget Types ◆ Fixed ○ Same amount every period ◆ Planned ○ Budget amount for up to 12 months or 4 quarters. ◆ Auto-adjusting ○ Dynamic amount based on history More info: https://docs.aws.amazon.com/cost-management/latest/userguide/budget- methods.html
  • 15. 15 Savings Plan ◆ Types: ○ Compute ○ EC2 ○ SageMaker ◆ Limitation: ● Refresh up tp to three times/day for consolidated billing
  • 17. 17 Tags - Resource Level ◆ Meta data for AWS resources ○ E.g. costcentre ○ CloudFormation ○ Terraform ◆ Syntax example - YAML: Tags: - Key: "keyname1" Value: "value1" - Key: "keyname2" Value: "value2"
  • 18. 18 Cost Allocation Tags - Billing Console ◆ Activate tags for cost allocation ○ Not all tags are useful for billing ◆ Related Services: ○ Tag Editor ○ Resource Groups
  • 19. 19 Tag Policies - AWS Organizations ◆ Tag enforcement ○ E.g. list of values ◆ Target definition: ○ E.g. OU-level
  • 21. 21 AWS Organizations & Guardrails ◆ Preventive guardrails: Service Control Policies (SCPs) ◆ Detective guardrails: AWS Config
  • 22. 22 AWS Service Control Policy (SCP) What are SCPs? ◆ SCPs do not grant permissions to users, but ◆ Make sure certain actions cannot be performed within a given scope, e.g. a region or OU ◆ Fine-grained permissions are possible for AWS resources Cost control use cases ◆ Enforce tagging → Cost break-down ◆ Enforce smaller instances in development / test ◆ Deny certain resource types Examples: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_poli cies_scps_examples.html
  • 23. 23 SCP - Limit instance type ◆ Preventive guardrails: Service Control Policies (SCPs) ◆ Detective guardrails: AWS Config
  • 24. 24 SCP - Error when provisioning 2Xlarge
  • 25. 25 SCP - Making sense out of the error message ◆ CLI (e.g. Cloud Shell): aws sts decode-authorization- message --encoded-message encoded-message { "DecodedMessage": "{"allowed":false,"explicitDeny":true, "matchedStatements": {"items":[{"statementId":"Statement1", "effect":"DENY", .... "actions":{"items":[{"value":"ec2:RunInstances "}]}, "resources":{"items":[{"value":"arn:aws:ec2:*:*:*/ *"}]}, "conditions":{"items":[{"key":"ec2:InstanceTyp e", "values": {"items":[{"value":"nano"},{"value":"micro"}, {"value":"small"},{"value":"medium"}, {"value":"large"} ..... }
  • 26. Maintain & Continuous Improvement
  • 27. 27 AWS Config - What is it? ◆ Recording ◆ Timelines ◆ Compliance Rules ◆ Conformance Pack ◆ Auto-remediations ◆ Aggregation (regions, accounts)
  • 28. 28 AWS Config - Examples ◆ List of Guardrails ◆ Non-compliant accounts ◆ Non-compliant rules
  • 29. 29 AWS Cost Explorer ◆ Features: ○ Dashboards ○ Customised forecast ○ Programmatic access ○ Single view across regions & accounts
  • 30. 30 AWS Trusted Advisor ◆ Recommendation on: ○ Cost optimisation ○ Performance ○ Security ○ Fault tolerance ○ Service limits ◆ Check Levels ○ No Problem detected ○ Investigation recommended ○ Action recommended
  • 31. 31 AWS Cost Anomaly Detection ◆ Cost Monitor ○ E.g. Linked accounts, or ○ Cost Allocation Tag ◆ Subscription ○ Frequency ○ Threshold
  • 32. 32 Rightsizing Recommendations ◆ Automatic review of historical data ◆ Recommendations based on utilisation
  • 34. 34 Key Takeaways ◆ Leverage existing data points ○ E.g. your AWS cost explorer ◆ Invest in cost visibility ○ E.g. with Trusted Advisor (Business Plan +) ◆ Establish guardrails & provide transparency ○ E.g. budget alerts; stop instances ◆ Consider a DEV instance for AWS Organizations ○ Controlled testing of guardrails ◆ Measure & improve ○ Improve granularity → tags ○ Leverage automation, including IaC $