50
@cloudability

AWS Cost Allocation Using Tags And Linked Accounts

Embed Size (px)

Citation preview

@cloudability

@cloudability

AWS Cost Allocation Using Tags & Linked Accounts

๏ @cloudability

Introduction

Today’s Topics

Aaron Kaffen Director of Marketing

TODAY’S SPEAKER

1. Allocation Fundamentals

2. Using Tags & Linked Accts

3. Cost Allocation Reporting

4. Q&A

@cloudability

Infrastructure analytics for scaled web businesses and enterprises.

Cloud Infrastructure AnalyticsAbout Us

$1.5B+ in tracked cloud costs. 14,000+ Users

@cloudability

Our SolutionsHow It Works

1 2 3

4 5

Spend Monitoring Spending visibility via custom dashboards, budget alerts, and daily email digests.

Cost Allocation Segment your cloud costs with detailed reports by tag, service, usage type, etc..

Usage Optimization Spot under-utilized resources w/ instance level usage metrics.

RI Portfolio Optimization Get recommendations to buy, modify and sell the right RIs. Then see their impact on your spending.

Company-Wide Governance Organizational group views/filtering/rollups, multi-user access.

๏ @cloudability

Stage I: Cost visibility for all (emails, alerts, dashboards)

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

Stage III: Using only what you need (underutilized, unneeded)

Stage IV: Lowering Cost Per Hour (i.e. Reserved Instances)

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

The Five Stages of Cloud EfficiencyCloudability

๏ @cloudability

Stage I: Cost visibility for all (emails, alerts, dashboards)

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

Stage III: Using only what you need (underutilized, unneeded)

Stage IV: Lowering Cost Per Hour (new families, Reserved Instances)

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

The Five Stages of Cloud EfficiencyCloudability

๏ @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

What’s your primary driver for Cost Allocation?

๏ @cloudability10

Cost Allocation Fundamentals

๏ @cloudability

AWS Cost Allocation At Your Company

11

The Pieces

๏ @cloudability

AWS Cost Allocation At Your Company

12

The Pieces

๏Multiple major business units

๏ @cloudability

AWS Cost Allocation At Your Company

13

The Pieces

๏Multiple major business units

๏Dozens of products and cost centers

๏ @cloudability

AWS Cost Allocation At Your Company

14

The Pieces

๏Multiple major business units

๏Dozens of products and cost centers

๏Dedicated and shared AWS resources

๏ @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

๏Distributed teams using AWS

@cloudability

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

in different ways.”

@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

@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

@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

๏ @cloudability20

Using Tags & Linked Accounts

@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

@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

@cloudability

Using Tags And Linked Accounts

Linked Accounts

Use linked accounts to split up things that really matter

@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

๏ @cloudability25

Laying the groundwork

๏ @cloudability

First, get everyone involved

@cloudability

Using Tags And Linked Accounts

Where to start?

๏ Focus on 3-5 required dimensions

๏ Develop a consistent nomenclature  

๏ Aim to answer questions

@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?

@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?

@cloudability

Using Tags And Linked Accounts

Maintaining consistency

Tag KeyEnvEnviornmentenviromentEnvironemntEnvironmentEnvironment EnvironmentTypeEnvironmntEnvrionment

Tag programmatically to ensure consistency

@cloudability

Using Tags And Linked Accounts

Maintaining consistency

Be sure to map together duplicate keys

@cloudability

Using Tags And Linked Accounts

Maintaining consistency

Tag everything you can

@cloudability

Using Tags And Linked Accounts

Maintaining consistency

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

๏ Tag S3 buckets with Name to track storage and bandwidth

๏ Apply the same Name tag to EBS that you’ve applied to its EC2 instance to get total compute cost

๏ Tag RDS DB instances, snapshots, replicas, etc.

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

๏ @cloudability34

Cost Allocation Reporting

@cloudability

Reporting & Automation

It’s all about dimensions

keys

@cloudability

Reporting & Automation

It’s all about dimensions

key

value

@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?

@cloudability

Reporting & Automation

What business unit should this be charged to?

@cloudability

Reporting & Automation

What business unit should this be charged to?

@cloudability

Reporting & Automation

Which cost centers are driving my costs up or down?

@cloudability

Reporting & Automation

Which cost centers are driving my costs up or down?

@cloudability

Reporting & Automation

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

@cloudability

Reporting & Automation

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

@cloudability

Reporting & Automation

Are there unused resources in my dev/test environments?

@cloudability

Reporting & Automation

Are there unused resources in our dev/test environments?

๏ @cloudability

Reporting & Automation

46

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

Taking it further

๏ @cloudability

Reporting & Automation

47

Taking it further

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

@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

๏ Share the reports with more than just finance

@cloudability

Thank you!Try Cloudability free

Learn more

Questions

cloudability.com

blog.cloudability.com

[email protected]

@cloudability