SlideShare a Scribd company logo
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Cost Optimization Instructor Led Lab
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Today
• It’s 101 focused
• I assume very little knowledge/experience
• Mix of information and exercises
• If you’re advanced = train the trainer & advanced Questions
• No coding or external tools/programs
• Everything must be a few clicks in the console
• Exercises 1-3 will be done on YOUR account
• Exercises 4+ will use the instructor provided shared account, you may also use
your own account if there is usage
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Objectives of Today
• Setup your accounts to manage cost
• Learn how to analyse your costs
• Implement some fundamental Cost Optimization controls
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Cost of Optimization
• Cost of Collection, Analysis, Implementation
• You MUST Invest in Time and $ (wisely)
• Short, Fast Cycles of Cost Management
• Look for High Spend & High Return
• Top 10’s
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Well-Architected Approach
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Well-Architected Approach
• Governance
• Pricing Models
• Resource Sizing
• Monitoring Cost and Usage
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Governance
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Governance: Manage Who Can do What
• Provide and manage access = IAM
• Users
• Groups
• Policies
• (Limits)
• (IAM Roles)
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Exercise #1 – Setup a Cost Optimization team
Policies, Users and Groups
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Exercise #2 – Manage Resource Creation
Policies – Access Restriction
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Governance: Inform - Alerts
• Alert for Anomalies
• Alternative to Policies/Restrictions
• AWS Budgets
• Set actual & forecasted budgets
• Track cost, usage & RI utilisation
• Alert when forecasted or actuals exceed pre-defined limits
• Refine by Accounts, Tags, Instances… <~10 billing columns>
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Governance: CloudWatch Billing Alert
• Prefer not to use this…
• Creates an SNS Topic
• Requires additional access
• More Management/Operational Cost
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Exercise #3 – Create Budgets for your Business
Budget - Alerts
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Governance: AWS Budgets
• Usage budget
• Good alternative for limits (notify, don’t restrict)
• Specify Service, Instance Type and Usage Type (10 billing columns)
• RI Budget
• Use for high value RI’s
• Use in combination with Cost Explorers RI Utilization report
• Assist to increase visibility
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Pricing Models
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Pricing Models
• On Demand
• Reserved Capacity/Instances
• Spot
• Region Cost
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Pricing Models: RI’s – Do I Need 100% Utilization?
• People Prefer to Avoid Losses rather than Acquiring the
Equivalent Win
• What is the Actual Cost of Getting it Wrong?
• Average 18.54 concurrent instances: Cost: $8,060.788
• How Wrong can I go & Still Win?
• 25.99 PUF RI’s
• 26.52 FUF RI’s
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Pricing Models: RI Utilization Zones
100
%
Fully Paid
Assume 70%
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Pricing Models: Minimum Utilization Required (EC2)
Discount Level:
T2’s = 41%
M5’s = 39%
M4’s = 41%
C5’s = 39%
G3’s = 35%
F1’s = 36%
X1’s = 41%
R4’s = 40%
I3’s = 35%
H1’s = 35%
D2’s = 50%
P2’s = 35%
T2, M5, C5, M4, X1, R4 = 40% Discount
G3, F1, I3, H1, P2 = 35% Discount
D2 = 50% Discount
T2, M5, C5, M4, X1, R4 = 60% Utilisation
G3, F1, I3, H1, P2 = 65% Utilisation
D2 = 50% Utilisation
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Pricing Models: Which Model?
NUF vs PUF vs
FUF
*Prices as at 24th Apr 2018
- Standard vs Convertible
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Change of AWS accounts
Use the Loft Account
Login: https://836060457634.signin.aws.amazon.com/console
Usernames: https://s3.amazonaws.com/besh-summit/users.xlsx
(generate Tiny URLs for above)
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Exercise #4
Pricing Models – RI Report
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Pricing Models: RI Report
• Purchase the Lower Size When Flexible
• Decide at Speed and Scale
• Max/Min – What’s the spread?
• Average – Close to Max? Close to Min?
• Sort by Break Even (sooner = lower risk)
• Then Sort by Monthly Savings (highest return)
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Pricing Models: RI Reports – Change in Usage
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Exercise #5
Pricing Models – RI Report (Pt2)
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Resource Sizing
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Resource Sizing: Requirements
• Utilise Key Instance Attributes
• CPU
• Memory
• Network
• Additional Metrics: Storage (usage & size)
• Customised/DIY Solutions: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/mon-
scripts.html
• Enterprise/Company Wide Solution Aligned
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Resource Sizing: Trusted Advisor
• Requires Business Support ($100/month min, % of bill)
• Currently ~60 checks per account
• Multiple Services Supported (RDS, Redshift)
• Does NOT Check Memory
• 5 categories:
• Cost
• Performance
• Security
• Fault Tolerance
• Service Limits
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Exercise #6
Resource Sizing – Trusted Advisor
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Exercise #7
Resource Sizing – Instructor demo on right sizing an instance
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Monitor Cost
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Monitor Cost
• Monitor Your Usage as You Would System Uptime
• Audience, Tooling will Vary
• Higher Level = Cost Explorer
• Lower Level = Cost and Usage Reports
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Exercise #8
Monitor Cost – Cost Explorer
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Monitor Cost With Depth
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Monitor Cost: Cost and Usage Reports
• Detailed! (Up to Billions of Lines)
• Data Source for Many 3rd Party Tools
• Hourly Granularity
• Everything, Everyone, Anytime, Anywhere = 1 File
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Exercise #9
Monitor Cost – Billing Reports
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Monitor Cost: Billing Report Analysis
• Scalable (Over a Billion Lines)
• Repeatable – Columns Change (Especially Tags)
• Low Maintenance (Serverless)
• Familiar/Popular Access Method (ANSI SQL)
• Solution: Athena & AWS Glue
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Exercise #10
Monitor Cost – AWS Glue
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Monitor Cost: How to Access the Data - SQL
• SQL – Structured Query Language, databases
• Athena = ANSI SQL (standards based, lots of doco)
• Basic structure:
Select <column name>, <column name> from table
Were <condition>
Group by <column name>
Order by <column name> [asc | desc]
Limit <rows>
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Exercise #11
Monitor Cost – Athena & Queries
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Thank you!
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
aws.amazon.com/activate
Everything and Anything Startups
Need to Get Started on AWS

More Related Content

What's hot

ENTERPRISE COMPENSATION MANAGEMENT WITH mySAP™ ERP
ENTERPRISE COMPENSATION MANAGEMENT WITH mySAP™ ERPENTERPRISE COMPENSATION MANAGEMENT WITH mySAP™ ERP
ENTERPRISE COMPENSATION MANAGEMENT WITH mySAP™ ERPKevin Nguyen-Tu
 
Gartner: A framework for cost optimisation
Gartner: A framework for cost optimisationGartner: A framework for cost optimisation
Gartner: A framework for cost optimisation
Gartner
 
Finance Transformation for JABIL with IBM Cognos TM1
Finance Transformation for JABIL with IBM Cognos TM1Finance Transformation for JABIL with IBM Cognos TM1
Finance Transformation for JABIL with IBM Cognos TM1
Tridant
 
Whitepaper: The ROI of Incentive Compensation Management
Whitepaper: The ROI of Incentive Compensation ManagementWhitepaper: The ROI of Incentive Compensation Management
Whitepaper: The ROI of Incentive Compensation Management
Iconixx
 
VELCOM ERP IT SOURCING COMPANY PROFILE
VELCOM ERP IT SOURCING COMPANY PROFILEVELCOM ERP IT SOURCING COMPANY PROFILE
VELCOM ERP IT SOURCING COMPANY PROFILE
velcomerp
 
How Gartner Helps Across the Entire IT Cost Optimization Life Cycle
How Gartner Helps Across the Entire IT Cost Optimization Life CycleHow Gartner Helps Across the Entire IT Cost Optimization Life Cycle
How Gartner Helps Across the Entire IT Cost Optimization Life Cycle
Chris Grow
 
Accenture-Value-Realization-for-SAP
Accenture-Value-Realization-for-SAPAccenture-Value-Realization-for-SAP
Accenture-Value-Realization-for-SAPLionel Vuillemin
 
Lab Optimizer
Lab OptimizerLab Optimizer
Lab Optimizer
BearingPoint
 
IT Financial Management
IT Financial ManagementIT Financial Management
IT Financial Management
BearingPoint
 
Steps Of Strategic Procurement Process PowerPoint Presentation Slides
Steps Of Strategic Procurement Process PowerPoint Presentation SlidesSteps Of Strategic Procurement Process PowerPoint Presentation Slides
Steps Of Strategic Procurement Process PowerPoint Presentation Slides
SlideTeam
 
Strategic Portfolio Management Powerpoint Presentation Slides
Strategic Portfolio Management Powerpoint Presentation SlidesStrategic Portfolio Management Powerpoint Presentation Slides
Strategic Portfolio Management Powerpoint Presentation Slides
SlideTeam
 
Company Operations Powerpoint Presentation Slides
Company Operations Powerpoint Presentation SlidesCompany Operations Powerpoint Presentation Slides
Company Operations Powerpoint Presentation Slides
SlideTeam
 
G A InfoMart Cognos TM1 planning budgeting-forecasting solution
G A InfoMart Cognos TM1 planning budgeting-forecasting solutionG A InfoMart Cognos TM1 planning budgeting-forecasting solution
G A InfoMart Cognos TM1 planning budgeting-forecasting solution
GA InfoMart Ltd
 
Anaplan Webinar | Connected planning with Deloitte
 Anaplan Webinar | Connected planning with Deloitte Anaplan Webinar | Connected planning with Deloitte
Anaplan Webinar | Connected planning with Deloitte
Anaplan
 
Project Portfolio Management Kpi And Dashboard PowerPoint Presentation Slides
Project Portfolio Management Kpi And Dashboard PowerPoint Presentation SlidesProject Portfolio Management Kpi And Dashboard PowerPoint Presentation Slides
Project Portfolio Management Kpi And Dashboard PowerPoint Presentation Slides
SlideTeam
 
When is Driver-Based Modeling Applicable
When is Driver-Based Modeling ApplicableWhen is Driver-Based Modeling Applicable
When is Driver-Based Modeling ApplicableNilly Essaides
 
Finding Opportunity Amidst Turmoil: Wachovia Standardizes On Callidus TrueCom...
Finding Opportunity Amidst Turmoil: Wachovia Standardizes On Callidus TrueCom...Finding Opportunity Amidst Turmoil: Wachovia Standardizes On Callidus TrueCom...
Finding Opportunity Amidst Turmoil: Wachovia Standardizes On Callidus TrueCom...
Callidus Software
 
Workforce Plus: Tips and Tricks to Give Workforce an Extra Kick!
Workforce Plus: Tips and Tricks to Give Workforce an Extra Kick! Workforce Plus: Tips and Tricks to Give Workforce an Extra Kick!
Workforce Plus: Tips and Tricks to Give Workforce an Extra Kick!
Alithya
 

What's hot (20)

ENTERPRISE COMPENSATION MANAGEMENT WITH mySAP™ ERP
ENTERPRISE COMPENSATION MANAGEMENT WITH mySAP™ ERPENTERPRISE COMPENSATION MANAGEMENT WITH mySAP™ ERP
ENTERPRISE COMPENSATION MANAGEMENT WITH mySAP™ ERP
 
Gartner: A framework for cost optimisation
Gartner: A framework for cost optimisationGartner: A framework for cost optimisation
Gartner: A framework for cost optimisation
 
It budget
It budgetIt budget
It budget
 
Finance Transformation for JABIL with IBM Cognos TM1
Finance Transformation for JABIL with IBM Cognos TM1Finance Transformation for JABIL with IBM Cognos TM1
Finance Transformation for JABIL with IBM Cognos TM1
 
Whitepaper: The ROI of Incentive Compensation Management
Whitepaper: The ROI of Incentive Compensation ManagementWhitepaper: The ROI of Incentive Compensation Management
Whitepaper: The ROI of Incentive Compensation Management
 
VELCOM ERP IT SOURCING COMPANY PROFILE
VELCOM ERP IT SOURCING COMPANY PROFILEVELCOM ERP IT SOURCING COMPANY PROFILE
VELCOM ERP IT SOURCING COMPANY PROFILE
 
How Gartner Helps Across the Entire IT Cost Optimization Life Cycle
How Gartner Helps Across the Entire IT Cost Optimization Life CycleHow Gartner Helps Across the Entire IT Cost Optimization Life Cycle
How Gartner Helps Across the Entire IT Cost Optimization Life Cycle
 
Accenture-Value-Realization-for-SAP
Accenture-Value-Realization-for-SAPAccenture-Value-Realization-for-SAP
Accenture-Value-Realization-for-SAP
 
Lab Optimizer
Lab OptimizerLab Optimizer
Lab Optimizer
 
IT Financial Management
IT Financial ManagementIT Financial Management
IT Financial Management
 
Steps Of Strategic Procurement Process PowerPoint Presentation Slides
Steps Of Strategic Procurement Process PowerPoint Presentation SlidesSteps Of Strategic Procurement Process PowerPoint Presentation Slides
Steps Of Strategic Procurement Process PowerPoint Presentation Slides
 
Strategic Portfolio Management Powerpoint Presentation Slides
Strategic Portfolio Management Powerpoint Presentation SlidesStrategic Portfolio Management Powerpoint Presentation Slides
Strategic Portfolio Management Powerpoint Presentation Slides
 
Company Operations Powerpoint Presentation Slides
Company Operations Powerpoint Presentation SlidesCompany Operations Powerpoint Presentation Slides
Company Operations Powerpoint Presentation Slides
 
G A InfoMart Cognos TM1 planning budgeting-forecasting solution
G A InfoMart Cognos TM1 planning budgeting-forecasting solutionG A InfoMart Cognos TM1 planning budgeting-forecasting solution
G A InfoMart Cognos TM1 planning budgeting-forecasting solution
 
Bottom Line Improvement
Bottom Line ImprovementBottom Line Improvement
Bottom Line Improvement
 
Anaplan Webinar | Connected planning with Deloitte
 Anaplan Webinar | Connected planning with Deloitte Anaplan Webinar | Connected planning with Deloitte
Anaplan Webinar | Connected planning with Deloitte
 
Project Portfolio Management Kpi And Dashboard PowerPoint Presentation Slides
Project Portfolio Management Kpi And Dashboard PowerPoint Presentation SlidesProject Portfolio Management Kpi And Dashboard PowerPoint Presentation Slides
Project Portfolio Management Kpi And Dashboard PowerPoint Presentation Slides
 
When is Driver-Based Modeling Applicable
When is Driver-Based Modeling ApplicableWhen is Driver-Based Modeling Applicable
When is Driver-Based Modeling Applicable
 
Finding Opportunity Amidst Turmoil: Wachovia Standardizes On Callidus TrueCom...
Finding Opportunity Amidst Turmoil: Wachovia Standardizes On Callidus TrueCom...Finding Opportunity Amidst Turmoil: Wachovia Standardizes On Callidus TrueCom...
Finding Opportunity Amidst Turmoil: Wachovia Standardizes On Callidus TrueCom...
 
Workforce Plus: Tips and Tricks to Give Workforce an Extra Kick!
Workforce Plus: Tips and Tricks to Give Workforce an Extra Kick! Workforce Plus: Tips and Tricks to Give Workforce an Extra Kick!
Workforce Plus: Tips and Tricks to Give Workforce an Extra Kick!
 

Similar to Well Architected: Cost Optimization

Well-Architected: Cost Optimization Instructor Led Lab.pdf
Well-Architected: Cost Optimization Instructor Led Lab.pdfWell-Architected: Cost Optimization Instructor Led Lab.pdf
Well-Architected: Cost Optimization Instructor Led Lab.pdf
Amazon Web Services
 
Cost Optimisation Instructor Led Lab
Cost Optimisation Instructor Led LabCost Optimisation Instructor Led Lab
Cost Optimisation Instructor Led Lab
Amazon Web Services
 
Optimize EC2 for Fun and Profit - SRV203 - Anaheim AWS Summit
Optimize EC2 for Fun and Profit - SRV203 - Anaheim AWS SummitOptimize EC2 for Fun and Profit - SRV203 - Anaheim AWS Summit
Optimize EC2 for Fun and Profit - SRV203 - Anaheim AWS Summit
Amazon Web Services
 
Optimizing Costs as You Scale on AWS (ENT302) - AWS re:Invent 2018
Optimizing Costs as You Scale on AWS (ENT302) - AWS re:Invent 2018Optimizing Costs as You Scale on AWS (ENT302) - AWS re:Invent 2018
Optimizing Costs as You Scale on AWS (ENT302) - AWS re:Invent 2018
Amazon Web Services
 
Innovation Track AWS Cloud Experience Argentina - Optimizando Costos
Innovation Track AWS Cloud Experience Argentina - Optimizando CostosInnovation Track AWS Cloud Experience Argentina - Optimizando Costos
Innovation Track AWS Cloud Experience Argentina - Optimizando Costos
Amazon Web Services LATAM
 
Cloud Economics - TCO 101
Cloud Economics - TCO 101Cloud Economics - TCO 101
Cloud Economics - TCO 101
Amazon Web Services
 
Cloud Deep Dive: Total Cost of Ownership - John Enoch
Cloud Deep Dive: Total Cost of Ownership - John EnochCloud Deep Dive: Total Cost of Ownership - John Enoch
Cloud Deep Dive: Total Cost of Ownership - John Enoch
Amazon Web Services
 
Cloud Economics
Cloud EconomicsCloud Economics
Cloud Economics
Amazon Web Services
 
AWS Webinar Series - Cost Optimisation Levers, Tools, and Strategies
AWS Webinar Series - Cost Optimisation Levers, Tools, and StrategiesAWS Webinar Series - Cost Optimisation Levers, Tools, and Strategies
AWS Webinar Series - Cost Optimisation Levers, Tools, and Strategies
Amazon Web Services
 
Cost Optimisation on AWS
Cost Optimisation on AWSCost Optimisation on AWS
Cost Optimisation on AWS
Amazon Web Services
 
DevOps, CI/CD, cost management, and security on AWS
DevOps, CI/CD, cost management, and security on AWSDevOps, CI/CD, cost management, and security on AWS
DevOps, CI/CD, cost management, and security on AWS
Tom Laszewski
 
Remove Undifferentiated Heavy Lifting from CI/CD Toolsets with Corteva Agrisc...
Remove Undifferentiated Heavy Lifting from CI/CD Toolsets with Corteva Agrisc...Remove Undifferentiated Heavy Lifting from CI/CD Toolsets with Corteva Agrisc...
Remove Undifferentiated Heavy Lifting from CI/CD Toolsets with Corteva Agrisc...
Amazon Web Services
 
Česko-Slovenský AWS Webinář 07 - Optimalizace nákladů v AWS
Česko-Slovenský AWS Webinář 07 - Optimalizace nákladů v AWSČesko-Slovenský AWS Webinář 07 - Optimalizace nákladů v AWS
Česko-Slovenský AWS Webinář 07 - Optimalizace nákladů v AWS
Vladimir Simek
 
Governance at Scale
Governance at ScaleGovernance at Scale
Governance at Scale
Amazon Web Services
 
Get the Most out of Your Amazon Elasticsearch Service Domain (ANT334-R1) - AW...
Get the Most out of Your Amazon Elasticsearch Service Domain (ANT334-R1) - AW...Get the Most out of Your Amazon Elasticsearch Service Domain (ANT334-R1) - AW...
Get the Most out of Your Amazon Elasticsearch Service Domain (ANT334-R1) - AW...
Amazon Web Services
 
SRV203 Optimizing Amazon EC2 for Fun and Profit
 SRV203 Optimizing Amazon EC2 for Fun and Profit SRV203 Optimizing Amazon EC2 for Fun and Profit
SRV203 Optimizing Amazon EC2 for Fun and Profit
Amazon Web Services
 
Optimize Amazon EC2 for Fun and Profit - SRV203 - Chicago AWS Summit
Optimize Amazon EC2 for Fun and Profit - SRV203 - Chicago AWS SummitOptimize Amazon EC2 for Fun and Profit - SRV203 - Chicago AWS Summit
Optimize Amazon EC2 for Fun and Profit - SRV203 - Chicago AWS Summit
Amazon Web Services
 
AWS Cloud Experience CA: Cómo reducir sus costos en AWS (broad cost strategy)
AWS Cloud Experience CA: Cómo reducir sus costos en AWS (broad cost strategy)AWS Cloud Experience CA: Cómo reducir sus costos en AWS (broad cost strategy)
AWS Cloud Experience CA: Cómo reducir sus costos en AWS (broad cost strategy)
Amazon Web Services LATAM
 
ENT206 Product Development in the Cloud
ENT206 Product Development in the CloudENT206 Product Development in the Cloud
ENT206 Product Development in the Cloud
Amazon Web Services
 
Product Development in the Cloud - ENT206 - Chicago AWS Summit
Product Development in the Cloud - ENT206 - Chicago AWS SummitProduct Development in the Cloud - ENT206 - Chicago AWS Summit
Product Development in the Cloud - ENT206 - Chicago AWS Summit
Amazon Web Services
 

Similar to Well Architected: Cost Optimization (20)

Well-Architected: Cost Optimization Instructor Led Lab.pdf
Well-Architected: Cost Optimization Instructor Led Lab.pdfWell-Architected: Cost Optimization Instructor Led Lab.pdf
Well-Architected: Cost Optimization Instructor Led Lab.pdf
 
Cost Optimisation Instructor Led Lab
Cost Optimisation Instructor Led LabCost Optimisation Instructor Led Lab
Cost Optimisation Instructor Led Lab
 
Optimize EC2 for Fun and Profit - SRV203 - Anaheim AWS Summit
Optimize EC2 for Fun and Profit - SRV203 - Anaheim AWS SummitOptimize EC2 for Fun and Profit - SRV203 - Anaheim AWS Summit
Optimize EC2 for Fun and Profit - SRV203 - Anaheim AWS Summit
 
Optimizing Costs as You Scale on AWS (ENT302) - AWS re:Invent 2018
Optimizing Costs as You Scale on AWS (ENT302) - AWS re:Invent 2018Optimizing Costs as You Scale on AWS (ENT302) - AWS re:Invent 2018
Optimizing Costs as You Scale on AWS (ENT302) - AWS re:Invent 2018
 
Innovation Track AWS Cloud Experience Argentina - Optimizando Costos
Innovation Track AWS Cloud Experience Argentina - Optimizando CostosInnovation Track AWS Cloud Experience Argentina - Optimizando Costos
Innovation Track AWS Cloud Experience Argentina - Optimizando Costos
 
Cloud Economics - TCO 101
Cloud Economics - TCO 101Cloud Economics - TCO 101
Cloud Economics - TCO 101
 
Cloud Deep Dive: Total Cost of Ownership - John Enoch
Cloud Deep Dive: Total Cost of Ownership - John EnochCloud Deep Dive: Total Cost of Ownership - John Enoch
Cloud Deep Dive: Total Cost of Ownership - John Enoch
 
Cloud Economics
Cloud EconomicsCloud Economics
Cloud Economics
 
AWS Webinar Series - Cost Optimisation Levers, Tools, and Strategies
AWS Webinar Series - Cost Optimisation Levers, Tools, and StrategiesAWS Webinar Series - Cost Optimisation Levers, Tools, and Strategies
AWS Webinar Series - Cost Optimisation Levers, Tools, and Strategies
 
Cost Optimisation on AWS
Cost Optimisation on AWSCost Optimisation on AWS
Cost Optimisation on AWS
 
DevOps, CI/CD, cost management, and security on AWS
DevOps, CI/CD, cost management, and security on AWSDevOps, CI/CD, cost management, and security on AWS
DevOps, CI/CD, cost management, and security on AWS
 
Remove Undifferentiated Heavy Lifting from CI/CD Toolsets with Corteva Agrisc...
Remove Undifferentiated Heavy Lifting from CI/CD Toolsets with Corteva Agrisc...Remove Undifferentiated Heavy Lifting from CI/CD Toolsets with Corteva Agrisc...
Remove Undifferentiated Heavy Lifting from CI/CD Toolsets with Corteva Agrisc...
 
Česko-Slovenský AWS Webinář 07 - Optimalizace nákladů v AWS
Česko-Slovenský AWS Webinář 07 - Optimalizace nákladů v AWSČesko-Slovenský AWS Webinář 07 - Optimalizace nákladů v AWS
Česko-Slovenský AWS Webinář 07 - Optimalizace nákladů v AWS
 
Governance at Scale
Governance at ScaleGovernance at Scale
Governance at Scale
 
Get the Most out of Your Amazon Elasticsearch Service Domain (ANT334-R1) - AW...
Get the Most out of Your Amazon Elasticsearch Service Domain (ANT334-R1) - AW...Get the Most out of Your Amazon Elasticsearch Service Domain (ANT334-R1) - AW...
Get the Most out of Your Amazon Elasticsearch Service Domain (ANT334-R1) - AW...
 
SRV203 Optimizing Amazon EC2 for Fun and Profit
 SRV203 Optimizing Amazon EC2 for Fun and Profit SRV203 Optimizing Amazon EC2 for Fun and Profit
SRV203 Optimizing Amazon EC2 for Fun and Profit
 
Optimize Amazon EC2 for Fun and Profit - SRV203 - Chicago AWS Summit
Optimize Amazon EC2 for Fun and Profit - SRV203 - Chicago AWS SummitOptimize Amazon EC2 for Fun and Profit - SRV203 - Chicago AWS Summit
Optimize Amazon EC2 for Fun and Profit - SRV203 - Chicago AWS Summit
 
AWS Cloud Experience CA: Cómo reducir sus costos en AWS (broad cost strategy)
AWS Cloud Experience CA: Cómo reducir sus costos en AWS (broad cost strategy)AWS Cloud Experience CA: Cómo reducir sus costos en AWS (broad cost strategy)
AWS Cloud Experience CA: Cómo reducir sus costos en AWS (broad cost strategy)
 
ENT206 Product Development in the Cloud
ENT206 Product Development in the CloudENT206 Product Development in the Cloud
ENT206 Product Development in the Cloud
 
Product Development in the Cloud - ENT206 - Chicago AWS Summit
Product Development in the Cloud - ENT206 - Chicago AWS SummitProduct Development in the Cloud - ENT206 - Chicago AWS Summit
Product Development in the Cloud - ENT206 - Chicago AWS Summit
 

More from Amazon Web Services

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Amazon Web Services
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Amazon Web Services
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
Amazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
Amazon Web Services
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
Amazon Web Services
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
Amazon Web Services
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Amazon Web Services
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
Amazon Web Services
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Amazon Web Services
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
Amazon Web Services
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
Amazon Web Services
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Amazon Web Services
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
Amazon Web Services
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Amazon Web Services
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWSAmazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...Amazon Web Services
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
Amazon Web Services
 

More from Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Well Architected: Cost Optimization

  • 1. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Cost Optimization Instructor Led Lab
  • 2. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Today • It’s 101 focused • I assume very little knowledge/experience • Mix of information and exercises • If you’re advanced = train the trainer & advanced Questions • No coding or external tools/programs • Everything must be a few clicks in the console • Exercises 1-3 will be done on YOUR account • Exercises 4+ will use the instructor provided shared account, you may also use your own account if there is usage
  • 3. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Objectives of Today • Setup your accounts to manage cost • Learn how to analyse your costs • Implement some fundamental Cost Optimization controls
  • 4. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Cost of Optimization • Cost of Collection, Analysis, Implementation • You MUST Invest in Time and $ (wisely) • Short, Fast Cycles of Cost Management • Look for High Spend & High Return • Top 10’s
  • 5. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Well-Architected Approach
  • 6. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Well-Architected Approach • Governance • Pricing Models • Resource Sizing • Monitoring Cost and Usage
  • 7. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Governance
  • 8. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Governance: Manage Who Can do What • Provide and manage access = IAM • Users • Groups • Policies • (Limits) • (IAM Roles)
  • 9. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Exercise #1 – Setup a Cost Optimization team Policies, Users and Groups
  • 10. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Exercise #2 – Manage Resource Creation Policies – Access Restriction
  • 11. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Governance: Inform - Alerts • Alert for Anomalies • Alternative to Policies/Restrictions • AWS Budgets • Set actual & forecasted budgets • Track cost, usage & RI utilisation • Alert when forecasted or actuals exceed pre-defined limits • Refine by Accounts, Tags, Instances… <~10 billing columns>
  • 12. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Governance: CloudWatch Billing Alert • Prefer not to use this… • Creates an SNS Topic • Requires additional access • More Management/Operational Cost
  • 13. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Exercise #3 – Create Budgets for your Business Budget - Alerts
  • 14. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Governance: AWS Budgets • Usage budget • Good alternative for limits (notify, don’t restrict) • Specify Service, Instance Type and Usage Type (10 billing columns) • RI Budget • Use for high value RI’s • Use in combination with Cost Explorers RI Utilization report • Assist to increase visibility
  • 15. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Pricing Models
  • 16. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Pricing Models • On Demand • Reserved Capacity/Instances • Spot • Region Cost
  • 17. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Pricing Models: RI’s – Do I Need 100% Utilization? • People Prefer to Avoid Losses rather than Acquiring the Equivalent Win • What is the Actual Cost of Getting it Wrong? • Average 18.54 concurrent instances: Cost: $8,060.788 • How Wrong can I go & Still Win? • 25.99 PUF RI’s • 26.52 FUF RI’s
  • 18. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Pricing Models: RI Utilization Zones 100 % Fully Paid Assume 70%
  • 19. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Pricing Models: Minimum Utilization Required (EC2) Discount Level: T2’s = 41% M5’s = 39% M4’s = 41% C5’s = 39% G3’s = 35% F1’s = 36% X1’s = 41% R4’s = 40% I3’s = 35% H1’s = 35% D2’s = 50% P2’s = 35% T2, M5, C5, M4, X1, R4 = 40% Discount G3, F1, I3, H1, P2 = 35% Discount D2 = 50% Discount T2, M5, C5, M4, X1, R4 = 60% Utilisation G3, F1, I3, H1, P2 = 65% Utilisation D2 = 50% Utilisation
  • 20. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Pricing Models: Which Model? NUF vs PUF vs FUF *Prices as at 24th Apr 2018 - Standard vs Convertible
  • 21. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Change of AWS accounts Use the Loft Account Login: https://836060457634.signin.aws.amazon.com/console Usernames: https://s3.amazonaws.com/besh-summit/users.xlsx (generate Tiny URLs for above)
  • 22. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Exercise #4 Pricing Models – RI Report
  • 23. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Pricing Models: RI Report • Purchase the Lower Size When Flexible • Decide at Speed and Scale • Max/Min – What’s the spread? • Average – Close to Max? Close to Min? • Sort by Break Even (sooner = lower risk) • Then Sort by Monthly Savings (highest return)
  • 24. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Pricing Models: RI Reports – Change in Usage
  • 25. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Exercise #5 Pricing Models – RI Report (Pt2)
  • 26. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Resource Sizing
  • 27. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Resource Sizing: Requirements • Utilise Key Instance Attributes • CPU • Memory • Network • Additional Metrics: Storage (usage & size) • Customised/DIY Solutions: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/mon- scripts.html • Enterprise/Company Wide Solution Aligned
  • 28. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Resource Sizing: Trusted Advisor • Requires Business Support ($100/month min, % of bill) • Currently ~60 checks per account • Multiple Services Supported (RDS, Redshift) • Does NOT Check Memory • 5 categories: • Cost • Performance • Security • Fault Tolerance • Service Limits
  • 29. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Exercise #6 Resource Sizing – Trusted Advisor
  • 30. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Exercise #7 Resource Sizing – Instructor demo on right sizing an instance
  • 31. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Monitor Cost
  • 32. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Monitor Cost • Monitor Your Usage as You Would System Uptime • Audience, Tooling will Vary • Higher Level = Cost Explorer • Lower Level = Cost and Usage Reports
  • 33. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Exercise #8 Monitor Cost – Cost Explorer
  • 34. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Monitor Cost With Depth
  • 35. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Monitor Cost: Cost and Usage Reports • Detailed! (Up to Billions of Lines) • Data Source for Many 3rd Party Tools • Hourly Granularity • Everything, Everyone, Anytime, Anywhere = 1 File
  • 36. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Exercise #9 Monitor Cost – Billing Reports
  • 37. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Monitor Cost: Billing Report Analysis • Scalable (Over a Billion Lines) • Repeatable – Columns Change (Especially Tags) • Low Maintenance (Serverless) • Familiar/Popular Access Method (ANSI SQL) • Solution: Athena & AWS Glue
  • 38. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Exercise #10 Monitor Cost – AWS Glue
  • 39. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Monitor Cost: How to Access the Data - SQL • SQL – Structured Query Language, databases • Athena = ANSI SQL (standards based, lots of doco) • Basic structure: Select <column name>, <column name> from table Were <condition> Group by <column name> Order by <column name> [asc | desc] Limit <rows>
  • 40. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Exercise #11 Monitor Cost – Athena & Queries
  • 41. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Thank you!
  • 42. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved aws.amazon.com/activate Everything and Anything Startups Need to Get Started on AWS