





























Learn how to use Kubecost’s AWS optimized deployment bundle for EKS cluster cost visibility.
According to a Cloud Native Computing Foundation (CNCF) survey in 2022, 89% of end users are either using or evaluating Kubernetes. With this in mind, teams are increasingly looking for ways to track Kubernetes spending accurately, allocate cloud costs, and charge back organization units (teams, departments, etc).
In August 2022, Kubecost and Amazon Web Services (AWS) announced a collaboration to deliver a cost monitoring solution to Amazon Elastic Kubernetes Services (Amazon EKS) customers. This collaboration unlocks granular cost visibility, allowing EKS customers to effectively monitor EKS costs and uncover insights to optimize their Kubernetes infrastructure. This article will dive into common challenges in cost monitoring, the benefits of this collaboration, and how to get started.
As organizations increasingly adopt EKS for its scalability and efficiency, they often encounter difficulties in achieving precise cost tracking and allocation. These challenges can lead to inaccurate budgeting, inefficient resource utilization, and a lack of transparency in EKS cost monitoring.
These are challenges that Kubecost can help customers solve, so they can get back to innovating and delivering business value.
EKS cost monitoring presents unique challenges, stemming from the dynamic and complex nature of Kubernetes-based cloud environments. However, the collaboration between Kubecost and AWS offers a solution. By combining Kubecost’s specialized Kubernetes cost monitoring capabilities with AWS’s robust cloud infrastructure, this partnership aims to address these challenges head-on, providing EKS users with enhanced tools and insights for more accurate and detailed cost analysis.
You can install Kubecost with a single Helm command, then container images and helm chart are pulled from the verified Amazon ECR public gallery into the Amazon EKS cluster. Kubecost is ready in minutes, so customers can start accessing data to unearth insights for EKS cost optimization.
Designed with a user-centric approach, the Kubecost UI consists of several key dashboards, each offering comprehensive cost visualization and analysis. These dashboards are not just about displaying data; they are interactive platforms that enable users to delve deep into their cost structures, understand spending patterns, and identify areas of inefficiency.
A core strength of the Kubecost UI is its ability to provide real-time visibility into costs across various dimensions such as namespaces, clusters, and pods. This level of detail is crucial for users seeking to allocate costs accurately and optimize resource usage effectively. Further, the UI goes beyond mere cost tracking by offering a suite of savings and governance tools. These tools empower users to uncover cost-saving opportunities, enforce budgetary controls, and implement cost-effective strategies.
Below is an overview diagram of the Kubecost UI:
Once installed, customers can access the main overview page, which contains several helpful panels for observing workload stats and trends:
At a high level, Kubecost is installed in the Amazon EKS cluster and includes these core components.
/metrics endpoint. Prometheus also works as a time-series database storing all metrics for Kubecost to query.Below is a diagram of Kubecost’s architecture:
When Kubecost is installed on the Amazon EKS cluster, Kubecost’s (cost-analyzer) pod starts ingesting AWS public pricing data via API calls, queries metrics from Prometheus, and performs initial cost allocation calculations. Then, that data is exposed via the /metrics endpoint to allow Prometheus to scrape and store them. Next, the frontend displays the data to Kubecost’s UI. Finally, Customers can expose Kubecost’s UI for their team to start using Kubecost.
Optionally, customers can configure AWS CUR integration. This configuration enables Kubecost to have accurate pricing information from the customer’s AWS accounts, such as Enterprise Discount Programs (EDR), Reserved Instance usage (RI), Saving Plans, Spot instances, and more. Customers can learn more about configuring AWS CUR integration at this documentation.
To start leveraging the benefits of the Kubecost and Amazon EKS collaboration, the first step is to implement Kubecost in your EKS environment. The process is straightforward and designed for ease of integration. Once installed, you can generate the Kubecost dashboard endpoint and access the cost monitoring dashboard via your web browser. This dashboard will provide a comprehensive view of your EKS cluster costs, broken down by Kubernetes resources, and enable you to track and manage spending effectively. Teams often start with looking at Kubernetes cost trends for their teams, or searching for quick cost savings.
By following these steps, you can quickly set up Kubecost and start benefiting from the enhanced visibility and cloud cost management capabilities offered by this collaboration.
To learn more about the installation process and this collaboration, customers can refer to these additional resources:
The collaboration between Kubecost and AWS marks a significant advancement in cost monitoring for EKS users. By leveraging the optimized deployment bundle from Kubecost, customers gain unprecedented visibility into their EKS cluster costs, benefiting from an easy-to-install solution that’s both effective and free for single-cluster use. This collaboration not only simplifies the process of tracking and allocating Kubernetes spending, but also ensures that organizations can better manage their resources, aligning their operational expenditures with business objectives. With the support of both AWS and Kubecost teams, users are equipped to navigate the complexities of Kubernetes cloud cost management, making it easier to innovate and deliver value. Get started today by installing Kubecost, and start optimizing your EKS infrastructure.
Kubecost offers real-time visibility and monitoring of Kubernetes costs, playing a crucial role in efficient cloud cost management. Kubecost can run on any Kubernetes environment, including Azure Kubernetes Service (AKS), Google Kubernetes Engine (GKE), Amazon Elastic Kubernetes Service (EKS), and on-prem. With capabilities like multi-cluster visibility and custom reporting, we are tailored to meet the diverse needs of complex enterprises, making us an effective tool for effective Kubernetes cost management and optimization. To learn more, reach out via email (team-kubecost@ibm.com), Slack, or visit our website.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。