SlideShare a Scribd company logo
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Cost Management &
Optimisation Interest Group
Melbourne Usergroup Meetup
Nov 2018
Agenda
• 2:00pm - Setup
• 2:10pm - Kick off, welcome, and intro
• 2:20pm - Jason Gorringe, Australia Post: How to get the most out of your
AWS usage
• 2:50pm - Discussion and Q&A
• 3:00pm - Peter Shi, AWS: Developing a Cost Management Dashboard that
provides high speed to insight
• 4:30pm - Discussion, Q&A, and networking over drinks and snacks
• 5:30pm - Event Concludes
Learning &
Accelerating
Asking
questions
Sharing stories
Voice to target
product asks
Contribute &
open source
Respect NDAs Taking off the
sales hat
Fully realise
the benefits
of AWS
Why should we care about Cost Optimisation?
Example non-prod workload checklist
Can this run on CentOS/Linux?
$1000
Turn off outside of work hours?
Right size down by 1 size? $118
$236
$787
Can this run on EC2 Spot? $30
Starting non-prod workload
Agenda
• 2:00pm - Setup
• 2:10pm - Kick off, welcome, and intro
• 2:20pm - Jason Gorringe, Australia Post: How to get the most out of your
AWS usage
• 2:50pm - Discussion and Q&A
• 3:00pm - Peter Shi, AWS: Developing a Cost Management Dashboard that
provides high speed to insight
• 4:30pm - Discussion, Q&A, and networking over drinks and snacks
• 5:30pm - Event Concludes
Cloud Cost Optimization
HOW TO GET THE MOST OUT OF YOUR AWS USAGE
History
• About Post
• About Me
• My Journey with Cloud Services
• Cost Optimisation principles
• Where to from here?
Beginning the journey
Communicate
• Constant two-way communication between business, IT and the billing
team is vital
Educate
• An understanding of the intricacies of AWS billing
Empower
• Give control to users of the platform to manage their own costs
Cost Allocation
ASSIGNING COSTS TO THOSE RESPONSIBLE
• Tagging (keys and values)
• Policy/standards
• Tagging (mapping)
• Transition
• Data sources
• Did we mention tagging?
Cost Avoidance
BETTER USAGE OF YOUR PRODUCTS
• Cost control
• Know your products
• Usage
• Multi vendor
Cost Accountability
THE TOOLS AND WHO SHOULD USE THEM
• Spot instances
• Rightsizing
• Reserved instances
• Billing tools
Cost Transparency
COMMUNICATION
• Showback and Chargeback
• Monitoring and reporting
• Analysis and trending
• Collaboration and communication
Where to from here?
• Automated tagging
• Product/team account based strategy
• Review of services consumed
• Tagging (integration and central management)
Questions
Agenda
• 2:00pm - Setup
• 2:10pm - Kick off, welcome, and intro
• 2:20pm - Jason Gorringe, Australia Post: How to get the most out of your
AWS usage
• 2:50pm - Discussion and Q&A
• 3:00pm - Peter Shi, AWS: Developing a Cost Management Dashboard that
provides high speed to insight
• 4:30pm - Discussion, Q&A, and networking over drinks and snacks
• 5:30pm - Event Concludes
Agenda
• 2:00pm - Setup
• 2:10pm - Kick off, welcome, and intro
• 2:20pm - Jason Gorringe, Australia Post: How to get the most out of your
AWS usage
• 2:50pm - Discussion and Q&A
• 3:00pm - Peter Shi, AWS: Developing a Cost Management Dashboard that
provides high speed to insight
• 4:30pm - Discussion, Q&A, and networking over drinks and snacks
• 5:30pm - Event Concludes
Contents
• Why should I build my own dashboard?
• AWS Data Sources
• Data Pipelines into Athena
• Gaining Speed to Insight in Quicksight
(incl. visualization tips and KPIs)
Contents
• Why should I build my own dashboard?
• AWS Data Sources
• Data Pipelines into Athena
• Gaining Speed to Insight in Quicksight
(incl. visualization tips and KPIs)
Speed, scale, complexity, and value at stake drives
the need for visibility and speed to insight
Pick the tool that provides the cost visibility and
speed to insight that you need
Simple, Static, Small
environment
Complex, Dynamic,
Large environment
1. Monthly AWS Invoice
2. AWS Billing
console
3. AWS Cost Explorer
and AWS Budgets
4. AWS Billing File Analysis,
DIY dashboards, and
3rd party tools
100% Agility
Engineering bias
100% Control
Finance bias
Balanced approach
Speed to Insight will help you take a balanced
approach
Contents
• Why should I build my own dashboard?
• AWS Data Sources
• Data Pipelines into Athena
• Gaining Speed to Insight in Quicksight
(incl. visualization tips and KPIs)
AWS Data Sources
• AWS Cost and Usage Report (CUR)
• Hourly billing data for each service
+ more info such as RI usage
• Can have a very large number of rows and columns
• AWS CloudWatch data
• Resource Utilization data
• DIY budget and revenue data
• Flat .csv file of how much you’ve budgeted to spend +
revenue generated associated with AWS spend
• AWS CloudTrail
Step 1.1: Generate the AWS Cost and Usage
Report (CUR) for your account @ Payer acct. level
• CUR is the data source of
Cost Explorer
• Enable the CUR (5 minute
exercise)
• https://docs.aws.amazon.com/
awsaccountbilling/latest/about
v2/billing-reports-
gettingstarted-
turnonreports.html
Step 1.2: Create some DIY budget and revenue data
• Create CSV file with 4 columns:
• Account id
• Month
• Budget (example business constraint)
• Revenue (example business metric)
Other examples:
• minutes on website
• number of devs
Step 1.3: Save CloudWatch data across relevant
accounts to S3
• Amazon CloudWatch is a monitoring and management
service that collects and reports resource metrics
• Metrics that indicate effective EC2 use (for many workloads)
includes:
• CPU % utilisation
• Memory % utilisation
• Network IO (to internet and to EBS)
• For the purposes of today’s exercise we’ll use only CPU %
Step 1.3: Save CloudWatch data across relevant
accounts to S3
• Open source multi-account example of Cost Optimization:
EC2 Right Sizing solution which collects CloudWatch data
across multiple accounts
https://github.com/saltysoup/cost-optimization-multi
Contents
• Why should I build my own dashboard?
• AWS Data Sources
• Data Pipelines into Athena
• Gaining Speed to Insight in Quicksight
(incl. visualization tips and KPIs)
What’s a data pipeline and what’s Athena?
• Data pipelines get your data in a format and to a location
where you want it to be, typically in an automated way. Also
known as ETL (Extract, Transform and Load)
• The “Load” portion of this will get our data into Amazon
Athena, our serverless interactive query service that can
query data directly from S3 (Simple Storage Service).
• $5 per TB of data scanned. For the typical $100k p.m. biller
analysing billing data via Athena should cost approx. $5 per
month. However it’s always smart to set an AWS Budget
warning to catch rogue scripts.
Step 2.1: Create an automated way to get CUR
billing data into Athena
• Option 1: Use an open source tool
https://bitbucket.org/atlassian/squeegee/wiki/Home
• Option 2: To be updated in next version of slides
Step 2.2: Get your DIY Budget and Revenue data
into Athena
• Option 1: Manual via Athena SQL script
• Option 2: Automated method 1:
S3 Event -> call Lambda -> run Athena SQL
https://docs.aws.amazon.com/lambda/latest/dg/with-s3-
example.html
• Option 3: Automated method 2: AWS Glue
Step 2.2: Get your DIY Budget and Revenue data
into Athena – Example SQL
CREATE EXTERNAL TABLE IF NOT EXISTS dbname.budget_and_rev_data (
`accountid` string,
`month_` string,
`budget` string,
`revenue` string
)
ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.OpenCSVSerde'
WITH SERDEPROPERTIES (
'separatorChar' = ',',
'quoteChar' = '"',
'escapeChar' = ''
)
LOCATION 's3://bucketname/budgetandrevenue/'
TBLPROPERTIES ('has_encrypted_data'='false', "skip.header.line.count"="1")
Step 2.3: Get your CloudWatch data into Athena
• Option 1: Manual via Athena SQL script
• Option 2: Automated method 1:
S3 Event -> call Lambda -> run Athena SQL
https://docs.aws.amazon.com/lambda/latest/dg/with-s3-
example.html
• Option 3: Automated method 2: AWS Glue
Step 2.3: Get your CloudWatch data into Athena –
Example SQL
CREATE EXTERNAL TABLE IF NOT EXISTS
dbname.cw_data (
`humanReadableTimestamp` string,
`timestamp` string,
`accountId` string,
`az` string,
`instanceId` string,
`instanceType` string,
`instanceTags` string,
`ebsBacked` string,
`volumeIds` string,
`instanceLaunchTime` string,
`humanReadableInstanceLaunchTime` string,
`CPUUtilization` string,
`NetworkIn` string,
`NetworkOut` string,
`DiskReadOps` string,
`DiskWriteOps` string
)
ROW FORMAT SERDE
'org.apache.hadoop.hive.serde2.OpenCSVSe
rde'
WITH SERDEPROPERTIES (
'separatorChar' = ',',
'quoteChar' = '"',
'escapeChar' = ''
)
LOCATION 's3://bucketname/cw/'
TBLPROPERTIES
('has_encrypted_data'='false',
"skip.header.line.count"="1")
Contents
• Why should I build my own dashboard?
• AWS Data Sources
• Data Pipelines into Athena
• Gaining Speed to Insight in Quicksight
(incl. visualization tips and KPIs)
What’s QuickSight?
• Amazon QuickSight is a fast, cloud-powered BI service that
makes it easy to build visualizations, perform ad-hoc
analysis, and quickly get business insights from your data.
• Accessed from any browser or mobile device.
• First BI service to offer pay-per-session pricing so no upfront
costs, no annual commitments, and no charges for inactive
users!
How much does QuickSight cost?
A part of Speed to Insight is getting data to where you are
familiar with consuming it from (e.g. email).
QuickSight can send dashboards to you via email.
https://aws.amazon.com/blogs/big-data/amazon-quicksight-now-supports-
email-reports-and-data-labels/
Step 3.1: Set up a new Athena data source in
QuickSight
• S3 permissions
• Data types
• Date format
• Decimal format
Step 3.1: Set up a new Athena data source in
QuickSight – Example SQL for date formatting
SELECT
substring(cast(from_iso8601_timestamp(bill_billingperiodstartdate) AS varchar), 1, 19)
AS billingperiodstartdate,
substring(cast(from_iso8601_timestamp(bill_billingperiodenddate) AS varchar), 1, 19)
AS billingperiodenddate,
substring(cast(from_iso8601_timestamp(lineitem_usagestartdate) AS varchar), 1, 19)
AS usagestartdate,
substring(cast(from_iso8601_timestamp(lineitem_usageenddate) AS varchar), 1, 19)
AS usageenddate,
*
FROM dbname.cost_usage_report
Step 3.1: Set up a new Athena data source in
QuickSight – Example Date format syntax for
QuickSight
yyyy-MM-dd HH:mm:ss
Step 3.2: Visualize spend by account and month
• This helps us see
• Largest spends
• Changes in spend
• But what do we mean by spend?
Step 3.2: Visualize spend by account and month
• What do we mean by spend?
Cost View CUR Column Description
Blended • lineItem/UnblendedCost Cost based on a common rate across
all accounts
Unblended • lineItem/UnblendedCost Cost based on a common rate across
all accounts
Amortized • reservation/AmortizedUpfront
FeeForBillingPeriod
• reservation/UnusedAmortized
UpfrontFeeForBillingPeriod
Amortised value of upfront RI spend
Public On
Demand Cost
• pricing/
publicOnDemandCost
True reflection of usage.
Price that would have been paid if run
on-demand and if no-free tier
Step 3.2: Visualize spend by account and month
• What would give better insight?
• Spend by account by week
• Having account names instead of IDs
• Having a granular account structure
• Tagging for visibility into apps, teams, cost centers
Step 3.3: Now lets visualize:
“what is my % spend against budget?”
• Create a view in Athena that joins budget and billing data
• Visualise the view in QuickSight
A “view” in database-world is a saved query that does not
store any data but runs that query each time you ask.
This allows the query to be designed to always retrieve the
latest data. The query can source data from one or more
data sources
Step 3.4: Why is account X over budget?
Lets see spend by service/product for that account
• Create spend by product for all accounts
• Add a parameterised filter for linked account
• Which service/product significantly increased during April?
Step 3.5: Great to see which service, but which
team and app drove this change?
• Which team significantly increased spend during April?
• Which app significantly increased spend during April?
Step 3.6: Search for optimization opportunity in
resource sizing via EC2 instance utilization
• Join CloudWatch data with billing data in Athena
(showing peak CPU over 14 days by instance and tag)
and visualize in QuickSight
• Create a join view in Athena
• Visualise the view in QuickSight
Step 3.6: Search for optimization opportunity in
resource sizing via EC2 instance utilization - SQL
SELECT
lineitem_resourceid
, month
, lineitem_usageaccountid
, instancetags
, max_cpu
, sum(CAST(unblendedcost_withoutri AS DOUBLE)) AS unblendedcost_withoutri
, sum(CAST(lineitem_unblendedcost AS DOUBLE)) AS lineitem_unblendedcost
FROM "dbname"."cost_usage_report"
INNER JOIN
(SELECT instanceId, instancetags, max(cpuutilization) AS max_cpu FROM "dbname"."cw_data" GROUP BY instanceId,
instancetags) cw
ON lineitem_resourceid = cw.instanceId
GROUP BY
lineitem_resourceid
, month
, lineitem_usageaccountid
, instancetags
, max_cpu
Step 3.7: Establish our first KPI
• What is the cost per revenue change month on month
for the account with a business value metric?
• Use the budget and revenue view created earlier
• Visualise the view in QuickSight
via the KPI visual type
Step 3.7: Establish our first KPI – Example SQL
SELECT
lineitem_resourceid
, month
, lineitem_usageaccountid
, instancetags
, max_cpu
, sum(CAST(unblendedcost_withoutri AS DOUBLE)) AS unblendedcost_withoutri
, sum(CAST(lineitem_unblendedcost AS DOUBLE)) AS lineitem_unblendedcost
FROM "dbname"."cost_usage_report"
INNER JOIN
(SELECT instanceId, instancetags, max(cpuutilization) AS max_cpu FROM "dbname"."cw_data"
GROUP BY instanceId, instancetags) cw
ON lineitem_resourceid = cw.instanceId
GROUP BY
lineitem_resourceid
, month
, lineitem_usageaccountid
, instancetags
, max_cpu
Contents
• Why should I build my own dashboard?
• AWS Data Sources
• Data Pipelines into Athena
• Gaining Speed to Insight in Quicksight
(incl. visualization tips and KPIs)
REAGroup has driven cost governance and good cost
behaviour through Finance working with Engineering
A talk about their story is here:
http://bit.ly/FinOpsAtREA
DevOps drives agility, applying FinOps principles
enhances control whilst maintaining agility
Next step options (if useful)
• Have a chat with your TAM about this
• If you need help we have AWS ProServe who can help,
Let your account manager know and ask to CC Peter
• Try this yourself
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Thank you!
Agenda
• 2:00pm - Setup
• 2:10pm - Kick off, welcome, and intro
• 2:20pm - Jason Gorringe, Australia Post: How to get the most out of your
AWS usage
• 2:50pm - Discussion and Q&A
• 3:00pm - Peter Shi, AWS: Developing a Cost Management Dashboard that
provides high speed to insight
• 4:30pm - Survey, Discussion, Q&A, and networking over drinks and snacks
• 5:30pm - Event Concludes

More Related Content

What's hot

AWS Cloud cost optimization
AWS Cloud cost optimizationAWS Cloud cost optimization
AWS Cloud cost optimization
Yogesh Sharma
 
Cloud Economics: Transform Businesses at Lower Costs - AWS Summit Bahrain 2017
Cloud Economics: Transform Businesses at Lower Costs - AWS Summit Bahrain 2017Cloud Economics: Transform Businesses at Lower Costs - AWS Summit Bahrain 2017
Cloud Economics: Transform Businesses at Lower Costs - AWS Summit Bahrain 2017
Amazon Web Services
 
Partnering with AWS
Partnering with AWSPartnering with AWS
Partnering with AWS
Amazon Web Services
 
Cost optimization - Don't overspend on AWS
Cost optimization - Don't overspend on AWSCost optimization - Don't overspend on AWS
Cost optimization - Don't overspend on AWS
Sandeep Cashyap
 
(ISM402) Cost Optimization at Scale
(ISM402) Cost Optimization at Scale(ISM402) Cost Optimization at Scale
(ISM402) Cost Optimization at Scale
Amazon Web Services
 
Cost Optimization on AWS
Cost Optimization on AWSCost Optimization on AWS
Cost Optimization on AWS
Amazon Web Services
 
Cost Optimisation Solutions on AWS
Cost Optimisation Solutions on AWS Cost Optimisation Solutions on AWS
Cost Optimisation Solutions on AWS
Amazon Web Services
 
Commercial Management and Cost Optimization on AWS - AWS Online Tech Talks
Commercial Management and Cost Optimization on AWS - AWS Online Tech TalksCommercial Management and Cost Optimization on AWS - AWS Online Tech Talks
Commercial Management and Cost Optimization on AWS - AWS Online Tech Talks
Amazon Web Services
 
AWS Cost optimization at scale
AWS Cost optimization at scaleAWS Cost optimization at scale
AWS Cost optimization at scale
Brett Pollak
 
Advanced cost management strategies in AWS
Advanced cost management strategies in AWSAdvanced cost management strategies in AWS
Advanced cost management strategies in AWS
AWS User Group Bengaluru
 
Cloud Economics; How to Quantify the Benefits of Moving to the Cloud - Transf...
Cloud Economics; How to Quantify the Benefits of Moving to the Cloud - Transf...Cloud Economics; How to Quantify the Benefits of Moving to the Cloud - Transf...
Cloud Economics; How to Quantify the Benefits of Moving to the Cloud - Transf...
Amazon Web Services
 
Aws pricing overview
Aws pricing overviewAws pricing overview
Aws pricing overview
saifam
 
AWS webinar what is cloud computing 13 09 11
AWS webinar what is cloud computing 13 09 11AWS webinar what is cloud computing 13 09 11
AWS webinar what is cloud computing 13 09 11
Amazon Web Services
 
Architecture Best Practices: Practical Design Steps to Save Costs - Level 200
Architecture Best Practices: Practical Design Steps to Save Costs - Level 200Architecture Best Practices: Practical Design Steps to Save Costs - Level 200
Architecture Best Practices: Practical Design Steps to Save Costs - Level 200
Amazon Web Services
 
Getting Started with EC2 Spot - November 2016 Webinar Series
Getting Started with EC2 Spot - November 2016 Webinar SeriesGetting Started with EC2 Spot - November 2016 Webinar Series
Getting Started with EC2 Spot - November 2016 Webinar Series
Amazon Web Services
 
Intelligent serverless-streaming-pipeline-using-kinesis-fargate-cfn
Intelligent serverless-streaming-pipeline-using-kinesis-fargate-cfnIntelligent serverless-streaming-pipeline-using-kinesis-fargate-cfn
Intelligent serverless-streaming-pipeline-using-kinesis-fargate-cfn
Yogesh Sharma
 
FinOps - AWS Cost and Operational Efficiency - Pop-up Loft Tel Aviv
FinOps - AWS Cost and Operational Efficiency - Pop-up Loft Tel AvivFinOps - AWS Cost and Operational Efficiency - Pop-up Loft Tel Aviv
FinOps - AWS Cost and Operational Efficiency - Pop-up Loft Tel Aviv
Amazon Web Services
 
Cost Optimization on AWS - Pop-up Loft Tel Aviv
Cost Optimization on AWS - Pop-up Loft Tel AvivCost Optimization on AWS - Pop-up Loft Tel Aviv
Cost Optimization on AWS - Pop-up Loft Tel Aviv
Amazon 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
 
Amazon DynamoDB - Auto Scaling Webinar - v3.pptx
Amazon DynamoDB - Auto Scaling Webinar - v3.pptxAmazon DynamoDB - Auto Scaling Webinar - v3.pptx
Amazon DynamoDB - Auto Scaling Webinar - v3.pptx
Amazon Web Services
 

What's hot (20)

AWS Cloud cost optimization
AWS Cloud cost optimizationAWS Cloud cost optimization
AWS Cloud cost optimization
 
Cloud Economics: Transform Businesses at Lower Costs - AWS Summit Bahrain 2017
Cloud Economics: Transform Businesses at Lower Costs - AWS Summit Bahrain 2017Cloud Economics: Transform Businesses at Lower Costs - AWS Summit Bahrain 2017
Cloud Economics: Transform Businesses at Lower Costs - AWS Summit Bahrain 2017
 
Partnering with AWS
Partnering with AWSPartnering with AWS
Partnering with AWS
 
Cost optimization - Don't overspend on AWS
Cost optimization - Don't overspend on AWSCost optimization - Don't overspend on AWS
Cost optimization - Don't overspend on AWS
 
(ISM402) Cost Optimization at Scale
(ISM402) Cost Optimization at Scale(ISM402) Cost Optimization at Scale
(ISM402) Cost Optimization at Scale
 
Cost Optimization on AWS
Cost Optimization on AWSCost Optimization on AWS
Cost Optimization on AWS
 
Cost Optimisation Solutions on AWS
Cost Optimisation Solutions on AWS Cost Optimisation Solutions on AWS
Cost Optimisation Solutions on AWS
 
Commercial Management and Cost Optimization on AWS - AWS Online Tech Talks
Commercial Management and Cost Optimization on AWS - AWS Online Tech TalksCommercial Management and Cost Optimization on AWS - AWS Online Tech Talks
Commercial Management and Cost Optimization on AWS - AWS Online Tech Talks
 
AWS Cost optimization at scale
AWS Cost optimization at scaleAWS Cost optimization at scale
AWS Cost optimization at scale
 
Advanced cost management strategies in AWS
Advanced cost management strategies in AWSAdvanced cost management strategies in AWS
Advanced cost management strategies in AWS
 
Cloud Economics; How to Quantify the Benefits of Moving to the Cloud - Transf...
Cloud Economics; How to Quantify the Benefits of Moving to the Cloud - Transf...Cloud Economics; How to Quantify the Benefits of Moving to the Cloud - Transf...
Cloud Economics; How to Quantify the Benefits of Moving to the Cloud - Transf...
 
Aws pricing overview
Aws pricing overviewAws pricing overview
Aws pricing overview
 
AWS webinar what is cloud computing 13 09 11
AWS webinar what is cloud computing 13 09 11AWS webinar what is cloud computing 13 09 11
AWS webinar what is cloud computing 13 09 11
 
Architecture Best Practices: Practical Design Steps to Save Costs - Level 200
Architecture Best Practices: Practical Design Steps to Save Costs - Level 200Architecture Best Practices: Practical Design Steps to Save Costs - Level 200
Architecture Best Practices: Practical Design Steps to Save Costs - Level 200
 
Getting Started with EC2 Spot - November 2016 Webinar Series
Getting Started with EC2 Spot - November 2016 Webinar SeriesGetting Started with EC2 Spot - November 2016 Webinar Series
Getting Started with EC2 Spot - November 2016 Webinar Series
 
Intelligent serverless-streaming-pipeline-using-kinesis-fargate-cfn
Intelligent serverless-streaming-pipeline-using-kinesis-fargate-cfnIntelligent serverless-streaming-pipeline-using-kinesis-fargate-cfn
Intelligent serverless-streaming-pipeline-using-kinesis-fargate-cfn
 
FinOps - AWS Cost and Operational Efficiency - Pop-up Loft Tel Aviv
FinOps - AWS Cost and Operational Efficiency - Pop-up Loft Tel AvivFinOps - AWS Cost and Operational Efficiency - Pop-up Loft Tel Aviv
FinOps - AWS Cost and Operational Efficiency - Pop-up Loft Tel Aviv
 
Cost Optimization on AWS - Pop-up Loft Tel Aviv
Cost Optimization on AWS - Pop-up Loft Tel AvivCost Optimization on AWS - Pop-up Loft Tel Aviv
Cost Optimization on AWS - Pop-up Loft Tel Aviv
 
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 DynamoDB - Auto Scaling Webinar - v3.pptx
Amazon DynamoDB - Auto Scaling Webinar - v3.pptxAmazon DynamoDB - Auto Scaling Webinar - v3.pptx
Amazon DynamoDB - Auto Scaling Webinar - v3.pptx
 

Similar to AWS Melbourne Cost Mgt. and Opti. Meetup - 20181109 - v2.2

Aws meetup 20190427
Aws meetup 20190427Aws meetup 20190427
Aws meetup 20190427
Sridevi Murugayen
 
Introduction to Amazon Athena
Introduction to Amazon AthenaIntroduction to Amazon Athena
Introduction to Amazon Athena
Amazon Web Services
 
Getting to 1.5M Ads/sec: How DataXu manages Big Data
Getting to 1.5M Ads/sec: How DataXu manages Big DataGetting to 1.5M Ads/sec: How DataXu manages Big Data
Getting to 1.5M Ads/sec: How DataXu manages Big Data
Qubole
 
Querying and Analyzing Data in Amazon S3
Querying and Analyzing Data in Amazon S3Querying and Analyzing Data in Amazon S3
Querying and Analyzing Data in Amazon S3
Amazon Web Services
 
BDA308 Serverless Analytics with Amazon Athena and Amazon QuickSight, featuri...
BDA308 Serverless Analytics with Amazon Athena and Amazon QuickSight, featuri...BDA308 Serverless Analytics with Amazon Athena and Amazon QuickSight, featuri...
BDA308 Serverless Analytics with Amazon Athena and Amazon QuickSight, featuri...
Amazon Web Services
 
Benefits of Cloud Computing
Benefits of Cloud ComputingBenefits of Cloud Computing
Benefits of Cloud Computing
Amazon Web Services
 
(ISM315) How to Quantify TCO & Increase Business Value Gains Using AWS
(ISM315) How to Quantify TCO & Increase Business Value Gains Using AWS(ISM315) How to Quantify TCO & Increase Business Value Gains Using AWS
(ISM315) How to Quantify TCO & Increase Business Value Gains Using AWS
Amazon Web Services
 
AWS Big Data Solution Days
AWS Big Data Solution DaysAWS Big Data Solution Days
AWS Big Data Solution Days
Amazon Web Services
 
使用 Amazon Athena 直接分析儲存於 S3 的巨量資料
使用 Amazon Athena 直接分析儲存於 S3 的巨量資料使用 Amazon Athena 直接分析儲存於 S3 的巨量資料
使用 Amazon Athena 直接分析儲存於 S3 的巨量資料
Amazon Web Services
 
Cost Optimisation on AWS
Cost Optimisation on AWS Cost Optimisation on AWS
Cost Optimisation on AWS
Amazon Web Services
 
Cost Optimisation
Cost OptimisationCost Optimisation
Cost Optimisation
Amazon Web Services
 
AWS 201 Webinar Series - Rightsizing and Cost Optimizing your Deployment
AWS 201 Webinar Series - Rightsizing and Cost Optimizing your DeploymentAWS 201 Webinar Series - Rightsizing and Cost Optimizing your Deployment
AWS 201 Webinar Series - Rightsizing and Cost Optimizing your Deployment
Amazon Web Services
 
NEW LAUNCH! Intro to Amazon Athena. Analyze data in S3, using SQL
NEW LAUNCH! Intro to Amazon Athena. Analyze data in S3, using SQLNEW LAUNCH! Intro to Amazon Athena. Analyze data in S3, using SQL
NEW LAUNCH! Intro to Amazon Athena. Analyze data in S3, using SQL
Amazon Web Services
 
What's New with Big Data Analytics
What's New with Big Data AnalyticsWhat's New with Big Data Analytics
What's New with Big Data Analytics
Amazon Web Services
 
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
Amazon Web Services
 
Data warehousing in the era of Big Data: Deep Dive into Amazon Redshift
Data warehousing in the era of Big Data: Deep Dive into Amazon RedshiftData warehousing in the era of Big Data: Deep Dive into Amazon Redshift
Data warehousing in the era of Big Data: Deep Dive into Amazon Redshift
Amazon Web Services
 
FSI201 FINRA’s Managed Data Lake – Next Gen Analytics in the Cloud
FSI201 FINRA’s Managed Data Lake – Next Gen Analytics in the CloudFSI201 FINRA’s Managed Data Lake – Next Gen Analytics in the Cloud
FSI201 FINRA’s Managed Data Lake – Next Gen Analytics in the Cloud
Amazon Web Services
 
ENT316 Keeping Pace With The Cloud: Managing and Optimizing as You Scale
ENT316 Keeping Pace With The Cloud: Managing and Optimizing as You ScaleENT316 Keeping Pace With The Cloud: Managing and Optimizing as You Scale
ENT316 Keeping Pace With The Cloud: Managing and Optimizing as You Scale
Amazon Web Services
 
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
Amazon Web Services
 
ENT316 Keeping Pace With The Cloud: Managing and Optimizing as You Scale
ENT316 Keeping Pace With The Cloud: Managing and Optimizing as You ScaleENT316 Keeping Pace With The Cloud: Managing and Optimizing as You Scale
ENT316 Keeping Pace With The Cloud: Managing and Optimizing as You Scale
Amazon Web Services
 

Similar to AWS Melbourne Cost Mgt. and Opti. Meetup - 20181109 - v2.2 (20)

Aws meetup 20190427
Aws meetup 20190427Aws meetup 20190427
Aws meetup 20190427
 
Introduction to Amazon Athena
Introduction to Amazon AthenaIntroduction to Amazon Athena
Introduction to Amazon Athena
 
Getting to 1.5M Ads/sec: How DataXu manages Big Data
Getting to 1.5M Ads/sec: How DataXu manages Big DataGetting to 1.5M Ads/sec: How DataXu manages Big Data
Getting to 1.5M Ads/sec: How DataXu manages Big Data
 
Querying and Analyzing Data in Amazon S3
Querying and Analyzing Data in Amazon S3Querying and Analyzing Data in Amazon S3
Querying and Analyzing Data in Amazon S3
 
BDA308 Serverless Analytics with Amazon Athena and Amazon QuickSight, featuri...
BDA308 Serverless Analytics with Amazon Athena and Amazon QuickSight, featuri...BDA308 Serverless Analytics with Amazon Athena and Amazon QuickSight, featuri...
BDA308 Serverless Analytics with Amazon Athena and Amazon QuickSight, featuri...
 
Benefits of Cloud Computing
Benefits of Cloud ComputingBenefits of Cloud Computing
Benefits of Cloud Computing
 
(ISM315) How to Quantify TCO & Increase Business Value Gains Using AWS
(ISM315) How to Quantify TCO & Increase Business Value Gains Using AWS(ISM315) How to Quantify TCO & Increase Business Value Gains Using AWS
(ISM315) How to Quantify TCO & Increase Business Value Gains Using AWS
 
AWS Big Data Solution Days
AWS Big Data Solution DaysAWS Big Data Solution Days
AWS Big Data Solution Days
 
使用 Amazon Athena 直接分析儲存於 S3 的巨量資料
使用 Amazon Athena 直接分析儲存於 S3 的巨量資料使用 Amazon Athena 直接分析儲存於 S3 的巨量資料
使用 Amazon Athena 直接分析儲存於 S3 的巨量資料
 
Cost Optimisation on AWS
Cost Optimisation on AWS Cost Optimisation on AWS
Cost Optimisation on AWS
 
Cost Optimisation
Cost OptimisationCost Optimisation
Cost Optimisation
 
AWS 201 Webinar Series - Rightsizing and Cost Optimizing your Deployment
AWS 201 Webinar Series - Rightsizing and Cost Optimizing your DeploymentAWS 201 Webinar Series - Rightsizing and Cost Optimizing your Deployment
AWS 201 Webinar Series - Rightsizing and Cost Optimizing your Deployment
 
NEW LAUNCH! Intro to Amazon Athena. Analyze data in S3, using SQL
NEW LAUNCH! Intro to Amazon Athena. Analyze data in S3, using SQLNEW LAUNCH! Intro to Amazon Athena. Analyze data in S3, using SQL
NEW LAUNCH! Intro to Amazon Athena. Analyze data in S3, using SQL
 
What's New with Big Data Analytics
What's New with Big Data AnalyticsWhat's New with Big Data Analytics
What's New with Big Data Analytics
 
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
 
Data warehousing in the era of Big Data: Deep Dive into Amazon Redshift
Data warehousing in the era of Big Data: Deep Dive into Amazon RedshiftData warehousing in the era of Big Data: Deep Dive into Amazon Redshift
Data warehousing in the era of Big Data: Deep Dive into Amazon Redshift
 
FSI201 FINRA’s Managed Data Lake – Next Gen Analytics in the Cloud
FSI201 FINRA’s Managed Data Lake – Next Gen Analytics in the CloudFSI201 FINRA’s Managed Data Lake – Next Gen Analytics in the Cloud
FSI201 FINRA’s Managed Data Lake – Next Gen Analytics in the Cloud
 
ENT316 Keeping Pace With The Cloud: Managing and Optimizing as You Scale
ENT316 Keeping Pace With The Cloud: Managing and Optimizing as You ScaleENT316 Keeping Pace With The Cloud: Managing and Optimizing as You Scale
ENT316 Keeping Pace With The Cloud: Managing and Optimizing as You Scale
 
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
 
ENT316 Keeping Pace With The Cloud: Managing and Optimizing as You Scale
ENT316 Keeping Pace With The Cloud: Managing and Optimizing as You ScaleENT316 Keeping Pace With The Cloud: Managing and Optimizing as You Scale
ENT316 Keeping Pace With The Cloud: Managing and Optimizing as You Scale
 

Recently uploaded

FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
ThomasParaiso2
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Vladimir Iglovikov, Ph.D.
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 

Recently uploaded (20)

FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 

AWS Melbourne Cost Mgt. and Opti. Meetup - 20181109 - v2.2

  • 1. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Cost Management & Optimisation Interest Group Melbourne Usergroup Meetup Nov 2018
  • 2. Agenda • 2:00pm - Setup • 2:10pm - Kick off, welcome, and intro • 2:20pm - Jason Gorringe, Australia Post: How to get the most out of your AWS usage • 2:50pm - Discussion and Q&A • 3:00pm - Peter Shi, AWS: Developing a Cost Management Dashboard that provides high speed to insight • 4:30pm - Discussion, Q&A, and networking over drinks and snacks • 5:30pm - Event Concludes
  • 3. Learning & Accelerating Asking questions Sharing stories Voice to target product asks Contribute & open source Respect NDAs Taking off the sales hat Fully realise the benefits of AWS
  • 4. Why should we care about Cost Optimisation? Example non-prod workload checklist Can this run on CentOS/Linux? $1000 Turn off outside of work hours? Right size down by 1 size? $118 $236 $787 Can this run on EC2 Spot? $30 Starting non-prod workload
  • 5. Agenda • 2:00pm - Setup • 2:10pm - Kick off, welcome, and intro • 2:20pm - Jason Gorringe, Australia Post: How to get the most out of your AWS usage • 2:50pm - Discussion and Q&A • 3:00pm - Peter Shi, AWS: Developing a Cost Management Dashboard that provides high speed to insight • 4:30pm - Discussion, Q&A, and networking over drinks and snacks • 5:30pm - Event Concludes
  • 6. Cloud Cost Optimization HOW TO GET THE MOST OUT OF YOUR AWS USAGE
  • 7. History • About Post • About Me • My Journey with Cloud Services • Cost Optimisation principles • Where to from here?
  • 8. Beginning the journey Communicate • Constant two-way communication between business, IT and the billing team is vital Educate • An understanding of the intricacies of AWS billing Empower • Give control to users of the platform to manage their own costs
  • 9. Cost Allocation ASSIGNING COSTS TO THOSE RESPONSIBLE
  • 10. • Tagging (keys and values) • Policy/standards • Tagging (mapping) • Transition • Data sources • Did we mention tagging?
  • 11. Cost Avoidance BETTER USAGE OF YOUR PRODUCTS
  • 12. • Cost control • Know your products • Usage • Multi vendor
  • 13. Cost Accountability THE TOOLS AND WHO SHOULD USE THEM
  • 14. • Spot instances • Rightsizing • Reserved instances • Billing tools
  • 16. • Showback and Chargeback • Monitoring and reporting • Analysis and trending • Collaboration and communication
  • 17. Where to from here? • Automated tagging • Product/team account based strategy • Review of services consumed • Tagging (integration and central management)
  • 19. Agenda • 2:00pm - Setup • 2:10pm - Kick off, welcome, and intro • 2:20pm - Jason Gorringe, Australia Post: How to get the most out of your AWS usage • 2:50pm - Discussion and Q&A • 3:00pm - Peter Shi, AWS: Developing a Cost Management Dashboard that provides high speed to insight • 4:30pm - Discussion, Q&A, and networking over drinks and snacks • 5:30pm - Event Concludes
  • 20. Agenda • 2:00pm - Setup • 2:10pm - Kick off, welcome, and intro • 2:20pm - Jason Gorringe, Australia Post: How to get the most out of your AWS usage • 2:50pm - Discussion and Q&A • 3:00pm - Peter Shi, AWS: Developing a Cost Management Dashboard that provides high speed to insight • 4:30pm - Discussion, Q&A, and networking over drinks and snacks • 5:30pm - Event Concludes
  • 21. Contents • Why should I build my own dashboard? • AWS Data Sources • Data Pipelines into Athena • Gaining Speed to Insight in Quicksight (incl. visualization tips and KPIs)
  • 22. Contents • Why should I build my own dashboard? • AWS Data Sources • Data Pipelines into Athena • Gaining Speed to Insight in Quicksight (incl. visualization tips and KPIs)
  • 23. Speed, scale, complexity, and value at stake drives the need for visibility and speed to insight
  • 24. Pick the tool that provides the cost visibility and speed to insight that you need Simple, Static, Small environment Complex, Dynamic, Large environment 1. Monthly AWS Invoice 2. AWS Billing console 3. AWS Cost Explorer and AWS Budgets 4. AWS Billing File Analysis, DIY dashboards, and 3rd party tools
  • 25. 100% Agility Engineering bias 100% Control Finance bias Balanced approach Speed to Insight will help you take a balanced approach
  • 26. Contents • Why should I build my own dashboard? • AWS Data Sources • Data Pipelines into Athena • Gaining Speed to Insight in Quicksight (incl. visualization tips and KPIs)
  • 27. AWS Data Sources • AWS Cost and Usage Report (CUR) • Hourly billing data for each service + more info such as RI usage • Can have a very large number of rows and columns • AWS CloudWatch data • Resource Utilization data • DIY budget and revenue data • Flat .csv file of how much you’ve budgeted to spend + revenue generated associated with AWS spend • AWS CloudTrail
  • 28. Step 1.1: Generate the AWS Cost and Usage Report (CUR) for your account @ Payer acct. level • CUR is the data source of Cost Explorer • Enable the CUR (5 minute exercise) • https://docs.aws.amazon.com/ awsaccountbilling/latest/about v2/billing-reports- gettingstarted- turnonreports.html
  • 29. Step 1.2: Create some DIY budget and revenue data • Create CSV file with 4 columns: • Account id • Month • Budget (example business constraint) • Revenue (example business metric) Other examples: • minutes on website • number of devs
  • 30. Step 1.3: Save CloudWatch data across relevant accounts to S3 • Amazon CloudWatch is a monitoring and management service that collects and reports resource metrics • Metrics that indicate effective EC2 use (for many workloads) includes: • CPU % utilisation • Memory % utilisation • Network IO (to internet and to EBS) • For the purposes of today’s exercise we’ll use only CPU %
  • 31. Step 1.3: Save CloudWatch data across relevant accounts to S3 • Open source multi-account example of Cost Optimization: EC2 Right Sizing solution which collects CloudWatch data across multiple accounts https://github.com/saltysoup/cost-optimization-multi
  • 32. Contents • Why should I build my own dashboard? • AWS Data Sources • Data Pipelines into Athena • Gaining Speed to Insight in Quicksight (incl. visualization tips and KPIs)
  • 33. What’s a data pipeline and what’s Athena? • Data pipelines get your data in a format and to a location where you want it to be, typically in an automated way. Also known as ETL (Extract, Transform and Load) • The “Load” portion of this will get our data into Amazon Athena, our serverless interactive query service that can query data directly from S3 (Simple Storage Service). • $5 per TB of data scanned. For the typical $100k p.m. biller analysing billing data via Athena should cost approx. $5 per month. However it’s always smart to set an AWS Budget warning to catch rogue scripts.
  • 34. Step 2.1: Create an automated way to get CUR billing data into Athena • Option 1: Use an open source tool https://bitbucket.org/atlassian/squeegee/wiki/Home • Option 2: To be updated in next version of slides
  • 35. Step 2.2: Get your DIY Budget and Revenue data into Athena • Option 1: Manual via Athena SQL script • Option 2: Automated method 1: S3 Event -> call Lambda -> run Athena SQL https://docs.aws.amazon.com/lambda/latest/dg/with-s3- example.html • Option 3: Automated method 2: AWS Glue
  • 36. Step 2.2: Get your DIY Budget and Revenue data into Athena – Example SQL CREATE EXTERNAL TABLE IF NOT EXISTS dbname.budget_and_rev_data ( `accountid` string, `month_` string, `budget` string, `revenue` string ) ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.OpenCSVSerde' WITH SERDEPROPERTIES ( 'separatorChar' = ',', 'quoteChar' = '"', 'escapeChar' = '' ) LOCATION 's3://bucketname/budgetandrevenue/' TBLPROPERTIES ('has_encrypted_data'='false', "skip.header.line.count"="1")
  • 37. Step 2.3: Get your CloudWatch data into Athena • Option 1: Manual via Athena SQL script • Option 2: Automated method 1: S3 Event -> call Lambda -> run Athena SQL https://docs.aws.amazon.com/lambda/latest/dg/with-s3- example.html • Option 3: Automated method 2: AWS Glue
  • 38. Step 2.3: Get your CloudWatch data into Athena – Example SQL CREATE EXTERNAL TABLE IF NOT EXISTS dbname.cw_data ( `humanReadableTimestamp` string, `timestamp` string, `accountId` string, `az` string, `instanceId` string, `instanceType` string, `instanceTags` string, `ebsBacked` string, `volumeIds` string, `instanceLaunchTime` string, `humanReadableInstanceLaunchTime` string, `CPUUtilization` string, `NetworkIn` string, `NetworkOut` string, `DiskReadOps` string, `DiskWriteOps` string ) ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.OpenCSVSe rde' WITH SERDEPROPERTIES ( 'separatorChar' = ',', 'quoteChar' = '"', 'escapeChar' = '' ) LOCATION 's3://bucketname/cw/' TBLPROPERTIES ('has_encrypted_data'='false', "skip.header.line.count"="1")
  • 39. Contents • Why should I build my own dashboard? • AWS Data Sources • Data Pipelines into Athena • Gaining Speed to Insight in Quicksight (incl. visualization tips and KPIs)
  • 40. What’s QuickSight? • Amazon QuickSight is a fast, cloud-powered BI service that makes it easy to build visualizations, perform ad-hoc analysis, and quickly get business insights from your data. • Accessed from any browser or mobile device. • First BI service to offer pay-per-session pricing so no upfront costs, no annual commitments, and no charges for inactive users!
  • 41. How much does QuickSight cost?
  • 42. A part of Speed to Insight is getting data to where you are familiar with consuming it from (e.g. email). QuickSight can send dashboards to you via email. https://aws.amazon.com/blogs/big-data/amazon-quicksight-now-supports- email-reports-and-data-labels/
  • 43. Step 3.1: Set up a new Athena data source in QuickSight • S3 permissions • Data types • Date format • Decimal format
  • 44. Step 3.1: Set up a new Athena data source in QuickSight – Example SQL for date formatting SELECT substring(cast(from_iso8601_timestamp(bill_billingperiodstartdate) AS varchar), 1, 19) AS billingperiodstartdate, substring(cast(from_iso8601_timestamp(bill_billingperiodenddate) AS varchar), 1, 19) AS billingperiodenddate, substring(cast(from_iso8601_timestamp(lineitem_usagestartdate) AS varchar), 1, 19) AS usagestartdate, substring(cast(from_iso8601_timestamp(lineitem_usageenddate) AS varchar), 1, 19) AS usageenddate, * FROM dbname.cost_usage_report
  • 45. Step 3.1: Set up a new Athena data source in QuickSight – Example Date format syntax for QuickSight yyyy-MM-dd HH:mm:ss
  • 46. Step 3.2: Visualize spend by account and month • This helps us see • Largest spends • Changes in spend • But what do we mean by spend?
  • 47. Step 3.2: Visualize spend by account and month • What do we mean by spend? Cost View CUR Column Description Blended • lineItem/UnblendedCost Cost based on a common rate across all accounts Unblended • lineItem/UnblendedCost Cost based on a common rate across all accounts Amortized • reservation/AmortizedUpfront FeeForBillingPeriod • reservation/UnusedAmortized UpfrontFeeForBillingPeriod Amortised value of upfront RI spend Public On Demand Cost • pricing/ publicOnDemandCost True reflection of usage. Price that would have been paid if run on-demand and if no-free tier
  • 48. Step 3.2: Visualize spend by account and month • What would give better insight? • Spend by account by week • Having account names instead of IDs • Having a granular account structure • Tagging for visibility into apps, teams, cost centers
  • 49.
  • 50. Step 3.3: Now lets visualize: “what is my % spend against budget?” • Create a view in Athena that joins budget and billing data • Visualise the view in QuickSight A “view” in database-world is a saved query that does not store any data but runs that query each time you ask. This allows the query to be designed to always retrieve the latest data. The query can source data from one or more data sources
  • 51.
  • 52. Step 3.4: Why is account X over budget? Lets see spend by service/product for that account • Create spend by product for all accounts • Add a parameterised filter for linked account • Which service/product significantly increased during April?
  • 53.
  • 54. Step 3.5: Great to see which service, but which team and app drove this change? • Which team significantly increased spend during April? • Which app significantly increased spend during April?
  • 55.
  • 56.
  • 57. Step 3.6: Search for optimization opportunity in resource sizing via EC2 instance utilization • Join CloudWatch data with billing data in Athena (showing peak CPU over 14 days by instance and tag) and visualize in QuickSight • Create a join view in Athena • Visualise the view in QuickSight
  • 58. Step 3.6: Search for optimization opportunity in resource sizing via EC2 instance utilization - SQL SELECT lineitem_resourceid , month , lineitem_usageaccountid , instancetags , max_cpu , sum(CAST(unblendedcost_withoutri AS DOUBLE)) AS unblendedcost_withoutri , sum(CAST(lineitem_unblendedcost AS DOUBLE)) AS lineitem_unblendedcost FROM "dbname"."cost_usage_report" INNER JOIN (SELECT instanceId, instancetags, max(cpuutilization) AS max_cpu FROM "dbname"."cw_data" GROUP BY instanceId, instancetags) cw ON lineitem_resourceid = cw.instanceId GROUP BY lineitem_resourceid , month , lineitem_usageaccountid , instancetags , max_cpu
  • 59.
  • 60. Step 3.7: Establish our first KPI • What is the cost per revenue change month on month for the account with a business value metric? • Use the budget and revenue view created earlier • Visualise the view in QuickSight via the KPI visual type
  • 61. Step 3.7: Establish our first KPI – Example SQL SELECT lineitem_resourceid , month , lineitem_usageaccountid , instancetags , max_cpu , sum(CAST(unblendedcost_withoutri AS DOUBLE)) AS unblendedcost_withoutri , sum(CAST(lineitem_unblendedcost AS DOUBLE)) AS lineitem_unblendedcost FROM "dbname"."cost_usage_report" INNER JOIN (SELECT instanceId, instancetags, max(cpuutilization) AS max_cpu FROM "dbname"."cw_data" GROUP BY instanceId, instancetags) cw ON lineitem_resourceid = cw.instanceId GROUP BY lineitem_resourceid , month , lineitem_usageaccountid , instancetags , max_cpu
  • 62.
  • 63. Contents • Why should I build my own dashboard? • AWS Data Sources • Data Pipelines into Athena • Gaining Speed to Insight in Quicksight (incl. visualization tips and KPIs)
  • 64. REAGroup has driven cost governance and good cost behaviour through Finance working with Engineering A talk about their story is here: http://bit.ly/FinOpsAtREA
  • 65. DevOps drives agility, applying FinOps principles enhances control whilst maintaining agility
  • 66. Next step options (if useful) • Have a chat with your TAM about this • If you need help we have AWS ProServe who can help, Let your account manager know and ask to CC Peter • Try this yourself
  • 67. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Thank you!
  • 68. Agenda • 2:00pm - Setup • 2:10pm - Kick off, welcome, and intro • 2:20pm - Jason Gorringe, Australia Post: How to get the most out of your AWS usage • 2:50pm - Discussion and Q&A • 3:00pm - Peter Shi, AWS: Developing a Cost Management Dashboard that provides high speed to insight • 4:30pm - Survey, Discussion, Q&A, and networking over drinks and snacks • 5:30pm - Event Concludes