creating a culture of cost management

52
© 2014 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified, or distributed in whole or in part without the express consent of Amazon.com, Inc. Creating a Culture of Cost Management in Your Organization J.R. Storment, Chief Customer Officer @ Cloudability [email protected]

Upload: cloudability

Post on 07-Jul-2015

754 views

Category:

Technology


0 download

DESCRIPTION

As your organization increases its AWS usage, budget owners and users demand new levels of cost visibility. In this webinar we explored how you can use the new Cloudability enterprise toolset for controlling and optimizing AWS spending across multiple teams. Topics include: - An introduction to the new Cloudability enterprise toolset, including report scheduling, custom dashboarding, and more - Maintaining cost oversight while giving autonomy to individual teams - Allocating costs across dozens or hundreds of accounts or applications - Creating accountability around spending

TRANSCRIPT

Page 1: Creating a culture of cost management

© 2014 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified, or distributed in whole or in part without the express consent of Amazon.com, Inc.

Creating a Culture of Cost Management in Your Organization

J.R. Storment, Chief Customer Officer @ Cloudability [email protected]

Page 2: Creating a culture of cost management

0

45

90

135

180

225

Dev

/Tes

t

POC

App

#1

App

#3

App

#2

Exec team starts really caring

Load

test

A story of growth!

Page 3: Creating a culture of cost management

Why does this need to be cultural?!

Page 4: Creating a culture of cost management

The cloud is no longer one person’s responsibility…!

Engineers Finance Operations Capacity Execs

Page 5: Creating a culture of cost management

How do you build the culture?!•  Put data in the hands of the people!•  Enact policies and evangelize best practices!•  Incentivize good behavior!

Page 6: Creating a culture of cost management

Rolling out a cost management program!•  Stage I: Cost visibility for all (emails, alerts, dashboards)

•  Stage II: Allocating costs to departments (tags, linked accounts)

•  Stage III: Efficiently using only what you need (underutilized, rightsizing)

•  Stage IV: Saving by lowering hourly costs (Reserved and Spot Instances)

•  Stage V: Tying spending to the bottom line (unit cost)

Page 7: Creating a culture of cost management

Visibility

Allocation Efficiency

Savings

Unit Cost

Page 8: Creating a culture of cost management

I. Cost visibility!Visibility

Allocation Efficiency

Savings

Unit cost

Page 9: Creating a culture of cost management

Two types of people

Incur costs Watch costs

Page 10: Creating a culture of cost management

Two types of people

Incur costs Watch costs

Page 11: Creating a culture of cost management

Two types of people

Incur costs Watch costs

Page 12: Creating a culture of cost management

Two types of people

Incur costs Watch costs

Page 13: Creating a culture of cost management

Tips for cost visibility •  Get each stakeholder the spending fundamentals daily •  Let each teams see other teams’ spending habits •  Create broadly available dashboards

Page 14: Creating a culture of cost management
Page 15: Creating a culture of cost management

Case study: Enterprise with 100s of apps!

"Our goal is to put control of AWS resources in each product team’s hands.  We want to get out of the way but at the same

time we still need oversight to stop overspending.”"

-  Split the detailed billing reports into 750 different views broken down by BUs/applications/environments/etc.!

-  Daily spending updates !800 users get daily emails with just their spending!

-  Oversight for reporting and control!Execs/finance see the total spending in a simple weekly digest!

Page 16: Creating a culture of cost management

II. Allocation!

Allocation Efficiency

Savings

Unit cost

Visibility

Page 17: Creating a culture of cost management

First, get everyone involved

๏  Multiple major business units

๏  Lots of products or cost centers

๏  Thousands of shared AWS resources

๏  Distributed teams using AWS

Page 18: Creating a culture of cost management

Tools for splitting up resources!

•  Tags are highly flexible, but 100% coverage is difficult due to compliance•  Linked accounts offer clean chargeback but limit reporting options

Page 19: Creating a culture of cost management
Page 20: Creating a culture of cost management

Pro-tips: Allocating costs!•  Get consensus on the taxonomy (but let Finance drive)!•  Define 2–3 mandatory tags like “project” or

“environment”!•  Consider a “tag or terminate” rule to enforce

compliance!

Page 21: Creating a culture of cost management

-  Split the accounts based on product and environment!

-  SAP data as source of truth for grouping metadata: ! Cost center, product group, business unit, etc!

-  Chargeback aligned to finance’s view of the business, ! not just the operational linked account structure!

Case study: The enterprise with 500 linked accounts, ! no oversight, hundreds of influencers!

Page 22: Creating a culture of cost management

III. Efficiency!

Allocation Efficiency

Savings

Unit cost

Visibility

Page 23: Creating a culture of cost management

168 hours in a week

Page 24: Creating a culture of cost management

nights & weekends

108

Page 25: Creating a culture of cost management

Don’t run the cloud like a data center: !65% of the hours in a month !

are nights and weekends!

Page 26: Creating a culture of cost management

Three easy wins for Amazon EC2 efficiency…!

Page 27: Creating a culture of cost management

Low CPU, low bandwidth, low disk I/O, >1 day old | This example: Save $1,682 per week

Turn off underutilized instances!

Page 28: Creating a culture of cost management

Schedule dev/test downtime!

Page 29: Creating a culture of cost management

Find M1s that could be upgraded!1.  Newer instance families are faster & cheaper

but have smaller SSDs

2.  Look for instances that have Amazon Elastic Block Store (EBS) devices attached and low ephemeral disk access

3.  Move M1 to M3 to save $0.03-$0.10 an hour

Source: http://aws.amazon.com/ec2/pricing/

Page 30: Creating a culture of cost management

Get alerts when thresholds are crossed!

Page 31: Creating a culture of cost management

Tips for encouraging efficient behavior!•  Automate weekly waste reporting to each team!•  Gamify clean-up by creating a visible leaderboard!•  Do a monthly whole-company waste review!

For more check out: “MegaRun: Behind the 156,000 Core HPC Run”

Page 32: Creating a culture of cost management

Case study: High traffic site with decentralized ops!

avg hourly node cost ($) x

avg node uptime (%) x

sq rt inverse of CPU util (%) x

avg node running life (hrs) x

avg daily unique nodes^1.3

Lots of developers using dev/test instances and forgetting to turn them off!

Used Cloudability API data to normalize dev/test environment “health”!

Developed an algorithm to determine health/sickness of any dev/test environment!

Midge’s law!

Page 33: Creating a culture of cost management

IV. Savings!

Allocation Efficiency

Savings

Unit cost

Visibility

Page 34: Creating a culture of cost management

Spot vs. Reserved Instances?!Reservations require no engineering, !

enabling finance to autonomously reduce costs!

Page 35: Creating a culture of cost management

Don’t fear the reservation!

•  Prices drop, but not fast enough to erode savings!•  With usage over 50% three-year RIs always won!Source: http://blog.cloudability.com/cloud-cost-war-shouldnt-stop-buying-reserved-instances/

Page 36: Creating a culture of cost management

Buy based on current hourly data!

Don’t wait to buy reservations until you’ve completed the perfect analysis — you’ll waste more money than you save!

Page 37: Creating a culture of cost management

New Reserved Instance Model (as of 12/2/14)!

- Dropped Lights and Mediums!- All Reservations now function as Heavy RIs!- Multiple ways to pay for them now (all, partial, no upfront)!- “Partial upfront” is the same as legacy Heavy RIs!- Math and economics essentially the same!

For more, check out:!blog.cloudability.com!

Page 38: Creating a culture of cost management

Tips for reservation efficiency!• Appoint a person to own reservation purchases—! often a tech-minded finance person!

• Start with an immediate small and uncontroversial buy!

• Buy iteratively on a schedule that you hold sacred!

Page 39: Creating a culture of cost management

Case study: Buying for 12,500+ daily instances!

25th of the month:!Central team drives decisions with minimal input from teams!

26th of the month:!Modifications made each month ahead of purchase!

28th of the month:!Purchase based on the current month’s utilization data!

Page 40: Creating a culture of cost management

V. Unit cost!

Efficiency

Savings

Unit cost

Visibility

Allocation

Page 41: Creating a culture of cost management

Why does unit cost matter?

0

45

90

135

180

225

Dev

/Tes

t

POC

App

#1

App

#3

App

#2

Exec team starts really caring

Hic

cup

Page 42: Creating a culture of cost management

An increasing bill isn’t necessarily a bad thing

0

45

90

135

180

225

0

45

90

135

180

225

The bill still goes up!

Exec team starts really caring

Stag

e III

Efficiency

Stag

e IV

RIs

Page 43: Creating a culture of cost management

@cloudability

Unit cost is cost per X

Page 44: Creating a culture of cost management

@cloudability

cost per subscriber cost per pageview cost per customer cost per api call

Page 45: Creating a culture of cost management

0

30

60

90

120

150

Focus on reducing unit cost, even as total cost grows

Unit cost Total cost

Page 46: Creating a culture of cost management

@cloudability

Unit cost = total cost / business metric

Page 47: Creating a culture of cost management

@cloudability

$1000 / 1000 customers = $1 unit cost

Page 48: Creating a culture of cost management

Case study: Scaled web business pushing unit cost !

•  Product owners track unit cost daily tying spending to revenue!•  Operations examines infrastructure changes in terms of unit cost impact!•  Finance reports monthly & quarterly on margin impacts based on unit cost!•  VPs set goals on unit cost and worry less about setting arbitrary total cost

goals!

Shortcut: Track your AWS bill as a percentage of revenue!

Page 49: Creating a culture of cost management

Getting started on your culture!

Page 50: Creating a culture of cost management

Things to do right after re:Invent!I.  Visibility: Give stakeholders a daily view into spending!

II. Allocation: Put together a taxonomy with your finance team and start splitting linked accounts and tagging!

III. Efficiency: Look at underutilized instances (low CPU + BW + disk) and M1 to M3 candidates (disk access + attached storage)!

IV. Hourly savings: Make an immediate small and uncontroversial RI buy!

V. Unit cost: Determine your top-line business metric, divide costs by them!

Page 51: Creating a culture of cost management

Start a cost management group !to share best practices within your company !

and encourage accountability !

Page 52: Creating a culture of cost management

Start a free14-day trial! at cloudability.com!