검색

Chapter 2. How to set up cost management

download PDF

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

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

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

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

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

Red Hat 소개

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

© 2024 Red Hat, Inc.