Understand EKS costs
Amazon Elastic Kubernetes Service (Amazon EKS) is a managed service to run Kubernetes on AWS. DoiT provides an EKS cost monitoring solution that uses the OpenTelemetry Collector to collect metrics generated by kube-state-metrics (KSM) of EKS clusters running on Amazon EC2 nodes.
The metrics are further integrated with AWS billing data, allowing you to break down EKS cost by Kubernetes resources such as pods, nodes, namespaces and other dimensions supported in the DoiT platform.
Before you begin
-
The DoiT EKS cost monitoring solution is not available if you're on a DoiT consolidated billing account (payer account ID
561602220360
,017920819041
, and279843869311
). -
The OpenTelemetry agent relies on the AWS-generated cost allocation tag
eks:cluster-name
to identify EKS EC2 instances. Make sure the tag has been activated and your clusters are tagged correctly in the AWS billing data. See Activating AWS-generated tags cost allocation tags. -
You need to deploy the agent for each cluster following the instructions about Connecting EKS clusters. The components will be deployed in the
doit-eks-metrics
namespace. -
We recommend not using existing OpenTelemetry Collector or kube-state-metrics on your clusters for the DoiT EKS cost monitoring solution. DoiT is not responsible for any configuration issues if you choose to add the DoiT configurations to your existing components.