Set up a cost model
Configure cost models in cost management based on your requirements.
Apply a markup or discount to cloud integrations Copy linkLink copied!
Create a cost model to apply a markup or discount to your cloud infrastructure costs. As cloud infrastructure integrations (AWS, Azure, or Google Cloud) collect cost and usage data into cost management with prices assigned, you only need to assign a markup or discount to reflect your costs.
Before you begin Copy linkLink copied!
- A user with Cost Administrator or Cost Price List Administrator permissions. See Limit access to cost management resources for instructions on configuring user roles.
- Your AWS account added to cost management as a data integration. See ../integrate/integrate-aws-with-cost-management.ditamap#integrate-aws-with-cost-management in Getting started with cost management for instructions.
Adding a markup to your raw costs can allow you to account for your overhead costs, such as the cost of administering your AWS account, Azure subscription, or other support costs. A markup is an estimation to cover your costs not shown by metrics or usage.
The following example shows how to add a 10% markup to the information collected from the AWS Cost and Usage Reports. The same method can be used to apply a markup or discount to your Azure or Google Cloud costs.
Creating, editing, or deleting a cost model only updates calculations starting from the first day of the current month.
Procedure Copy linkLink copied!
Results Copy linkLink copied!
- Navigate to Settings Menu> Cost models and verify that your new cost model appears in the list with the correct markup rate and assigned integrations.
What to do next Copy linkLink copied!
To verify that your cost model data has been applied to the assigned sources, see Review and edit cost models.
Create a cost model for an OpenShift Container Platform cluster Copy linkLink copied!
Because metrics and inventory from OpenShift Container Platform integrations do not have costs associated, you must create a cost model to associate a price to resources.
Before you begin Copy linkLink copied!
- A user with Cost Administrator or Cost Price List Administrator permissions. See Limit access to cost management resources for instructions on configuring user roles.
- Your OpenShift cluster added as a cost management data integration. See ../integrate/integrate-aws-with-cost-management.ditamap#integrate-aws-with-cost-management in Getting started with cost management for instructions.
If your OCP data is correlated with cloud data, your selection in the Create a cost model wizard must match the currency that your cloud account uses.
Creating a cost model for an OpenShift integration includes assigning prices for usage and requests using CPU, memory, node, networking, cluster, storage, or persistent volume claim metrics, and applying a markup or discount to determine the total costs of your OpenShift infrastructure. You can also use tags to measure costs for specific parts of your infrastructure, such as storage methods. For more information about tagging in cost management, see tagging.dita#tagging.
The following example shows how to design and apply a cost model for an OpenShift Container Platform cluster on cloud infrastructure such as AWS or Azure. The cloud infrastructure costs display in cost management as part of the cluster cost. Because of the way it is displayed, you must create a cost model to distribute the underlying infrastructure cost to accurately reflect the costs of running the cluster.
Creating, editing, or deleting a cost model only updates calculations starting from the first day of the current month.
Procedure Copy linkLink copied!
What to do next Copy linkLink copied!
To verify that your cost model data has been applied to the assigned sources, see Review and edit cost models.
Review and edit cost models Copy linkLink copied!
To ensure that a cost model is providing the information that you expect, you can review cost model settings. You can also assign a cost model to integrations and edit or delete a cost model.
Before you begin Copy linkLink copied!
- You are a user with Cost Administrator or Cost Price List Administrator permissions. For information about configuring user roles, see Limit access to cost management resources.
Procedure Copy linkLink copied!
What to do next Copy linkLink copied!
Review your tags and tagging strategy to ensure that costs are being distributed to the correct resources, cost centers, or teams. See tagging.dita#tagging for more information.