SlideShare a Scribd company logo
1 of 33
MELBOURNE
Where did my money
go ?
Samuel Than | Carsales | 30 Aug 2019
Where did my money
go ?
Samuel Than | 30 Aug 2019
How to cost an application ?
How to cost optimize an application ?
How to cost an application ?
AWS Billing Dashboard – Cost Explorer
AWS Billing Dashboard – Cost Explorer - Tags
I cost nothing ? I’m Free !!!
EC2.Cluster
How do we try to solve this challenge ?
• Component A:
o Metering mechanism using AWS services
• Component B:
o Calculate cost based on metered results via open-source tool – Prometheus
• Component C:
o Visualizing running costs via open-source tool - Grafana
Component A: Metering via AWS services
Reference: https://aws.amazon.com/blogs/compute/measuring-service-chargeback-in-amazon-ecs/
• Track AWS ECS tasks resource usage.
• Tracking vCPU and memory reserved
• Track when AWS ECS tasks start/stop
Component A: Metering via AWS services
Reference: https://aws.amazon.com/blogs/compute/measuring-service-chargeback-in-amazon-ecs/
Component B: Calculating Cost
1. Find all the tasks that have ever run or
are currently running as part of the
service.
2. For each task, calculate the up time.
3. For each task, find the container instance
type.
4. Find what percentage of the host’s
compute or memory resources the task
has reserved
5. Associate that percentage with a cost.
6. Store the results of this calculated data in
Prometheus through custom exporter
Component B: Calculating Cost
Considerations:
• EC2 pricing is on-demand
• Networking costs not included
• ELB/ALB costs not included
Component A + B + C
Demo
How to optimize an application ?
Ways to cost optimize application:
AWS Cost Optimization Pillars
• Measure, monitor and improve
• Know your environment - analyze and monitor used/unused resources
• Investigate costly resources
• Take action to improve resource usage
• Right sizing
• Adjusting the resource used, removed/reduced overcompensated resources.
• Increase elasticity
• Possibility of dynamically turn resources on or increase resources per demand
Demo
Mystique – Rego Blurring Service
450 000 requests/month
150000 images processed/day
Overall cost reduction ~
48%
Summary:
• How to cost an application ?
• Quality tagging and tools
Helps forming a baseline running cost estimate for an application
• How to cost optimize an application ?
• Observe AWS Cost Optimization Pillars
• Have open discussion with team about application costs, learn
together
• Provide proper tools to team
Thank You

More Related Content

What's hot

Autoscaling Server Arrays
Autoscaling Server ArraysAutoscaling Server Arrays
Autoscaling Server ArraysRightScale
 
KNIME Data Science Learnathon: From Raw Data To Deployment - Dublin - June 2019
KNIME Data Science Learnathon: From Raw Data To Deployment - Dublin - June 2019KNIME Data Science Learnathon: From Raw Data To Deployment - Dublin - June 2019
KNIME Data Science Learnathon: From Raw Data To Deployment - Dublin - June 2019KNIMESlides
 
Maximize Your Time in the Field
Maximize Your Time in the FieldMaximize Your Time in the Field
Maximize Your Time in the FieldCartegraph
 
JGI / AMI - Structure of a genomic specific Amazon Machine Image
JGI / AMI - Structure of a genomic specific Amazon Machine ImageJGI / AMI - Structure of a genomic specific Amazon Machine Image
JGI / AMI - Structure of a genomic specific Amazon Machine ImageJeremy Brand
 
1Spatial: Cardiff FME World Tour: FME and ProjectWise
1Spatial: Cardiff FME World Tour: FME and ProjectWise1Spatial: Cardiff FME World Tour: FME and ProjectWise
1Spatial: Cardiff FME World Tour: FME and ProjectWise1Spatial
 
Rackspace::Solve NYC - Solving for Rapid Customer Growth and Scale Through De...
Rackspace::Solve NYC - Solving for Rapid Customer Growth and Scale Through De...Rackspace::Solve NYC - Solving for Rapid Customer Growth and Scale Through De...
Rackspace::Solve NYC - Solving for Rapid Customer Growth and Scale Through De...Rackspace
 
A Lap around ASP.NET 5 - CONDG
A Lap around ASP.NET 5 - CONDGA Lap around ASP.NET 5 - CONDG
A Lap around ASP.NET 5 - CONDGSam Basu
 
Masterclass Webinar - Amazon Elastic Compute Cloud (EC2)
Masterclass Webinar - Amazon Elastic Compute Cloud (EC2)Masterclass Webinar - Amazon Elastic Compute Cloud (EC2)
Masterclass Webinar - Amazon Elastic Compute Cloud (EC2)Amazon Web Services
 
(ENT207) Creating a Culture of Cost Management in Your Organization | AWS re:...
(ENT207) Creating a Culture of Cost Management in Your Organization | AWS re:...(ENT207) Creating a Culture of Cost Management in Your Organization | AWS re:...
(ENT207) Creating a Culture of Cost Management in Your Organization | AWS re:...Amazon Web Services
 
AWS Cost Allocation best practices: How high-growth businesses succeed
AWS Cost Allocation best practices: How high-growth businesses succeedAWS Cost Allocation best practices: How high-growth businesses succeed
AWS Cost Allocation best practices: How high-growth businesses succeedCloudability
 
CSI Works master product list as of 12 8-19
CSI Works master product list as of 12 8-19CSI Works master product list as of 12 8-19
CSI Works master product list as of 12 8-19Steve Slavutskiy
 
Lean Six-Sigma Green Belt - Ankit Jain
Lean Six-Sigma Green Belt - Ankit JainLean Six-Sigma Green Belt - Ankit Jain
Lean Six-Sigma Green Belt - Ankit JainAnkit Jain
 
Using Scan Data of an Accident Scene and Involved Vehicles to Assist in Compl...
Using Scan Data of an Accident Scene and Involved Vehicles to Assist in Compl...Using Scan Data of an Accident Scene and Involved Vehicles to Assist in Compl...
Using Scan Data of an Accident Scene and Involved Vehicles to Assist in Compl...Melissa Tiffany
 
DataEngConf - Simulations at Scale
DataEngConf - Simulations at ScaleDataEngConf - Simulations at Scale
DataEngConf - Simulations at ScaleSaurabh Bajaj
 
DataEngConf SF16 - Running simulations at scale
DataEngConf SF16 - Running simulations at scaleDataEngConf SF16 - Running simulations at scale
DataEngConf SF16 - Running simulations at scaleHakka Labs
 
From Raw Data to Deployment
From Raw Data to DeploymentFrom Raw Data to Deployment
From Raw Data to DeploymentKNIMESlides
 

What's hot (18)

Autoscaling Server Arrays
Autoscaling Server ArraysAutoscaling Server Arrays
Autoscaling Server Arrays
 
KNIME Data Science Learnathon: From Raw Data To Deployment - Dublin - June 2019
KNIME Data Science Learnathon: From Raw Data To Deployment - Dublin - June 2019KNIME Data Science Learnathon: From Raw Data To Deployment - Dublin - June 2019
KNIME Data Science Learnathon: From Raw Data To Deployment - Dublin - June 2019
 
Maximize Your Time in the Field
Maximize Your Time in the FieldMaximize Your Time in the Field
Maximize Your Time in the Field
 
JGI / AMI - Structure of a genomic specific Amazon Machine Image
JGI / AMI - Structure of a genomic specific Amazon Machine ImageJGI / AMI - Structure of a genomic specific Amazon Machine Image
JGI / AMI - Structure of a genomic specific Amazon Machine Image
 
1Spatial: Cardiff FME World Tour: FME and ProjectWise
1Spatial: Cardiff FME World Tour: FME and ProjectWise1Spatial: Cardiff FME World Tour: FME and ProjectWise
1Spatial: Cardiff FME World Tour: FME and ProjectWise
 
Kinesis lambda
Kinesis lambda Kinesis lambda
Kinesis lambda
 
Rackspace::Solve NYC - Solving for Rapid Customer Growth and Scale Through De...
Rackspace::Solve NYC - Solving for Rapid Customer Growth and Scale Through De...Rackspace::Solve NYC - Solving for Rapid Customer Growth and Scale Through De...
Rackspace::Solve NYC - Solving for Rapid Customer Growth and Scale Through De...
 
A Lap around ASP.NET 5 - CONDG
A Lap around ASP.NET 5 - CONDGA Lap around ASP.NET 5 - CONDG
A Lap around ASP.NET 5 - CONDG
 
Byrne - Repository Integrations
Byrne - Repository IntegrationsByrne - Repository Integrations
Byrne - Repository Integrations
 
Masterclass Webinar - Amazon Elastic Compute Cloud (EC2)
Masterclass Webinar - Amazon Elastic Compute Cloud (EC2)Masterclass Webinar - Amazon Elastic Compute Cloud (EC2)
Masterclass Webinar - Amazon Elastic Compute Cloud (EC2)
 
(ENT207) Creating a Culture of Cost Management in Your Organization | AWS re:...
(ENT207) Creating a Culture of Cost Management in Your Organization | AWS re:...(ENT207) Creating a Culture of Cost Management in Your Organization | AWS re:...
(ENT207) Creating a Culture of Cost Management in Your Organization | AWS re:...
 
AWS Cost Allocation best practices: How high-growth businesses succeed
AWS Cost Allocation best practices: How high-growth businesses succeedAWS Cost Allocation best practices: How high-growth businesses succeed
AWS Cost Allocation best practices: How high-growth businesses succeed
 
CSI Works master product list as of 12 8-19
CSI Works master product list as of 12 8-19CSI Works master product list as of 12 8-19
CSI Works master product list as of 12 8-19
 
Lean Six-Sigma Green Belt - Ankit Jain
Lean Six-Sigma Green Belt - Ankit JainLean Six-Sigma Green Belt - Ankit Jain
Lean Six-Sigma Green Belt - Ankit Jain
 
Using Scan Data of an Accident Scene and Involved Vehicles to Assist in Compl...
Using Scan Data of an Accident Scene and Involved Vehicles to Assist in Compl...Using Scan Data of an Accident Scene and Involved Vehicles to Assist in Compl...
Using Scan Data of an Accident Scene and Involved Vehicles to Assist in Compl...
 
DataEngConf - Simulations at Scale
DataEngConf - Simulations at ScaleDataEngConf - Simulations at Scale
DataEngConf - Simulations at Scale
 
DataEngConf SF16 - Running simulations at scale
DataEngConf SF16 - Running simulations at scaleDataEngConf SF16 - Running simulations at scale
DataEngConf SF16 - Running simulations at scale
 
From Raw Data to Deployment
From Raw Data to DeploymentFrom Raw Data to Deployment
From Raw Data to Deployment
 

Similar to AWS Community Day - Melbourne 2019 - Where did my money go ?

AWS Partner Webcast - Improving Your AWS Cost Efficiency with Cloudability
AWS Partner Webcast - Improving Your AWS Cost Efficiency with CloudabilityAWS Partner Webcast - Improving Your AWS Cost Efficiency with Cloudability
AWS Partner Webcast - Improving Your AWS Cost Efficiency with CloudabilityAmazon Web Services
 
AWS Melbourne Cost Mgt. and Opti. Meetup - 20181109 - v2.2
AWS Melbourne Cost Mgt. and Opti. Meetup - 20181109 - v2.2AWS Melbourne Cost Mgt. and Opti. Meetup - 20181109 - v2.2
AWS Melbourne Cost Mgt. and Opti. Meetup - 20181109 - v2.2Peter Shi
 
AWS re:Invent 2016: Cost Optimization at Scale (ENT209)
AWS re:Invent 2016: Cost Optimization at Scale (ENT209)AWS re:Invent 2016: Cost Optimization at Scale (ENT209)
AWS re:Invent 2016: Cost Optimization at Scale (ENT209)Amazon Web Services
 
AWS Technical Due Diligence Workshop Session Two
AWS Technical Due Diligence Workshop Session TwoAWS Technical Due Diligence Workshop Session Two
AWS Technical Due Diligence Workshop Session TwoTom Laszewski
 
faisal mushtaq - an enterprise cloud cost management framework
faisal mushtaq - an enterprise cloud cost management frameworkfaisal mushtaq - an enterprise cloud cost management framework
faisal mushtaq - an enterprise cloud cost management frameworkDariia Seimova
 
Proactive Cost Management for AWS Cloud
Proactive Cost Management for AWS CloudProactive Cost Management for AWS Cloud
Proactive Cost Management for AWS CloudNutanix Beam
 
Cost optimization at scale toronto v3
Cost optimization at scale toronto v3Cost optimization at scale toronto v3
Cost optimization at scale toronto v3Amazon Web Services
 
Mastering the fundamentals of AWS billing 8-20-15
Mastering the fundamentals of AWS billing 8-20-15Mastering the fundamentals of AWS billing 8-20-15
Mastering the fundamentals of AWS billing 8-20-15Cloudability
 
APN Partner Webinar - Having Effective and Critical TCO Conversations
APN Partner Webinar - Having Effective and Critical TCO ConversationsAPN Partner Webinar - Having Effective and Critical TCO Conversations
APN Partner Webinar - Having Effective and Critical TCO ConversationsAmazon Web Services
 
AWS Partner Webcast - Advanced Strategies for AWS Cost Allocation with Tags a...
AWS Partner Webcast - Advanced Strategies for AWS Cost Allocation with Tags a...AWS Partner Webcast - Advanced Strategies for AWS Cost Allocation with Tags a...
AWS Partner Webcast - Advanced Strategies for AWS Cost Allocation with Tags a...Amazon Web Services
 
AWS Cloud cost optimization
AWS Cloud cost optimizationAWS Cloud cost optimization
AWS Cloud cost optimizationYogesh Sharma
 
AWS Financial Governance Practice
AWS Financial Governance Practice AWS Financial Governance Practice
AWS Financial Governance Practice Amir Arama
 
Day 3 - Maintaining Performance & Availability While Lowering Costs with AWS
Day 3 - Maintaining Performance & Availability While Lowering Costs with AWSDay 3 - Maintaining Performance & Availability While Lowering Costs with AWS
Day 3 - Maintaining Performance & Availability While Lowering Costs with AWSAmazon Web Services
 
AWS Well-Architected Framework
AWS Well-Architected FrameworkAWS Well-Architected Framework
AWS Well-Architected FrameworkHenrique Mecking
 

Similar to AWS Community Day - Melbourne 2019 - Where did my money go ? (20)

AWS Partner Webcast - Improving Your AWS Cost Efficiency with Cloudability
AWS Partner Webcast - Improving Your AWS Cost Efficiency with CloudabilityAWS Partner Webcast - Improving Your AWS Cost Efficiency with Cloudability
AWS Partner Webcast - Improving Your AWS Cost Efficiency with Cloudability
 
AWS Melbourne Cost Mgt. and Opti. Meetup - 20181109 - v2.2
AWS Melbourne Cost Mgt. and Opti. Meetup - 20181109 - v2.2AWS Melbourne Cost Mgt. and Opti. Meetup - 20181109 - v2.2
AWS Melbourne Cost Mgt. and Opti. Meetup - 20181109 - v2.2
 
AWS re:Invent 2016: Cost Optimization at Scale (ENT209)
AWS re:Invent 2016: Cost Optimization at Scale (ENT209)AWS re:Invent 2016: Cost Optimization at Scale (ENT209)
AWS re:Invent 2016: Cost Optimization at Scale (ENT209)
 
Cost Optimization at Scale
Cost Optimization at ScaleCost Optimization at Scale
Cost Optimization at Scale
 
AWS Technical Due Diligence Workshop Session Two
AWS Technical Due Diligence Workshop Session TwoAWS Technical Due Diligence Workshop Session Two
AWS Technical Due Diligence Workshop Session Two
 
faisal mushtaq - an enterprise cloud cost management framework
faisal mushtaq - an enterprise cloud cost management frameworkfaisal mushtaq - an enterprise cloud cost management framework
faisal mushtaq - an enterprise cloud cost management framework
 
Proactive Cost Management for AWS Cloud
Proactive Cost Management for AWS CloudProactive Cost Management for AWS Cloud
Proactive Cost Management for AWS Cloud
 
Cloud Economics
Cloud EconomicsCloud Economics
Cloud Economics
 
Cloudonomics
CloudonomicsCloudonomics
Cloudonomics
 
Cost Optimization at Scale
Cost Optimization at ScaleCost Optimization at Scale
Cost Optimization at Scale
 
Cost optimization at scale toronto v3
Cost optimization at scale toronto v3Cost optimization at scale toronto v3
Cost optimization at scale toronto v3
 
Cost Optimization at Scale
Cost Optimization at ScaleCost Optimization at Scale
Cost Optimization at Scale
 
Mastering the fundamentals of AWS billing 8-20-15
Mastering the fundamentals of AWS billing 8-20-15Mastering the fundamentals of AWS billing 8-20-15
Mastering the fundamentals of AWS billing 8-20-15
 
APN Partner Webinar - Having Effective and Critical TCO Conversations
APN Partner Webinar - Having Effective and Critical TCO ConversationsAPN Partner Webinar - Having Effective and Critical TCO Conversations
APN Partner Webinar - Having Effective and Critical TCO Conversations
 
AWS Partner Webcast - Advanced Strategies for AWS Cost Allocation with Tags a...
AWS Partner Webcast - Advanced Strategies for AWS Cost Allocation with Tags a...AWS Partner Webcast - Advanced Strategies for AWS Cost Allocation with Tags a...
AWS Partner Webcast - Advanced Strategies for AWS Cost Allocation with Tags a...
 
AWS Cloud cost optimization
AWS Cloud cost optimizationAWS Cloud cost optimization
AWS Cloud cost optimization
 
AWS Financial Governance Practice
AWS Financial Governance Practice AWS Financial Governance Practice
AWS Financial Governance Practice
 
Day 3 - Maintaining Performance & Availability While Lowering Costs with AWS
Day 3 - Maintaining Performance & Availability While Lowering Costs with AWSDay 3 - Maintaining Performance & Availability While Lowering Costs with AWS
Day 3 - Maintaining Performance & Availability While Lowering Costs with AWS
 
Cost Optimization at Scale
 Cost Optimization at Scale Cost Optimization at Scale
Cost Optimization at Scale
 
AWS Well-Architected Framework
AWS Well-Architected FrameworkAWS Well-Architected Framework
AWS Well-Architected Framework
 

Recently uploaded

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
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
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
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
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
 
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
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
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
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
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
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
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
 

Recently uploaded (20)

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
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
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
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
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
 
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
 
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
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
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
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
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 ...
 
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
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
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...
 

AWS Community Day - Melbourne 2019 - Where did my money go ?

  • 2. Where did my money go ? Samuel Than | Carsales | 30 Aug 2019
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8. Where did my money go ? Samuel Than | 30 Aug 2019
  • 9. How to cost an application ? How to cost optimize an application ?
  • 10. How to cost an application ?
  • 11. AWS Billing Dashboard – Cost Explorer
  • 12. AWS Billing Dashboard – Cost Explorer - Tags I cost nothing ? I’m Free !!!
  • 14. How do we try to solve this challenge ? • Component A: o Metering mechanism using AWS services • Component B: o Calculate cost based on metered results via open-source tool – Prometheus • Component C: o Visualizing running costs via open-source tool - Grafana
  • 15. Component A: Metering via AWS services Reference: https://aws.amazon.com/blogs/compute/measuring-service-chargeback-in-amazon-ecs/ • Track AWS ECS tasks resource usage. • Tracking vCPU and memory reserved • Track when AWS ECS tasks start/stop
  • 16. Component A: Metering via AWS services Reference: https://aws.amazon.com/blogs/compute/measuring-service-chargeback-in-amazon-ecs/
  • 17. Component B: Calculating Cost 1. Find all the tasks that have ever run or are currently running as part of the service. 2. For each task, calculate the up time. 3. For each task, find the container instance type. 4. Find what percentage of the host’s compute or memory resources the task has reserved 5. Associate that percentage with a cost. 6. Store the results of this calculated data in Prometheus through custom exporter
  • 18. Component B: Calculating Cost Considerations: • EC2 pricing is on-demand • Networking costs not included • ELB/ALB costs not included
  • 19. Component A + B + C
  • 20. Demo
  • 21.
  • 22.
  • 23. How to optimize an application ?
  • 24. Ways to cost optimize application: AWS Cost Optimization Pillars • Measure, monitor and improve • Know your environment - analyze and monitor used/unused resources • Investigate costly resources • Take action to improve resource usage • Right sizing • Adjusting the resource used, removed/reduced overcompensated resources. • Increase elasticity • Possibility of dynamically turn resources on or increase resources per demand
  • 25. Demo
  • 26.
  • 27. Mystique – Rego Blurring Service 450 000 requests/month 150000 images processed/day
  • 28.
  • 29.
  • 30.
  • 32. Summary: • How to cost an application ? • Quality tagging and tools Helps forming a baseline running cost estimate for an application • How to cost optimize an application ? • Observe AWS Cost Optimization Pillars • Have open discussion with team about application costs, learn together • Provide proper tools to team

Editor's Notes

  1. Good afternoon everyone, and welcome to this afternoon’s session – titled Where did my money go ? If you can tell by the session title, we are going to talk about money/resources/costs …. As I’m aware that this is a 4pm session, let me attempt to start with something light hearted first. In the wonderful world of internet, I stumble upon an individual, a creative one … And this individual is into cosplay, Cosplay is a performance art in which participants called cosplayers wear costumes and fashion accessories to represent a specific character And what struck interest to me was creative attempt to cosplay with the amount of resource/cost he had… (CLICK)
  2. Scream
  3. Gouku
  4. Terminator
  5. Hm… a cat is involve… Oh .. I wonder what is the character …. I do applaud this individual’s creativity. Boldness…. The attention to “some” details I have to say barely get away with the low budget he had… Speaking about budget, which brings me to what I actually wanted to share today … (CLICK)
  6. Unlike the previous creative individual we saw earlier, We at Carsales had a different kind of resources and goals we try to work with…, But before we can attempt to operate at a desired resource and costs… there are 2 questions we at carsales attempt to answer… (CLICK)
  7. How to cost and application How to cost optimize an application (CLICK)
  8. Sam, we are thinking of commercialing XYZ product, we would like to know how much it costs us to run such application …. Sounds familiar ? I said to myself, alright to answer this question, there is a very good starting place I could go to…. (CLICK)
  9. AWS Billing Dashboard Still doesn’t show me the cost of running application … our application is a dockerize application runs in AWS ECS… So there’s some more breakdown we can do … we apply tagging to our ecs tasks and services.. . (CLICK)
  10. Hm… that doesn’t look right …. (CLICK)
  11. After doing some digging around… It turns out that the largest contribution to the cost of all our application seems to be lump together all in this purple bar. Which is 57% of the bill
  12. How do we try to solve this challeng ? We broke down our approach to 3 component. (CLICK)
  13. We know that our ECS services runs on EC2 and the costing of EC2 is hourly basis Surprisingly, AWS have a solution, detailed in the blog reference. I’m extracting some of the elements out into Componenet A. The idea is to have a mechanism to detect when a task state changed from RUNNING/STOPPED or vice versa. And store this information somewhere
  14. Surprisingly, AWS have a solution, detailed in the blog reference. I’m extracting some of the elements out into Componenet A. The idea is to have a mechanism to detect when a task state changed from RUNNING/STOPPED or vice versa. And store this information somewhere
  15. 2. At this moment we are calculating within 1 hour how many tasks are up and running
  16. Putting it altogether
  17. Over 24 hours, average running costs of cyclops = $1.393k
  18. Ask crowd about optimization (hands)
  19. Explain the dashboard in General Way Red circle 1 – Total Request Count Red circle 2 – Avg Response Time Red Circle 3 – CPU
  20. Memory unusually high usage resourced ? Real world scenario Blur image. Handling about avg 450 000 per month, 15000 request per day, 600 per hour .., A few c5 4xlarge to hosts this a few of this related microservices First deployed, the services keeps dropping out for a few seconds after running for half a day.
  21. Use case Memory Leaks Click 1 - Arrow Click 2 - Red circle Memory change
  22. Click arrow indication of EC2 instance reduce