58
@cloudability

AWS Cost Allocation best practices: How high-growth businesses succeed

Embed Size (px)

Citation preview

Page 1: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability

Page 2: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability

AWS Cost Allocation Best Practices: How High-Growth Businesses Succeed

February 23rd , 2017

Page 3: AWS Cost Allocation best practices: How high-growth businesses succeed

๏ @cloudability

Introduction

Today’s Topics

Cass Hodges Technical Account Manager

TODAY’S SPEAKER

1. A Story of Growth

2. Allocation Fundamentals

3. Using Tags & Linked Accts

4. Developing your plan

5. Q&A

Page 4: AWS Cost Allocation best practices: How high-growth businesses succeed

$5B+in tracked AWS costs

Page 5: AWS Cost Allocation best practices: How high-growth businesses succeed

With usage increasing, efficiency is key

Development Growth

$

Scale

Page 6: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability

Using Tags And Linked Accounts

Here’s a little story all about how…

High-growth brings up all kinds of cost management and scaling challenges. Here’s a story from one of our own customers.

๏ International company analyzing data in different languages ๏ AWS power user experiencing intense growth over the years ๏ Growing pains around cloud cost management (trouble saving at scale) ๏ Cloud cost management wasn’t a priority, various billing data sources lumped into

massive spreadsheets

Page 7: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability

Using Tags And Linked Accounts

Growing out of the spreadsheet-only method

Sorting AWS tagging leads to immediate reporting benefits, but also long-term cost efficiency for our customer.

๏ From “spreadsheet hell” into key cloud cost management reports to get quicker insights

๏ Solving this requires strategic and thorough tagging of resources ๏ Also requires adhering to tagging policies and automation for long-term benefits

Page 8: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability

Using Tags And Linked Accounts

Putting strategic tagging and linked accounts to workHigh-growth brings up all kinds of cost management and scaling challenges. Here’s a story from one of our own customers.

๏ Retagged all AWS resources by departments, projects and teams ๏ Lowered chargeback time by running existing processes through Cloudability reports ๏ Fostered a culture of cloud cost management to teach the company to save on AWS

for the long-term as business grows ๏ Extended visibility into cloud cost management with views for specific non-technical

roles

Page 9: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability

Question: What percentage of your AWS infrastructure is tagged?

Page 10: AWS Cost Allocation best practices: How high-growth businesses succeed

๏ @cloudability10

Cost Allocation Fundamentals

Page 11: AWS Cost Allocation best practices: How high-growth businesses succeed

๏ @cloudability

Finding waste

You have lots of people that need to see your AWS costs split out lots of different ways

๏ By application ๏ By team ๏ By environment ๏ Across all of your accounts

The problem you’re solving

Page 12: AWS Cost Allocation best practices: How high-growth businesses succeed

๏ @cloudability

AWS Cost Allocation At Your Company

12

The Pieces

Page 13: AWS Cost Allocation best practices: How high-growth businesses succeed

๏ @cloudability

AWS Cost Allocation At Your Company

13

The Pieces

๏Multiple major business units

Page 14: AWS Cost Allocation best practices: How high-growth businesses succeed

๏ @cloudability

AWS Cost Allocation At Your Company

14

The Pieces

๏Multiple major business units

๏Dozens of products and cost centers

Page 15: AWS Cost Allocation best practices: How high-growth businesses succeed

๏ @cloudability

AWS Cost Allocation At Your Company

15

The Pieces

๏Multiple major business units

๏Dozens of products and cost centers

๏Dedicated and shared AWS resources

Page 16: AWS Cost Allocation best practices: How high-growth businesses succeed

๏ @cloudability

AWS Cost Allocation At Your Company

16

The Pieces

๏Multiple major business units

๏Dozens of products and cost centers

๏Dedicated and shared AWS resources

๏Distributed teams using AWS

Page 17: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability

“Different people in your company need to see those AWS resources

in different ways.”

Page 18: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability

AWS Cost Allocation At Your Company

The Players

Finance needs:๏ Intra-month cost accruals for PO’s

๏Monthly breakdowns of cost by product, shared resource and environment

๏Chargeback costs throughout the organization

Page 19: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability

AWS Cost Allocation At Your Company

The Players

Operations needs:๏ Breakdown of team/project AWS spending

against budget

๏Alerts when teams/projects could be more efficient

๏ Reserved Instance recommendations to lower hourly AWS costs across teams/projects

Page 20: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability

AWS Cost Allocation At Your Company

The Players

Engineering/Product needs:๏Daily breakdown of changing costs by project

or revision

๏ Their own spending broken down by resources to find inefficiency

๏Automated cost allocation reports for other departments throughout the company

Page 21: AWS Cost Allocation best practices: How high-growth businesses succeed

๏ @cloudability21

Using Tags & Linked Accounts

Page 22: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability

Using Tags And Linked Accounts

Tags

๏ Tags are key-value pairs (ex. color = blue)

๏ You can apply up to 10 tags per resource

๏ Tags can be anything you want or need

Page 23: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability

Using Tags And Linked Accounts

Tagging: the fine print

๏ Tagging is not retroactive

๏ Tags represent a slice in time

๏ Tagging is case sensitive

๏ Enforce tagging with technology, not just policy

Page 24: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability

Using Tags And Linked Accounts

Linked Accounts

Use linked accounts to split up things that really matter

Page 25: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability

Using Tags And Linked Accounts

Tags Vs. Linked Accounts

๏ Tags are highly flexible but 100% coverage is difficult due to compliance

๏ Linked accounts offer clean chargeback but limit reporting options

๏ Solution: Use Both with linked account splitting out most important divisions

Page 26: AWS Cost Allocation best practices: How high-growth businesses succeed

๏ @cloudability26

Laying the groundwork

Page 27: AWS Cost Allocation best practices: How high-growth businesses succeed

๏ @cloudability

First, get everyone involved

Page 28: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability

Using Tags And Linked Accounts

Where to start?

๏ Focus on 3-5 required dimensions

๏ Develop a consistent nomenclature  

๏ Aim to answer questions

Page 29: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability

Using Tags And Linked Accounts

Answer questions

๏ What business unit of the organization should this be charged to?

๏ Which cost centers are driving my costs up or down?

๏ How much does it cost to operate the product I’m responsible for?

๏ Are there unused resources in my dev/test environments?

Page 30: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability

Using Tags And Linked Accounts

Focus on Dimension

๏ Which business unit of the organization should this be charged to?

๏ Which cost centers are driving my costs up or down?

๏ How much does it cost to operate the product I’m responsible for?

๏ Are there unused resources my dev/test environments?

Page 31: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability

Using Tags And Linked Accounts

Maintaining consistency

Tag KeyEnvEnviornmentenviromentEnvironemntEnvironmentEnvironment EnvironmentTypeEnvironmntEnvrionment

Tag programmatically to ensure consistency

Page 32: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability

Using Tags And Linked Accounts

Maintaining consistency

Be sure to map together duplicate keys

Page 33: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability

Using Tags And Linked Accounts

Maintaining consistency

Tag everything you can

Page 34: AWS Cost Allocation best practices: How high-growth businesses succeed

Cost Allocation

Where to start taggingBy tagging these three, you get a lot more than you might expect:

1. Tag Instances = Compute + Data Transfer 2. Tag EBS Volumes = Volume Storage + Data

Transfer + PIOPS 3. Tag S3 Buckets = Bucket Storage + Data

Transfer

Page 35: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability

Using Tags And Linked Accounts

Use the Name tag for everything

Use the same Name tag value across multiple resources to roll-up costs into a single line-item

๏ Tag RDS DB instances, snapshots, replicas, etc. ๏ With resource ID, naming is still important, as it describes what you are looking at.

Pro-tip: Concatenate Name Tag = Service-Role-Node

Page 36: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability

Question: How many of you have a tagging strategy in place?

Page 37: AWS Cost Allocation best practices: How high-growth businesses succeed

๏ @cloudability37

Cost Allocation Reporting

Page 38: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability

Reporting & Automation

It’s all about dimensions

keys

Page 39: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability

Reporting & Automation

It’s all about dimensions

key

value

Page 40: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability

Reporting & Automation

Lets go back to our questions

๏ What business unit of the organization should this be charged to?

๏ Which cost centers are driving my costs up or down?

๏ How much does it cost to operate the product I’m responsible for?

๏ Are there unused resources in my dev/test environments?

Page 41: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability

Reporting & Automation

What business unit should this be charged to?

Page 42: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability

Reporting & Automation

Which cost centers are driving my costs up or down?

Page 43: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability

Reporting & Automation

Which cost centers are driving my costs up or down?

Page 44: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability

Reporting & Automation

How much does it cost to operate the product I’m responsible for?

Page 45: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability

Reporting & Automation

How much does it cost to operate the product I’m responsible for?

Page 46: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability

Reporting & Automation

Are there unused resources in my dev/test environments?

Page 47: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability

Reporting & Automation

Are there unused resources in our dev/test environments?

Page 48: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability

Reporting & Automation

The cost of untagged resources

Page 49: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability

Reporting & Automation

Yeah, but what is actually untagged

Page 50: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability

Reporting & Automation

Finding Untagged resources with new Dimensions

๏ Resource ID adds a valuable level of granularity, and allows you to tag by expense of assets.

Page 51: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability

Reporting & Automation

Identify costs of specific storage engine costs

Page 52: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability

Reporting & Automation

Individual untagged EBS Volumes

Page 53: AWS Cost Allocation best practices: How high-growth businesses succeed

๏ @cloudability

Reporting & Automation

53

Create user-specific dashboards to keep allocated data top-of-mind

Taking it further

Page 54: AWS Cost Allocation best practices: How high-growth businesses succeed

๏ @cloudability

Reporting & Automation

54

Taking it further

Share reports with other users in Finance, Ops, and Engineering

Page 55: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability

AWS Cost Allocation

Takeaways๏ Use consistent nomenclature that answers specific questions

๏ Tag everything you can, and use linked accounts liberally

๏ Enforce tagging via technology like Cloudformation, Puppet, or Chef

๏ Use the Name tag for everything you can

๏ Use resource analytics to discover untagged resources.

๏ Share the reports with more than just finance

Page 56: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability

Last Question: How many of you are going to reevaluate how you

tag your AWS resources?

Page 57: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability

Thank you!Try Cloudability free

Learn more

Questions

cloudability.com

blog.cloudability.com

[email protected]

Page 58: AWS Cost Allocation best practices: How high-growth businesses succeed

@cloudability