EKS Lens
EKS Lens helps you identify and track Amazon Elastic Kubernetes Service (Amazon EKS) cost and usage for clusters running on Amazon EC2 nodes.
Required permission
To access EKS Lens, your DoiT account needs the Cloud Analytics permission.
Before you begin
-
For EKS Lens to work properly, your EKS clusters should already be connected to the DoiT Platform. See Understand EKS costs.
-
EKS Lens is not available if you're on a DoiT consolidated billing account (payer account ID
561602220360
,017920819041
, and279843869311
).
EKS Lens dashboard
The EKS Lens dashboard consists of multiple preset report widgets that highlight various aspects of your Amazon EKS spend. It is automatically created when EKS clusters are detected in your AWS accounts. Make sure to connect your clusters to the DoiT Platform in order to see all the EKS metrics.
To access the EKS Lens dashboard, select Dashboard from the top navigation bar, and then select EKS Lens under Preset dashboards.
-
Widgets on the dashboard are updated independently of each other. See Refresh report data for more information.
-
For each report, you can Open full report to check the report configuration or customize the preset report to create your own one.
-
Selecting See your list of clusters will open the EKS clusters page, where you can check the status of your EKS clusters.
EKS Nodes Cost by Cluster
Report configuration:
- Metric: Cost
- Time Range: Last 30 days (include current day)
- Time Interval: Day
- Filters:
- Provider equals
Amazon Web Services
- Service equals
Amazon Elastic Compute Cloud (EC2)
- Provider equals
- Group by: EKS cluster name
- Advanced options:
- Advanced Analysis: Forecast
EKS Control Plane Cost
Report configuration:
- Metric: Cost
- Time Range: Last 6 months (include current month)
- Time Interval: Month
- Filters:
- Service equals
Amazon Elastic Container Service for Kubernetes (EKS)
- Service equals
- Group by: EKS cluster name, Region
EKS Interactive Cost Explorer
The EKS Interactive Cost Explorer is a treemap that allows you to drill down from clusters to namespaces and apps.
Report configuration:
- Metric: Cost
- Time Range: Last 7 days (include current day)
- Time Interval: Day
- Filters:
- EKS cluster name not equals
[Label N/A]
- EKS namespace not equals
[Label N/A]
- EKS cluster name not equals
- Group by: EKS cluster name, EKS namespace, EKS label_k8s_app
EKS Unallocated Resources by Cluster
Report configuration:
- Metric: Cost
- Time Range: Last 7 days (include current day)
- Time Interval: Day
- Filters:
- EKS cluster name not equals
[Label N/A]
- EKS pod_owner_name equals
UNREQUESTED_COSTS
- EKS cluster name not equals
- Group by: EKS cluster name, EKS pod_owner_name
EKS Cost by Top 15 Namespaces
Report configuration:
- Metric: Cost
- Time Range: Last 7 days (include current day)
- Time Interval: Day
- Filters:
- EKS namespace not equals
[Label N/A]
- EKS pod_owner_name equals
UNREQUESTED_COSTS
- EKS namespace not equals
- Group by: EKS namespace
- Limit results: Limit to top 15 by cost
EKS Cost by Top 20 Clusters
Shows the top 20 EKS clusters by cost in the last 7 days.
Report configuration:
- Metric: Cost
- Time Range: Last 7 days (include current day)
- Time Interval: Day
- Filters:
- EKS cluster name not equals
[Label N/A]
- EKS cluster name not equals
- Group by: EKS cluster name
- Limit results: Limit to top 20 by cost
EKS Clusters Utilization
Shows the utilization of resources across EKS clusters.
Report configuration:
- Metric: EKS Capacity Utilization
- Time Range: Last 7 days (include current day)
- Time Interval: Day
- Filters:
- Attribution is
EKS Allocated Resources
orEKS Unallocated Resources
- EKS cluster name not equals
[Label N/A]
- Attribution is
- Group by: EKS cluster name
FAQ
How much does EKS Lens cost?
An S3 bucket is created in your AWS account for each EKS cluster that is connected to the DoiT Platform. The S3 bucket keeps EKS metrics data for seven days and then removes the data, which means you'll see the cost and usage related to this 7-day retention period. There is no other cost related with the EKS Lens.
What's the difference between EKS Lens, Kubecost, and OpenCost?
See What's the difference between EKS Lens, Kubecost, and OpenCost?