Skip to content

Commit

Permalink
Add Cloud Infrastructure Cost KPI definitions into the handbook (matt…
Browse files Browse the repository at this point in the history
…ermost#779)

* Add Cloud Infrastructure Cost KPI definitions into the handbook

* Update SUMMARY.md

* Update cloud-infrastructure-cost-kpis.md

* Add space after a "+" sign

* Update operations/research-and-development/engineering/cloud-infrastructure-cost-kpis.md

Co-authored-by: Justine Geffen <[email protected]>

* Update operations/research-and-development/engineering/cloud-infrastructure-cost-kpis.md

Co-authored-by: Justine Geffen <[email protected]>

* Update operations/research-and-development/engineering/cloud-infrastructure-cost-kpis.md

Co-authored-by: Justine Geffen <[email protected]>

* Update operations/research-and-development/engineering/cloud-infrastructure-cost-kpis.md

Co-authored-by: Justine Geffen <[email protected]>

* Update operations/research-and-development/engineering/cloud-infrastructure-cost-kpis.md

Co-authored-by: Justine Geffen <[email protected]>

* Update operations/research-and-development/engineering/cloud-infrastructure-cost-kpis.md

Co-authored-by: Justine Geffen <[email protected]>

* Update operations/research-and-development/engineering/cloud-infrastructure-cost-kpis.md

Co-authored-by: Justine Geffen <[email protected]>

* Update operations/research-and-development/engineering/cloud-infrastructure-cost-kpis.md

Co-authored-by: Justine Geffen <[email protected]>

* Update operations/research-and-development/engineering/cloud-infrastructure-cost-kpis.md

Co-authored-by: Justine Geffen <[email protected]>

* Update operations/research-and-development/engineering/cloud-infrastructure-cost-kpis.md

Co-authored-by: Justine Geffen <[email protected]>

* Update operations/research-and-development/engineering/cloud-infrastructure-cost-kpis.md

Co-authored-by: Justine Geffen <[email protected]>

* Update cloud-infrastructure-cost-kpis.md

* Update cloud-infrastructure-cost-kpis.md

Updated the explanation for consistency and clarity to "within a given month". Fixed some formatting (spaces)

Co-authored-by: Justine Geffen <[email protected]>
  • Loading branch information
jasonblais and justinegeffen authored Jul 12, 2021
1 parent a8df4b7 commit 7fc1224
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 0 deletions.
1 change: 1 addition & 0 deletions SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
* [Developer Relations](operations/messaging-and-math/developer-relations.md)
* [Product Team Hangouts](operations/research-and-development/product/product-team-hangouts.md)
* [Engineering](operations/research-and-development/engineering/README.md)
* [Cloud Infrastructure Cost KPIs](operations/research-and-development/engineering/cloud-infrastructure-cost-kpis.md)
* [Integrations Team Processes](operations/research-and-development/engineering/integrations.md)
* [Plugin Release Process](operations/research-and-development/engineering/plugin-release-process.md)
* [Data Engineering](operations/research-and-development/engineering/data-engineering.md)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# Cloud Infrastructure Cost KPIs

The Cloud SRE team uses certain KPIs to monitor cloud infrastructure costs from the engineering standpoint. These KPIs are used to help the business and the Cloud SRE team to set goals for cost optimization.

As of July 2021, the goals for the SRE team are to:

- Decrease the Average Cost Per Workspace (APWC).
- Keep development and test environments costs (DM) below 20% of total costs.
- Increase the WB fraction (ratio of paid workspaces relative to total workspaces).

Below are the primary and secondary KPIs used to measure each.

## Primary KPIs

### Average Production Workspace Cost

- **Description**: The fraction which compares the amount of Production Environment costs with the number of workspaces which are active in a given month of the Cloud Infrastructure service. Production Environment will be defined as the environment where we host all our customers, including paid and free workspaces.
- **Formula**: APWC = Production Environment Costs/Number of Workspaces

### Average Production Freemium Cost

- **Description**: An approximation of what free workspaces cost us. The fraction compares the amount of Production Environment costs with the number of active free workspaces.
- **Formula**: APFC = Production Environment Costs/Freemium Active Workspaces
**Note:** Until February 2021 we measured all workspaces as active. Hibernation functionality was introduced in the last three days of February 2021.

### Average Subscription Workspace Cost

- **Description**: The fraction which compares the amount of Production Environment costs with the number of workspaces that have 11 or more users within a given month of the Cloud Infrastructure service. A paid workspace is defined as successful receipt of payment for the time period (e.g. payment for the previous month completed, when measuring ASWC for the previous month).
- **Formula**: ASWC = Production Environment Costs/Paid Workspaces

### Development Metric

- **Description**: The fraction which compares the amount we spend on environments related to our features testing with the total Cloud infrastructure costs.
- **Formula**: DM = (Test Environment Costs + Dev Environment Costs)/Total AWS Cloud Costs

### Customers Platform Balance Metric

- **Description**: The fraction which compares the variable costs we have because we run the Cloud product with the costs that are directly correlated with customers' usage (both paid and freemium).
- **Formula**: CPBM = Customer Specific Costs/Variable Platform Costs

## Secondary KPIs

### Workspaces Balance Metric

- **Description**: The fraction which compares the paid workspaces with the total number of workspaces within a given month of the Cloud Infrastructure service.
- **Formula**: WB = Paid Workspaces/Total Workspaces

### Secondary Average Production Workspace Cost

- **Description**: The fraction which compares the amount of Production Environment and Core Environment costs with the number of workspaces within a given month of the Cloud Infrastructure service.
- **Formula**: SAPWC = (Production Environment Costs + Core Environment Costs)/Workspaces

### Secondary Average Subscription Workspace Cost

- **Description**: The fraction which compares the amount of Production Environment and Core Environment costs with the number of workspaces that have 11 or more users within a given month of the Cloud Infrastructure service.
- **Formula**: SASWC = (Production Environment Costs + Core Environment Costs)/Paid Workspaces

### Active Average Production Workspace Cost

- **Description**: The fraction which compares the amount of Production Environment costs with the number of active workspaces within a given month of the Cloud Infrastructure service.
- **Formula**: AAPWC = Production Environment Costs/Active Workspaces

### Secondary Active Average Subscription Workspace Cost

- **Description**: The fraction which compares the amount of Production Environment and Core Environment costs with the number of active workspaces within a given month of the Cloud Infrastructure service.
- **Formula**: SAASWC = (Production Environment Costs + Core Environment Costs)/Active Workspaces

### Average Total Production Freemium Cost

- **Description**: Roughly how much free workspaces cost us. The fraction which compares the amount of Production Environment costs with the number of all free workspaces (active and inactive).
- **Formula**: ATPFC = Production Environment Costs/Freemium Workspaces (Active and Inactive)

**Note:** Until February 2021 we measured all workspaces as active. Hibernation functionality was introduced in the last three days of February 2021.

0 comments on commit 7fc1224

Please sign in to comment.