Top Banner
@cloudability
50
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: AWS Cost Allocation Using Tags And Linked Accounts

@cloudability

Page 2: AWS Cost Allocation Using Tags And Linked Accounts

@cloudability

AWS Cost Allocation Using Tags & Linked Accounts

Page 3: AWS Cost Allocation Using Tags And 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

Page 4: AWS Cost Allocation Using Tags And Linked Accounts

@cloudability

Infrastructure analytics for scaled web businesses and enterprises.

Cloud Infrastructure AnalyticsAbout Us

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

Page 5: AWS Cost Allocation Using Tags And Linked Accounts

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

Page 6: AWS Cost Allocation Using Tags And Linked Accounts

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

Page 7: AWS Cost Allocation Using Tags And Linked Accounts

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

Page 8: AWS Cost Allocation Using Tags And Linked Accounts

๏ @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 9: AWS Cost Allocation Using Tags And Linked Accounts

What’s your primary driver for Cost Allocation?

Page 10: AWS Cost Allocation Using Tags And Linked Accounts

๏ @cloudability10

Cost Allocation Fundamentals

Page 11: AWS Cost Allocation Using Tags And Linked Accounts

๏ @cloudability

AWS Cost Allocation At Your Company

11

The Pieces

Page 12: AWS Cost Allocation Using Tags And Linked Accounts

๏ @cloudability

AWS Cost Allocation At Your Company

12

The Pieces

๏Multiple major business units

Page 13: AWS Cost Allocation Using Tags And Linked Accounts

๏ @cloudability

AWS Cost Allocation At Your Company

13

The Pieces

๏Multiple major business units

๏Dozens of products and cost centers

Page 14: AWS Cost Allocation Using Tags And Linked Accounts

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

Page 15: AWS Cost Allocation Using Tags And Linked Accounts

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

Page 16: AWS Cost Allocation Using Tags And Linked Accounts

@cloudability

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

in different ways.”

Page 17: AWS Cost Allocation Using Tags And Linked Accounts

@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 18: AWS Cost Allocation Using Tags And Linked Accounts

@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 19: AWS Cost Allocation Using Tags And Linked Accounts

@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 20: AWS Cost Allocation Using Tags And Linked Accounts

๏ @cloudability20

Using Tags & Linked Accounts

Page 21: AWS Cost Allocation Using Tags And 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

Page 22: AWS Cost Allocation Using Tags And Linked Accounts

@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 23: AWS Cost Allocation Using Tags And Linked Accounts

@cloudability

Using Tags And Linked Accounts

Linked Accounts

Use linked accounts to split up things that really matter

Page 24: AWS Cost Allocation Using Tags And Linked Accounts

@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 25: AWS Cost Allocation Using Tags And Linked Accounts

๏ @cloudability25

Laying the groundwork

Page 26: AWS Cost Allocation Using Tags And Linked Accounts

๏ @cloudability

First, get everyone involved

Page 27: AWS Cost Allocation Using Tags And Linked Accounts

@cloudability

Using Tags And Linked Accounts

Where to start?

๏ Focus on 3-5 required dimensions

๏ Develop a consistent nomenclature  

๏ Aim to answer questions

Page 28: AWS Cost Allocation Using Tags And Linked Accounts

@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 29: AWS Cost Allocation Using Tags And Linked Accounts

@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 30: AWS Cost Allocation Using Tags And Linked Accounts

@cloudability

Using Tags And Linked Accounts

Maintaining consistency

Tag KeyEnvEnviornmentenviromentEnvironemntEnvironmentEnvironment EnvironmentTypeEnvironmntEnvrionment

Tag programmatically to ensure consistency

Page 31: AWS Cost Allocation Using Tags And Linked Accounts

@cloudability

Using Tags And Linked Accounts

Maintaining consistency

Be sure to map together duplicate keys

Page 32: AWS Cost Allocation Using Tags And Linked Accounts

@cloudability

Using Tags And Linked Accounts

Maintaining consistency

Tag everything you can

Page 33: AWS Cost Allocation Using Tags And Linked Accounts

@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

Page 34: AWS Cost Allocation Using Tags And Linked Accounts

๏ @cloudability34

Cost Allocation Reporting

Page 35: AWS Cost Allocation Using Tags And Linked Accounts

@cloudability

Reporting & Automation

It’s all about dimensions

keys

Page 36: AWS Cost Allocation Using Tags And Linked Accounts

@cloudability

Reporting & Automation

It’s all about dimensions

key

value

Page 37: AWS Cost Allocation Using Tags And Linked Accounts

@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 38: AWS Cost Allocation Using Tags And Linked Accounts

@cloudability

Reporting & Automation

What business unit should this be charged to?

Page 39: AWS Cost Allocation Using Tags And Linked Accounts

@cloudability

Reporting & Automation

What business unit should this be charged to?

Page 40: AWS Cost Allocation Using Tags And Linked Accounts

@cloudability

Reporting & Automation

Which cost centers are driving my costs up or down?

Page 41: AWS Cost Allocation Using Tags And Linked Accounts

@cloudability

Reporting & Automation

Which cost centers are driving my costs up or down?

Page 42: AWS Cost Allocation Using Tags And Linked Accounts

@cloudability

Reporting & Automation

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

Page 43: AWS Cost Allocation Using Tags And Linked Accounts

@cloudability

Reporting & Automation

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

Page 44: AWS Cost Allocation Using Tags And Linked Accounts

@cloudability

Reporting & Automation

Are there unused resources in my dev/test environments?

Page 45: AWS Cost Allocation Using Tags And Linked Accounts

@cloudability

Reporting & Automation

Are there unused resources in our dev/test environments?

Page 46: AWS Cost Allocation Using Tags And Linked Accounts

๏ @cloudability

Reporting & Automation

46

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

Taking it further

Page 47: AWS Cost Allocation Using Tags And Linked Accounts

๏ @cloudability

Reporting & Automation

47

Taking it further

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

Page 48: AWS Cost Allocation Using Tags And Linked Accounts

@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

Page 49: AWS Cost Allocation Using Tags And Linked Accounts

@cloudability

Thank you!Try Cloudability free

Learn more

Questions

cloudability.com

blog.cloudability.com

[email protected]

Page 50: AWS Cost Allocation Using Tags And Linked Accounts

@cloudability