Installation
This article will introduce how to install the components required for metering and billing.
TOC
Preinstall Considerations
-
The Cost Management Server and Cost Management Agent work together to provide the overall metering and billing functionality of the platform. The server-side component supports data storage capabilities related to metering and billing, while the client-side component handles data collection and billing capabilities.
-
The Cost Management Server component relies on ClickHouse as its data storage solution. You can either install the ACP Log Storage with Clickhouse plugin provided by the platform or install ClickHouse on your own for integration.
-
The Cost Management Agent component requires that the corresponding cluster has the ACP Monitor with Prometheus monitoring component installed. Please ensure that this component is successfully installed in advance.
Install the Cost Management Server Plugin
Prerequisites
The Cost Management Server component relies on ClickHouse as its data storage solution. You can either install the ACP Log Storage with Clickhouse plugin provided by the platform or install ClickHouse on your own for integration.
Steps
-
Log in to the cluster where the ACP Log Storage with Clickhouse plugin is installed and obtain ClickHouse integration information:
-
In the left navigation bar, click App Store > Plugin Management.
-
Select the
globalcluster. -
Find the Cost Management Server plugin and click the Install button in the right actions bar.
-
Refer to the following description to configure the relevant parameters.
-
Click Install.
Install the Cost Management Agent Plugin
Prerequisites
- The Cost Management Agent component requires that the corresponding cluster has the ACP Monitor with Prometheus monitoring component installed. Please ensure that this component is successfully installed in advance.
Steps
-
In the left navigation bar, click App Store > Plugin Management.
-
Select the cluster where this plugin needs to be installed.
-
Find the Cost Management Agent plugin and click the Install button in the right actions bar.