KOP Cost Profiles - Installation Profiles - Rafay Product Documentation

Cost Profiles

Overview

Cost Profiles ensure accuracy of cost metrics by taking the organization's custom pricing and cluster type into consideration. Cost Profile is attached to clusters via Blueprints.


Custom Cost Profiles

The Profiles page shows the list of Custom (AWS, Azure, and Other) and Default profiles. Default system profiles are available for AWS and Azure. Organizations can customize certain profile parameters to ensure accuracy of cost metrics (e.g. for specific clusters or specific types of environment).


Create a Custom Cost Profile

Perform the below steps to create a custom cost profile:

Parameters Supported for AWS

Spot Integrations

Users enabling Spot Integrations option must enter the Spot level information that has been configured in the AWS Console. Follow the steps provided here.

Parameter Definition
Spot Feed S3 Region Region of your spot data bucket
Spot Feed S3 Bucket Configured bucket for the spot data feed
Spot Feed S3 Prefix Configured prefix for your spot data feed bucket
AWS Account ID A unique AWS account ID

CUR Integrations

Users enabling CUR Integrations must enter the CUR details that have been configured in the AWS console and stored in the Athena DB.

Refer AWS Cloud Integration

Important
It is mandatory to provide either Spot Integrations or CUR Integrations details to complete the AWS Cost profile configuration.

Cloud Credentials

Enable the Cloud Credentials option to select the required cloud credential from the drop-down.

Users are allowed to reuse the credentials that are used for provisioning the cluster by selecting the Use Cluster Credential option or use a credential specifically created for Cost Management.

Refer to the Cloud credentials section for more information.

Once the required details are provided, click Save Changes. To view the configured parameters of a specific version, click the i icon and you can view the configuration spec as shown below.


Parameters Supported for Azure

Custom Pricing

Enter a version name and enable the Custom Pricing option. Select the required Cloud credentials in which the required parameters are already set.

Users are allowed to reuse the credentials that are used for provisioning the cluster by selecting the Use Cluster Credential option

Refer to the Azure Cloud Integration section for more information.


Parameters Supported for GCP

Custom Pricing

Users are allowed to reuse the credentials that are used for provisioning the cluster by selecting the Use Cluster Credential option

Refer to the GCP Integration section for more information.


Parameters Supported for Other Data centers

Users can customize the hourly pricing to provide average estimates of CPU/Memory/GPU.


Blueprint Integration

On successful creation of a cost profile, users can now deploy it to the cluster via blueprint by enabling the Enable Cost Management option. Select the required cost profile and version from the drop-down.

Important
Monitoring & Alerting add-on is a requirement for Cost Management Service.


Profiles List

On successful creation of any custom profile, you can view the list of profiles as shown below

Click Default Profiles to view the AWS and Azure system profiles.

Important
The usage metrics are collected every one hour from the clusters.


Profile sharing

Existing cost profiles can be shared to All/Specific/None projects. The profiles created in a project can be edited or deleted within the same project. Profiles inherited from other projects (shared by other projects) cannot be edited or deleted.