Whitepaper 'FinOps and cost management for Kubernetes'
Please consider giving OptScale a Star on GitHub, it is 100% open source. It would increase its visibility to others and expedite product development. Thank you!
Ebook 'From FinOps to proven cloud cost management & optimization strategies'
OptScale FinOps
OptScale — FinOps
FinOps overview
Cost optimization:
AWS
MS Azure
Google Cloud
Alibaba Cloud
Kubernetes
MLOps
OptScale — MLOps
ML/AI Profiling
ML/AI Optimization
Big Data Profiling
OPTSCALE PRICING
cloud migration
Acura — Cloud migration
Overview
Database replatforming
Migration to:
AWS
MS Azure
Google Cloud
Alibaba Cloud
VMWare
OpenStack
KVM
Public Cloud
Migration from:
On-premise
disaster recovery
Acura — DR & cloud backup
Overview
Migration to:
AWS
MS Azure
Google Cloud
Alibaba Cloud
VMWare
OpenStack
KVM

How to calculate unit economics for Kubernetes and traditional workloads

Every company at some point in time starts to calculate and analyze unit economics. It can be done to prepare for a new investment round or to monitor and improve the existing metrics. But if it’s not a big deal for private clouds, it may be tricky for public cloud environments like AWS, MS Azure and GCP, or Kubernetes clusters. In this article I’ll try to explain how to calculate the infrastructure aspect of the unit economics for different types of workloads.

How-to-calculate-unit-economics-for-Kubernetes-traditional-workloads

Please keep in mind that the end formula for each company is different and depends on your business, product and what parameters you prefer to use. For example, you may use only the cost of the production environment but some companies can also add the R&D costs (including infrastructure) to the equation.

Unit economics for private clouds

For private clouds like VMware, Nutanix or bare metal, calculating unit economics is a pretty straightforward task, because a private cloud environment is not as variable or elastic as public clouds, we know how big our TCO is and we can calculate the economics. Here in the majority of the cases we take the TCO and divide it by the number of customers adding extra parameters into the equation, if necessary, like the cost of ads, marketing activities, datacenter lease etc.

Unit economics for public clouds

For public clouds it is a much more complex operation as we need to calculate a cloud cost for applications, we need to deal with cloud billing and use third-party cost management or cloud-native tools like AWS Cost Explorer or Azure Advisor. The best way is to assign a specific tag for all the resources in your application and to track costs based on it. Keep in mind that you need to deal not only with their existing resources but also with the destroyed resources in a selected period of time. If you have a multi-cloud or a hybrid cloud environment, then the task becomes more complex as you need to retrieve data from multiple sources and reiterate the calculations.

Unit economics for Kubernetes environment

For Kubernetes environments, calculating unit economics is extremely difficult because you can’t map your cloud cost on pods, namespaces, services, and applications in your Kubernetes cluster. You know how much you pay for nodes, you can calculate the cost of the whole cluster using the recommendations above depending on if your cluster runs in a private or a public cloud. But then, you need to figure out how to distribute the cluster expenses between pods, services, and applications. Also, tracking a pod’s creation and destruction is a very complex, as it requires getting historical data and calculating its cost properly. You need to use libraries like Prometheus and Cost Analyzer to get historical data and monitor information, calculate idle resources, and divide the cost of Kubernetes nodes across pods at every moment. You need labels for all their applications, namespaces, and services in your Kubernetes cluster so you can properly group the resources and expenses.

Our product, OptScale, can help with it, as it gives full visibility, optimizes IT costs and engages your engineers in cloud cost-saving, plus provides all the necessary Kubernetes or cloud environment cost details required to get accurate unit economics for Kubernetes and traditional workloads.

To put theory into practice, you can have a free trial, no credit card needed → https://my.optscale.com/register

Enter your email to be notified about new and relevant content.

Thank you for joining us!

We hope you'll find it usefull

You can unsubscribe from these communications at any time. Privacy Policy

News & Reports

FinOps and MLOps

A full description of OptScale as a FinOps and MLOps open source platform to optimize cloud workload performance and infrastructure cost. Cloud cost optimization, VM rightsizing, PaaS instrumentation, S3 duplicate finder, RI/SP usage, anomaly detection, + AI developer tools for optimal cloud utilization.

FinOps, cloud cost optimization and security

Discover our best practices: 

  • How to release Elastic IPs on Amazon EC2
  • Detect incorrectly stopped MS Azure VMs
  • Reduce your AWS bill by eliminating orphaned and unused disk snapshots
  • And much more deep insights

Optimize RI/SP usage for ML/AI teams with OptScale

Find out how to:

  • see RI/SP coverage
  • get recommendations for optimal RI/SP usage
  • enhance RI/SP utilization by ML/AI teams with OptScale