SlideShare a Scribd company logo
1 of 35
Download to read offline
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

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

Using AWS Well Architectured Framework for Software Architecture Evaluations ...
Using AWS Well Architectured Framework for Software Architecture Evaluations ...Using AWS Well Architectured Framework for Software Architecture Evaluations ...
Using AWS Well Architectured Framework for Software Architecture Evaluations ...Alexandr Savchenko
 
Aws user group #04 landing zones
Aws user group #04   landing zonesAws user group #04   landing zones
Aws user group #04 landing zonesPolarSeven Pty Ltd
 
AWS Certified DevOps Engineer: What it is and how to get certified
AWS Certified DevOps Engineer: What it is and how to get certifiedAWS Certified DevOps Engineer: What it is and how to get certified
AWS Certified DevOps Engineer: What it is and how to get certifiedInfosec
 
AWS Canberra WWPS Summit 2013 - AWS Governance and Security Overview
AWS Canberra WWPS Summit 2013 - AWS Governance and Security OverviewAWS Canberra WWPS Summit 2013 - AWS Governance and Security Overview
AWS Canberra WWPS Summit 2013 - AWS Governance and Security OverviewAmazon Web Services
 
Aws bills and how a tester can help reduce them
Aws bills and how a tester can help reduce themAws bills and how a tester can help reduce them
Aws bills and how a tester can help reduce themJet Liu
 
Outpost24 Webinar - cloud security controls best practice
Outpost24 Webinar - cloud security controls best practiceOutpost24 Webinar - cloud security controls best practice
Outpost24 Webinar - cloud security controls best practiceOutpost24
 
Multi cloud governance best practices - AWS, Azure, GCP
Multi cloud governance best practices - AWS, Azure, GCPMulti cloud governance best practices - AWS, Azure, GCP
Multi cloud governance best practices - AWS, Azure, GCPFaiza Mehar
 
Aws certified-solutions-architect-associate-training
Aws certified-solutions-architect-associate-trainingAws certified-solutions-architect-associate-training
Aws certified-solutions-architect-associate-trainingCloudsara
 
re:Invent recap session 2: Being well Architected in the cloud
re:Invent recap session 2: Being well Architected in the cloudre:Invent recap session 2: Being well Architected in the cloud
re:Invent recap session 2: Being well Architected in the cloudAmazon Web Services
 
Being Well Architected in the Cloud
Being Well Architected in the CloudBeing Well Architected in the Cloud
Being Well Architected in the CloudAdrian Hornsby
 
Friends Don't Let Friends Build Landing Zones
Friends Don't Let Friends Build Landing ZonesFriends Don't Let Friends Build Landing Zones
Friends Don't Let Friends Build Landing ZonesGerald Bachlmayr
 
(SEC312) Reliable Design & Deployment of Security & Compliance
(SEC312) Reliable Design & Deployment of Security & Compliance(SEC312) Reliable Design & Deployment of Security & Compliance
(SEC312) Reliable Design & Deployment of Security & ComplianceAmazon Web Services
 
Get An Attractive Score in AWS Developer Associate (DVA-C02) Exam
Get An Attractive Score in AWS Developer Associate (DVA-C02) ExamGet An Attractive Score in AWS Developer Associate (DVA-C02) Exam
Get An Attractive Score in AWS Developer Associate (DVA-C02) ExamAdinaCoyle
 
Outpost24 webinar: cloud providers ate hosting companies' lunch, what's next?...
Outpost24 webinar: cloud providers ate hosting companies' lunch, what's next?...Outpost24 webinar: cloud providers ate hosting companies' lunch, what's next?...
Outpost24 webinar: cloud providers ate hosting companies' lunch, what's next?...Outpost24
 
AWS Architecture Fundamentals - Denver
AWS Architecture Fundamentals - DenverAWS Architecture Fundamentals - Denver
AWS Architecture Fundamentals - DenverNicole Maus
 
Aberdeen Oil & Gas Event - Introduction to the AWS Cloud
Aberdeen Oil & Gas Event - Introduction to the AWS CloudAberdeen Oil & Gas Event - Introduction to the AWS Cloud
Aberdeen Oil & Gas Event - Introduction to the AWS CloudAmazon Web Services
 
AWS Procuring Services for Public Sector - Peterson
AWS Procuring Services for Public Sector - PetersonAWS Procuring Services for Public Sector - Peterson
AWS Procuring Services for Public Sector - PetersonAmazon Web Services
 
FinOps - AWS Cost and Operational Efficiency - Pop-up Loft Tel Aviv
FinOps - AWS Cost and Operational Efficiency - Pop-up Loft Tel AvivFinOps - AWS Cost and Operational Efficiency - Pop-up Loft Tel Aviv
FinOps - AWS Cost and Operational Efficiency - Pop-up Loft Tel AvivAmazon Web Services
 
Cluster-as-code. The Many Ways towards Kubernetes
Cluster-as-code. The Many Ways towards KubernetesCluster-as-code. The Many Ways towards Kubernetes
Cluster-as-code. The Many Ways towards KubernetesQAware GmbH
 

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

Using AWS Well Architectured Framework for Software Architecture Evaluations ...
Using AWS Well Architectured Framework for Software Architecture Evaluations ...Using AWS Well Architectured Framework for Software Architecture Evaluations ...
Using AWS Well Architectured Framework for Software Architecture Evaluations ...
 
How to Build a Threat Detection Strategy in the AWS Cloud
How to Build a Threat Detection Strategy in the AWS CloudHow to Build a Threat Detection Strategy in the AWS Cloud
How to Build a Threat Detection Strategy in the AWS Cloud
 
Aws user group #04 landing zones
Aws user group #04   landing zonesAws user group #04   landing zones
Aws user group #04 landing zones
 
AWS Certified DevOps Engineer: What it is and how to get certified
AWS Certified DevOps Engineer: What it is and how to get certifiedAWS Certified DevOps Engineer: What it is and how to get certified
AWS Certified DevOps Engineer: What it is and how to get certified
 
AWS Canberra WWPS Summit 2013 - AWS Governance and Security Overview
AWS Canberra WWPS Summit 2013 - AWS Governance and Security OverviewAWS Canberra WWPS Summit 2013 - AWS Governance and Security Overview
AWS Canberra WWPS Summit 2013 - AWS Governance and Security Overview
 
Aws bills and how a tester can help reduce them
Aws bills and how a tester can help reduce themAws bills and how a tester can help reduce them
Aws bills and how a tester can help reduce them
 
Outpost24 Webinar - cloud security controls best practice
Outpost24 Webinar - cloud security controls best practiceOutpost24 Webinar - cloud security controls best practice
Outpost24 Webinar - cloud security controls best practice
 
Multi cloud governance best practices - AWS, Azure, GCP
Multi cloud governance best practices - AWS, Azure, GCPMulti cloud governance best practices - AWS, Azure, GCP
Multi cloud governance best practices - AWS, Azure, GCP
 
Aws certified-solutions-architect-associate-training
Aws certified-solutions-architect-associate-trainingAws certified-solutions-architect-associate-training
Aws certified-solutions-architect-associate-training
 
re:Invent recap session 2: Being well Architected in the cloud
re:Invent recap session 2: Being well Architected in the cloudre:Invent recap session 2: Being well Architected in the cloud
re:Invent recap session 2: Being well Architected in the cloud
 
Being Well Architected in the Cloud
Being Well Architected in the CloudBeing Well Architected in the Cloud
Being Well Architected in the Cloud
 
Friends Don't Let Friends Build Landing Zones
Friends Don't Let Friends Build Landing ZonesFriends Don't Let Friends Build Landing Zones
Friends Don't Let Friends Build Landing Zones
 
(SEC312) Reliable Design & Deployment of Security & Compliance
(SEC312) Reliable Design & Deployment of Security & Compliance(SEC312) Reliable Design & Deployment of Security & Compliance
(SEC312) Reliable Design & Deployment of Security & Compliance
 
Get An Attractive Score in AWS Developer Associate (DVA-C02) Exam
Get An Attractive Score in AWS Developer Associate (DVA-C02) ExamGet An Attractive Score in AWS Developer Associate (DVA-C02) Exam
Get An Attractive Score in AWS Developer Associate (DVA-C02) Exam
 
Outpost24 webinar: cloud providers ate hosting companies' lunch, what's next?...
Outpost24 webinar: cloud providers ate hosting companies' lunch, what's next?...Outpost24 webinar: cloud providers ate hosting companies' lunch, what's next?...
Outpost24 webinar: cloud providers ate hosting companies' lunch, what's next?...
 
AWS Architecture Fundamentals - Denver
AWS Architecture Fundamentals - DenverAWS Architecture Fundamentals - Denver
AWS Architecture Fundamentals - Denver
 
Aberdeen Oil & Gas Event - Introduction to the AWS Cloud
Aberdeen Oil & Gas Event - Introduction to the AWS CloudAberdeen Oil & Gas Event - Introduction to the AWS Cloud
Aberdeen Oil & Gas Event - Introduction to the AWS Cloud
 
AWS Procuring Services for Public Sector - Peterson
AWS Procuring Services for Public Sector - PetersonAWS Procuring Services for Public Sector - Peterson
AWS Procuring Services for Public Sector - Peterson
 
FinOps - AWS Cost and Operational Efficiency - Pop-up Loft Tel Aviv
FinOps - AWS Cost and Operational Efficiency - Pop-up Loft Tel AvivFinOps - AWS Cost and Operational Efficiency - Pop-up Loft Tel Aviv
FinOps - AWS Cost and Operational Efficiency - Pop-up Loft Tel Aviv
 
Cluster-as-code. The Many Ways towards Kubernetes
Cluster-as-code. The Many Ways towards KubernetesCluster-as-code. The Many Ways towards Kubernetes
Cluster-as-code. The Many Ways towards Kubernetes
 

Recently uploaded

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetEnjoy Anytime
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Hyundai Motor Group
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 

Recently uploaded (20)

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 

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 $