검색

이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Visualizing your costs using cost explorer

download PDF
Cost Management Service 1-latest

Use Cost Explorer to visualize and understand your costs

Red Hat Customer Content Services

Abstract

Learn how to manage your costs using the interactive Cost Explorer. Cost management is part of the Red Hat Insights portfolio of services. The Red Hat Insights suite of advanced analytical tools helps you to identify and prioritize impacts on your operations, security, and business.

Chapter 1. Using Cost Explorer

The cost management Cost Explorer enables you to see your costs through time. With Cost Explorer, you can filter through your expenditure to find answers to your questions, view more details, and look for trends in data.

1.1. Understanding Cost Explorer

The cost management Cost Explorer enables you to see your costs through time. With Cost Explorer, you can filter through your expenditure to find answers to your questions, view more details, and look for trends in data.

With Cost Explorer you can:

  • Identify abnormal events.
  • Understand how your cost data changes over time.
  • Create custom bar charts of your cost and usage data.
  • Export custom cost data files.

Figure 1.1. The Cost Explorer Interface

Cost explorer in cost management with an all openshift graph

A single bar in the Cost Explorer chart represents one day of cost and usage data corresponding to the filtered options. The five most significant metrics are individually displayed and all other metrics placed into the Others category. See Section 1.2, “Filtering cost data with Cost Explorer” for more information about filtering your cost and usage data.

1.1.1. Cost of unallocated resources in an OpenShift cluster

Unallocated costs are visible when viewing OpenShift cost data grouped by project. Rows named Platform unallocated and Worker unallocated are available when viewing OpenShift cost data by project.

Platform unallocated costs
The costs for parts of primary and infrastructure nodes that are not allocated to run workloads. In this case, those workloads are the OpenShift platform or control plane.
Worker unallocated costs
The costs that represent any unused part of your worker node’s usage and request capacity.
Network unattributed costs
Costs associated with ingress and egress network traffic for individual nodes.

1.1.2. Unattributed Storage project for OpenShift on Cloud

Note

Azure and AWS are the only cloud service providers that create an Unattributed Storage project, but in the future, more providers might.

Unattributed Storage is a type of project that gets created when cost management is unable to correlate a portion of the cloud cost to an OpenShift namespace.

There are two scenarios where Unattributed Storage can happen:

  1. Volumes without a claim

    • A persistent volume (PV) exists, but there are no persistent volume claims (PVCs) that use the volume. Without a claim, the cloud cost cannot be associated with a node or namespace.
  2. Unutilized disk space

    • In some situations, cost management creates its own project because it cannot determine which project should be charged with the money from the cloud integration.

Consider the following example:

  • You have a disk that has 30 GiBs.
  • Project A creates a persistent volume that has a capacity of 20 GiBs.
  • The cloud integration charges $60 for that disk.

Cost management uses the following equation to calculate how much to charge Project A based on disk capacity. In this example, the cost is $40:

(PV’s Capacity) / Disk Capacity * Cost of Disk

20/30 * 60 = $40

The cloud integration still bills you for the $60 dollars, but {product-title} can only attribute $20 to Project A based off how much they requested. The remaining $40 is assigned to the *Unattributed Storage* project. {product-title-up} calculates the remaining portion of that disk with the following equation. In this example, the cost is $20:

((Disk Capacity - Sum(PV capacity) / Disk Capacity) * Cost of Disk

(30 - 20) / 30 * 60 = $20

1.2. Filtering cost data with Cost Explorer

To customize the cost data that appears, select items by using the filter options in the Cost Explorer. To change how your cloud and OpenShift costs display, select items in the Perspective menu. To display those costs at different levels of your OpenShift instance, select items in the Project menu. To see how costs are distributed based on CPU or memory metrics in project cost breakdowns, select Overhead cost.

Prerequisites

Procedure

  1. To view cumulative costs from OpenShift or a cloud provider, go to the Cost Explorer and select an item from the Perspective menu. For example, to view your cumulative OpenShift Container Platform costs, select All OpenShift Cost.
  2. To further refine your costs at different levels in your OpenShift instance, select a grouping. Depending on your cloud provider you can group by Projects, Nodes, Clusters, or Tags.
  3. To search for a particular node, cluster or tag, you can filter by searching for one or more Projects, Nodes, Clusters, or Tags.
  4. To refine the time period in your search, click Month to date to select a different time period from the menu. For example, select Last 90 days to view the cost data from the last 90 days.

Next Steps

After filtering your data, you can export it into a CSV file. See Section 1.3, “Exporting cost data” for more information.

1.2.1. Tracking the cost of ROSA

You can track expenses associated with Red Hat OpenShift Service on AWS (ROSA) with Cost Explorer. To find costs associated with ROSA, filter the costs in Cost Explorer and view them grouped by services.

On Cost Explorer or AWS details page, view ROSA costs on the Amazon Web Service Filtered by OpenShift view by grouping by service and looking for virtual machine licenses.

Procedure

  1. In cost management, go to the Cost Explorer page.
  2. On the Cost Explorer page, in the Perspective menu, select Amazon Web Services filtered by OpenShift.
  3. In the Group by field, select Service.
  4. In the results, find the Red Hat OpenShift Service on AWS.

Next Steps

After you filter your data, you can export it into a CSV file. See Section 1.3, “Exporting cost data” for more information.

1.2.2. Tracking the cost of ARO in OpenShift

You can track expenses associated with Microsoft Azure Red Hat OpenShift (ARO) when you calculate the cost of OpenShift for Microsoft Azure. To find costs associated with ARO, filter the costs in Cost Explorer and view them grouped by services.

The overall service cost includes all virtual machine license fees on the underlying nodes. For example, if the node is also running Red Hat Enterprise Linux, the specific cost of running ARO is included.

Procedure

  1. In cost management, go to the Cost Explorer page.
  2. On the Cost Explorer page, in the Perspective menu, select Microsoft Azure filtered by OpenShift.
  3. In the Group by field, select Service.
  4. In the results, search for the virtual machine licences. The service cost includes all of the virtual machine licences fees on each node.

Next Steps

After you filter your data, you can export it into a CSV file. See Section 1.3, “Exporting cost data” for more information.

1.3. Exporting cost data

Use the Cost Explorer to export customized CSV files of cost data to your local workstation. These files contain more details about your cost data that you can apply in your desired reporting tool.

Prerequisites

Procedure

  1. Navigate to the Cost Explorer application.
  2. Use the Cost Explorer filter options to create the desired information.
  3. Select items to be exported in the list populated below the Cost Explorer graph.
  4. Click the Export Export button.
  5. Click Generate and Download.

    The CSV file will download to your local system.

Providing feedback on Red Hat documentation

We appreciate and prioritize your feedback regarding our documentation. Provide as much detail as possible, so that your request can be quickly addressed.

Prerequisites

  • You are logged in to the Red Hat Customer Portal.

Procedure

To provide feedback, perform the following steps:

  1. Click the following link: Create Issue.
  2. Describe the issue or enhancement in the Summary text box.
  3. Provide details about the issue or requested enhancement in the Description text box.
  4. Type your name in the Reporter text box.
  5. Click the Create button.

This action creates a documentation ticket and routes it to the appropriate documentation team. Thank you for taking the time to provide feedback.

Legal Notice

Copyright © 2024 Red Hat, Inc.
The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at http://creativecommons.org/licenses/by-sa/3.0/. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, the Red Hat logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.
Linux® is the registered trademark of Linus Torvalds in the United States and other countries.
Java® is a registered trademark of Oracle and/or its affiliates.
XFS® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.
MySQL® is a registered trademark of MySQL AB in the United States, the European Union and other countries.
Node.js® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the official Joyent Node.js open source or commercial project.
The OpenStack® Word Mark and OpenStack logo are either registered trademarks/service marks or trademarks/service marks of the OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation's permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community.
All other trademarks are the property of their respective owners.
Red Hat logoGithubRedditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

© 2024 Red Hat, Inc.