Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

Chapter 2. How to set up cost management


To get started with cost management, complete the following four steps, plus any applicable substeps:

Cost management can analyze cost data from on-premise instances of OpenShift or cloud-based instances of OpenShift. If your organization has an on-premise instance of OpenShift, complete the following additional steps:

Cost management also supports AWS, Google Cloud, Oracle Cloud, and Microsoft Azure. To set up cost management for OpenShift that is running on a cloud provider, complete the following additional steps:

Finally, finish getting set up for both on-premise and cloud with the following steps:

2.1. Sign up

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.

You can access cost management in the Hybrid Cloud Console. To get started, click OpenShift Cost Management.

After you sign up, configure a user with Cloud Administrator access that can add cloud or OpenShift integrations to your cost management. For more information, see Configuring cloud integrations for Red Hat services.

2.2. Connect and view your cost data

To begin analyzing your cost data, you need to enter information about your costs.

The steps you will take depend on if your organization set up an on-premise cluster with OpenShift, or integrated with a cloud provider.

2.2.1. Option 1: On-premise

To get started with an on-premise cluster, complete the following steps:

2.2.1.1. Install the Metrics Operator

Red Hat® OpenShift® Operators automate the creation, configuration, and management of instances of Kubernetes-native applications. Your OpenShift cluster should already be set up, but you additionally need to set up the Metrics Operator.

To install the Metrics Operator, follow the instructions in Installing a cost operator.

2.2.1.2. Setting up OpenShift tags

Tags, also called labels, are strings of custom metadata that you assign to resources. You can use tags to differentiate and allocate costs between various parts of your environment.

To learn about the different use cases for tags and how to set them up, see Managing cost data using tagging.

2.2.1.3. Create a Red Hat OpenShift cost model

Finally, you must add a cost model to accurately analyze your costs.

A cost model is a framework that uses raw costs and metrics to define calculations for your costs. You can record, categorize, and distribute the costs that the cost model generates to specific customers, business units, or projects.

To learn how to set up a cost model, see Using cost models.

2.2.2. Option 2: Cloud

Cost management supports AWS, Google Cloud, Oracle Cloud, and Microsoft Azure. Unlike an on-premise cluster, you need to set up an integration to connect to your cloud provider.

To integrate cost management with your cloud provider, complete the following steps:

2.2.2.1. Install the Metrics Operator

Red Hat® OpenShift® Operators automate the creation, configuration, and management of instances of Kubernetes-native applications. Your OpenShift cluster should already be set up, but you additionally need to set up the Metrics Operator.

To install the Metrics Operator, follow the instructions in Installing a cost operator.

2.2.2.2. Add an integration for your cloud provider

To enable cost management to monitor your costs with a cloud provider such as AWS, Google, Oracle, or Azure, you need to set up an integration. An integration is a provider account that cost management connects to and monitors.

The process to set up an integration for each provider varies. To learn how to add your specific integration to cost management, see the following guides:

2.2.2.3. Setting up OpenShift tags

Tags, also called labels, are strings of custom metadata that you assign to resources. You can use tags to differentiate and allocate costs between various parts of your environment.

To learn about the different use cases for tags and how to set them up, see Managing cost data using tagging.

2.2.2.4. Create a cloud cost model

Finally, depending on your cloud provider, you need to add either an AWS, Google, or Azure cost model to accurately analyze your costs.

A cost model is a framework that uses raw costs and metrics to define calculations for your costs. You can record, categorize, and distribute the costs that the cost model generates to specific customers, business units, or projects.

To learn how to set up a cloud cost model, see Using cost models.

2.3. Control your permissions

You might want to limit access to your data to only specific users or organizations. To learn how to control permissions, see Limiting access to cost management resources.

2.4. Analyze your results

Now that your cost data is generated, you can analyze your results and make changes in your business. To learn more about cost analysis, go to Visualizing your costs using Cost Explorer.

=

Red Hat logoGithubRedditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

© 2024 Red Hat, Inc.