Cost Analytics

Definition and Scope

SCOPE_SCALR SCOPE_ACC SCOPE_ENV

Cost Analytics allows you to track, categorize, and report on your cloud costs across the multiple clouds that are used by your organization. The ability to see Cost Analytics data exists at the Scalr, Account, and Environment scopes. At each scope you will only see the cost related to that scope, for example, at the Scalr you will see all of the cost the has rolled up across all Accounts and Environments. If you are logged into a specific Environment, you will only see cost for those resources managed within that Environment.

Note

You will only see cost for those cloud resources that are managed in Scalr.

There are two organizational concepts with Cost Analytics:

  • Cost Centers - Cost Centers are high-level resource allocation centers. In your organization, Cost Centers might map to business units. A Cost Center is a parent of a Project. Every Account created in Scalr can have one or more Cost Centers and every Environment can have only one Cost Center associated with it.
  • Projects - Projects are low-level resource allocation centers. In your organization, Projects might map to the individual projects or billing codes that are launched by your various business units. A Project is a child of a Cost Center. Every Farm that is launched in Scalr requires a Project assignment.

Cost Centers

Cost Centers are created through the Scalr scope:

../_images/new_cc1.png ../_images/new_cc2.png

Once a Cost Center is created, it then needs to be assigned to an Account:

../_images/new_cc_account.png

Projects

Projects may exist in the Scalr Scope, or in the scope of an individual Account. Global Projects are available in any Account (provided the Account has access to the Project’s parent Cost Center)

To create a project, go to the Scalr or Account scope, click on Cost Analytics and then Projects:

../_images/new_project1.png ../_images/new_project2.png

After Projects have been created, you can then associate them with Farms. When you associate a Project with a Farm, the costs generated by this Farm will be rolled up to the Project. They’ll also be rolled up to the Project’s parent Cost Center.

Budgets

Budgets may exist in the Scalr Scope, or in the scope of an individual Account. Budgets can be defined for the Cost Center and/or the Projects.

../_images/new_budget.png

Reports can be configured to notify users that are about to exceed their budget (or to alert other users). See the next section on Reports to configure the notifications.

Reports

There are a few types of Reports that can be created within Cost Analytics:

Periodic Reports

  • At the Scalr scope you can create the following types of reports:
    • Total Summary - A report that summarizes the cost for all Cost Centers.
    • Cost Center - A report that summarizes the spend/budget for a specific Cost Center.
    • Project - A report that summarizes the spend/budget for a specific project.
../_images/new_report.png
  • At the Account scope you can create the following report:
    • Projects - A report that summarizes the spend/budget for a specific project.

Cost Center and Budget Alerts

  • At the Scalr scope you can create alerts for:
    • Cost Centers - A threshold can be set and if the budget is within the threshold an alert will be sent.
    • Projects - A threshold can be set and if the budget is within the threshold an alert will be sent.
../_images/new_alert.png
  • At the Account scope you can create the following type of alert:
    • Projects - A threshold can be set and if the budget is within the threshold an alert will be sent.

Markups

Within Cost Analytics, there is an option to create Markups. Markups are a pre-defined cost that are applied to instances based on a set of conditions. The Markup cost may be configured as either a flat rate per hour, or as a percentage of the base cost per hour. Markups will be applied at all scopes below the scope where they are defined.

../_images/create_markup.png

Markup costs may then be viewed within the Cost Analytics page for a given Environment. Individual line items will be shown for each Markup under the “Other” section.