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_policie
s_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
Ad

More Related Content

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

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
Joseph Holbrook, Chief Learning Officer (CLO)
 
Well Architected Framework Presentation @ TU Delft
Well Architected Framework Presentation @ TU DelftWell Architected Framework Presentation @ TU Delft
Well Architected Framework Presentation @ TU Delft
Sander Knape
 
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
Jet Liu
 
Aws user group #04 landing zones
Aws user group #04   landing zonesAws user group #04   landing zones
Aws user group #04 landing zones
PolarSeven Pty Ltd
 
Columbus AWS Meetup: AWS Certifications
Columbus AWS Meetup: AWS CertificationsColumbus AWS Meetup: AWS Certifications
Columbus AWS Meetup: AWS Certifications
AndrewMay59
 
Starting from a containerised POC and applying best practices/Well Architecte...
Starting from a containerised POC and applying best practices/Well Architecte...Starting from a containerised POC and applying best practices/Well Architecte...
Starting from a containerised POC and applying best practices/Well Architecte...
AWS User Group - Thailand
 
Starting from a containerised POC and applying best practices/Well Architecte...
Starting from a containerised POC and applying best practices/Well Architecte...Starting from a containerised POC and applying best practices/Well Architecte...
Starting from a containerised POC and applying best practices/Well Architecte...
alexspoecker
 
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
Outpost24
 
Being Well Architected in the Cloud
Being Well Architected in the CloudBeing Well Architected in the Cloud
Being Well Architected in the Cloud
Adrian Hornsby
 
Chapter 6 Cloud Service Providers - Cloud Computing.pptx
Chapter 6 Cloud Service Providers - Cloud Computing.pptxChapter 6 Cloud Service Providers - Cloud Computing.pptx
Chapter 6 Cloud Service Providers - Cloud Computing.pptx
jayashirymorgan
 
AWS Developer Certification_ Boost Your Cloud Career.pptx
AWS Developer Certification_ Boost Your Cloud Career.pptxAWS Developer Certification_ Boost Your Cloud Career.pptx
AWS Developer Certification_ Boost Your Cloud Career.pptx
Pass Yourcert
 
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
AdinaCoyle
 
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
QAware GmbH
 
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
Faiza Mehar
 
Aws certified-solutions-architect-associate-training
Aws certified-solutions-architect-associate-trainingAws certified-solutions-architect-associate-training
Aws certified-solutions-architect-associate-training
Cloudsara
 
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
 
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
Gerald Bachlmayr
 
Migración a la Nube: Preparación y Mejores Prácticas
Migración a la Nube: Preparación y Mejores PrácticasMigración a la Nube: Preparación y Mejores Prácticas
Migración a la Nube: Preparación y Mejores Prácticas
Amazon Web Services LATAM
 
Well Architected Framework Presentation @ TU Delft
Well Architected Framework Presentation @ TU DelftWell Architected Framework Presentation @ TU Delft
Well Architected Framework Presentation @ TU Delft
Sander Knape
 
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
Jet Liu
 
Aws user group #04 landing zones
Aws user group #04   landing zonesAws user group #04   landing zones
Aws user group #04 landing zones
PolarSeven Pty Ltd
 
Columbus AWS Meetup: AWS Certifications
Columbus AWS Meetup: AWS CertificationsColumbus AWS Meetup: AWS Certifications
Columbus AWS Meetup: AWS Certifications
AndrewMay59
 
Starting from a containerised POC and applying best practices/Well Architecte...
Starting from a containerised POC and applying best practices/Well Architecte...Starting from a containerised POC and applying best practices/Well Architecte...
Starting from a containerised POC and applying best practices/Well Architecte...
AWS User Group - Thailand
 
Starting from a containerised POC and applying best practices/Well Architecte...
Starting from a containerised POC and applying best practices/Well Architecte...Starting from a containerised POC and applying best practices/Well Architecte...
Starting from a containerised POC and applying best practices/Well Architecte...
alexspoecker
 
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
Outpost24
 
Being Well Architected in the Cloud
Being Well Architected in the CloudBeing Well Architected in the Cloud
Being Well Architected in the Cloud
Adrian Hornsby
 
Chapter 6 Cloud Service Providers - Cloud Computing.pptx
Chapter 6 Cloud Service Providers - Cloud Computing.pptxChapter 6 Cloud Service Providers - Cloud Computing.pptx
Chapter 6 Cloud Service Providers - Cloud Computing.pptx
jayashirymorgan
 
AWS Developer Certification_ Boost Your Cloud Career.pptx
AWS Developer Certification_ Boost Your Cloud Career.pptxAWS Developer Certification_ Boost Your Cloud Career.pptx
AWS Developer Certification_ Boost Your Cloud Career.pptx
Pass Yourcert
 
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
AdinaCoyle
 
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
QAware GmbH
 
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
Faiza Mehar
 
Aws certified-solutions-architect-associate-training
Aws certified-solutions-architect-associate-trainingAws certified-solutions-architect-associate-training
Aws certified-solutions-architect-associate-training
Cloudsara
 
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
 
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
Gerald Bachlmayr
 
Migración a la Nube: Preparación y Mejores Prácticas
Migración a la Nube: Preparación y Mejores PrácticasMigración a la Nube: Preparación y Mejores Prácticas
Migración a la Nube: Preparación y Mejores Prácticas
Amazon Web Services LATAM
 

Recently uploaded (20)

HCollege ppt guidance and counselin.pptx
HCollege ppt guidance and counselin.pptxHCollege ppt guidance and counselin.pptx
HCollege ppt guidance and counselin.pptx
liajohn0808
 
RightShip-Inspection-Maritime-Safety-Simplified.pptx
RightShip-Inspection-Maritime-Safety-Simplified.pptxRightShip-Inspection-Maritime-Safety-Simplified.pptx
RightShip-Inspection-Maritime-Safety-Simplified.pptx
ultronmeg
 
Research Project csi1 - This presentation compares popular web browsers such ...
Research Project csi1 - This presentation compares popular web browsers such ...Research Project csi1 - This presentation compares popular web browsers such ...
Research Project csi1 - This presentation compares popular web browsers such ...
bomisung0207
 
NATIONALISM IN EUROPE class 10 best ppt.pdf
NATIONALISM IN EUROPE class 10 best ppt.pdfNATIONALISM IN EUROPE class 10 best ppt.pdf
NATIONALISM IN EUROPE class 10 best ppt.pdf
leenamakkar79
 
English For Carrier, It enhance your Communication Skills
English For Carrier, It enhance your Communication SkillsEnglish For Carrier, It enhance your Communication Skills
English For Carrier, It enhance your Communication Skills
ankitbeherabiru
 
Employment Communication : The Job HUnting.pptx
Employment Communication : The Job HUnting.pptxEmployment Communication : The Job HUnting.pptx
Employment Communication : The Job HUnting.pptx
JunaidAlvi5
 
Bronchitis_Presentation_with_Images.pptx
Bronchitis_Presentation_with_Images.pptxBronchitis_Presentation_with_Images.pptx
Bronchitis_Presentation_with_Images.pptx
monmohanchowdhury8
 
Green Colorful House Simple Illustration Presentation.pdf.pdf
Green Colorful House Simple Illustration Presentation.pdf.pdfGreen Colorful House Simple Illustration Presentation.pdf.pdf
Green Colorful House Simple Illustration Presentation.pdf.pdf
RhyzCharmSolis
 
Stakeholders Management GT 11052021.cleaned.pptx
Stakeholders Management GT 11052021.cleaned.pptxStakeholders Management GT 11052021.cleaned.pptx
Stakeholders Management GT 11052021.cleaned.pptx
SaranshJeena
 
Software Development Business Plan1.pptx
Software Development Business Plan1.pptxSoftware Development Business Plan1.pptx
Software Development Business Plan1.pptx
vkprintingsolution
 
Traditional Medicine aDRTYSRTYSRTnd HIV.ppt
Traditional Medicine aDRTYSRTYSRTnd HIV.pptTraditional Medicine aDRTYSRTYSRTnd HIV.ppt
Traditional Medicine aDRTYSRTYSRTnd HIV.ppt
XolaniRadebe7
 
SHIPPING CONTAINdccdcdERS BC (2).pdf.pptx
SHIPPING CONTAINdccdcdERS BC (2).pdf.pptxSHIPPING CONTAINdccdcdERS BC (2).pdf.pptx
SHIPPING CONTAINdccdcdERS BC (2).pdf.pptx
ArshjotSingh30
 
COMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELS
COMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELS
COMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELS
johncena77770789
 
Top Business Schools in Delhi For Quality Education
Top Business Schools in Delhi For Quality EducationTop Business Schools in Delhi For Quality Education
Top Business Schools in Delhi For Quality Education
top10privatecolleges
 
UPSC+BAProgramme Syllabus for students who want to pursue UPSC coaching from ...
UPSC+BAProgramme Syllabus for students who want to pursue UPSC coaching from ...UPSC+BAProgramme Syllabus for students who want to pursue UPSC coaching from ...
UPSC+BAProgramme Syllabus for students who want to pursue UPSC coaching from ...
Tushar kumar
 
GENERAL INFORMATION for the most beautiful
GENERAL INFORMATION for the most beautifulGENERAL INFORMATION for the most beautiful
GENERAL INFORMATION for the most beautiful
12213013
 
Best Fashion Designing Colleges in Delhi
Best Fashion Designing Colleges in DelhiBest Fashion Designing Colleges in Delhi
Best Fashion Designing Colleges in Delhi
top10privatecolleges
 
remakingyourselfpresentation-250430095415-6476ade1.pptx
remakingyourselfpresentation-250430095415-6476ade1.pptxremakingyourselfpresentation-250430095415-6476ade1.pptx
remakingyourselfpresentation-250430095415-6476ade1.pptx
lakhmanpindariya9176
 
巴利亚多利德大学毕业证书学校原版文凭补办UVa成绩单办本科成绩单
巴利亚多利德大学毕业证书学校原版文凭补办UVa成绩单办本科成绩单巴利亚多利德大学毕业证书学校原版文凭补办UVa成绩单办本科成绩单
巴利亚多利德大学毕业证书学校原版文凭补办UVa成绩单办本科成绩单
xule9cv6nd
 
Pixida, Simplifying Success in Germany, the USA, Brazil, China and Portugal
Pixida, Simplifying Success in Germany, the USA, Brazil, China and PortugalPixida, Simplifying Success in Germany, the USA, Brazil, China and Portugal
Pixida, Simplifying Success in Germany, the USA, Brazil, China and Portugal
TechMeetups
 
HCollege ppt guidance and counselin.pptx
HCollege ppt guidance and counselin.pptxHCollege ppt guidance and counselin.pptx
HCollege ppt guidance and counselin.pptx
liajohn0808
 
RightShip-Inspection-Maritime-Safety-Simplified.pptx
RightShip-Inspection-Maritime-Safety-Simplified.pptxRightShip-Inspection-Maritime-Safety-Simplified.pptx
RightShip-Inspection-Maritime-Safety-Simplified.pptx
ultronmeg
 
Research Project csi1 - This presentation compares popular web browsers such ...
Research Project csi1 - This presentation compares popular web browsers such ...Research Project csi1 - This presentation compares popular web browsers such ...
Research Project csi1 - This presentation compares popular web browsers such ...
bomisung0207
 
NATIONALISM IN EUROPE class 10 best ppt.pdf
NATIONALISM IN EUROPE class 10 best ppt.pdfNATIONALISM IN EUROPE class 10 best ppt.pdf
NATIONALISM IN EUROPE class 10 best ppt.pdf
leenamakkar79
 
English For Carrier, It enhance your Communication Skills
English For Carrier, It enhance your Communication SkillsEnglish For Carrier, It enhance your Communication Skills
English For Carrier, It enhance your Communication Skills
ankitbeherabiru
 
Employment Communication : The Job HUnting.pptx
Employment Communication : The Job HUnting.pptxEmployment Communication : The Job HUnting.pptx
Employment Communication : The Job HUnting.pptx
JunaidAlvi5
 
Bronchitis_Presentation_with_Images.pptx
Bronchitis_Presentation_with_Images.pptxBronchitis_Presentation_with_Images.pptx
Bronchitis_Presentation_with_Images.pptx
monmohanchowdhury8
 
Green Colorful House Simple Illustration Presentation.pdf.pdf
Green Colorful House Simple Illustration Presentation.pdf.pdfGreen Colorful House Simple Illustration Presentation.pdf.pdf
Green Colorful House Simple Illustration Presentation.pdf.pdf
RhyzCharmSolis
 
Stakeholders Management GT 11052021.cleaned.pptx
Stakeholders Management GT 11052021.cleaned.pptxStakeholders Management GT 11052021.cleaned.pptx
Stakeholders Management GT 11052021.cleaned.pptx
SaranshJeena
 
Software Development Business Plan1.pptx
Software Development Business Plan1.pptxSoftware Development Business Plan1.pptx
Software Development Business Plan1.pptx
vkprintingsolution
 
Traditional Medicine aDRTYSRTYSRTnd HIV.ppt
Traditional Medicine aDRTYSRTYSRTnd HIV.pptTraditional Medicine aDRTYSRTYSRTnd HIV.ppt
Traditional Medicine aDRTYSRTYSRTnd HIV.ppt
XolaniRadebe7
 
SHIPPING CONTAINdccdcdERS BC (2).pdf.pptx
SHIPPING CONTAINdccdcdERS BC (2).pdf.pptxSHIPPING CONTAINdccdcdERS BC (2).pdf.pptx
SHIPPING CONTAINdccdcdERS BC (2).pdf.pptx
ArshjotSingh30
 
COMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELS
COMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELS
COMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELS
johncena77770789
 
Top Business Schools in Delhi For Quality Education
Top Business Schools in Delhi For Quality EducationTop Business Schools in Delhi For Quality Education
Top Business Schools in Delhi For Quality Education
top10privatecolleges
 
UPSC+BAProgramme Syllabus for students who want to pursue UPSC coaching from ...
UPSC+BAProgramme Syllabus for students who want to pursue UPSC coaching from ...UPSC+BAProgramme Syllabus for students who want to pursue UPSC coaching from ...
UPSC+BAProgramme Syllabus for students who want to pursue UPSC coaching from ...
Tushar kumar
 
GENERAL INFORMATION for the most beautiful
GENERAL INFORMATION for the most beautifulGENERAL INFORMATION for the most beautiful
GENERAL INFORMATION for the most beautiful
12213013
 
Best Fashion Designing Colleges in Delhi
Best Fashion Designing Colleges in DelhiBest Fashion Designing Colleges in Delhi
Best Fashion Designing Colleges in Delhi
top10privatecolleges
 
remakingyourselfpresentation-250430095415-6476ade1.pptx
remakingyourselfpresentation-250430095415-6476ade1.pptxremakingyourselfpresentation-250430095415-6476ade1.pptx
remakingyourselfpresentation-250430095415-6476ade1.pptx
lakhmanpindariya9176
 
巴利亚多利德大学毕业证书学校原版文凭补办UVa成绩单办本科成绩单
巴利亚多利德大学毕业证书学校原版文凭补办UVa成绩单办本科成绩单巴利亚多利德大学毕业证书学校原版文凭补办UVa成绩单办本科成绩单
巴利亚多利德大学毕业证书学校原版文凭补办UVa成绩单办本科成绩单
xule9cv6nd
 
Pixida, Simplifying Success in Germany, the USA, Brazil, China and Portugal
Pixida, Simplifying Success in Germany, the USA, Brazil, China and PortugalPixida, Simplifying Success in Germany, the USA, Brazil, China and Portugal
Pixida, Simplifying Success in Germany, the USA, Brazil, China and Portugal
TechMeetups
 
Ad

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_policie s_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 $