Cost Profiles
Overview¶
Cost Profiles ensure that cost metrics are accurate 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:
- Login to the controller and select Profiles under Cost
- Click New Profile
- Provide a name for the profile and select a provider type (AWS, AZURE, and Other). Remember that if you intend to share this profile with other projects, the name needs to be unique
- Click Create and provide a version name
- Enter the required parameters based on the provider type
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 to enable in the AWS Console
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 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 and select the required cloud credential from the drop-down. Refer Cloud credentials for more information
Once the required details are provided, click Save Changes. You can view the new profile with different versions. 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
Refer Azure Cloud Integration for more information
Once the required details are provided, click Save Changes. You can view the new profile with different versions. 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 Other Data centers¶
Users can customize the hourly pricing to provide average estimates of CPU/Memory/GPU.
Once the required details are provided, click Save Changes. You can view the new profile with different versions. To view the configured parameters of a specific version, click the i icon and you can view the configuration spec as shown below
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 and the calculated costs are stored in the database
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