Huawei Cloud Cloud Billing
Configuration¶
Install Func¶
It is recommended to activate Guance Integration - Extension - DataFlux Func (Automata)
If deploying Func by yourself, please refer to Deploying Func Manually
Activation Script¶
Note: Please prepare in advance a qualified Huawei Cloud AK (for simplicity, you can directly grant global read-only permission
ReadOnlyAccess
)
Activation Script for Automata Version¶
- Log in to the Guance console.
- Click on the 【Integration】 menu and select 【Cloud Account Management】.
- Click 【Add Cloud Account】, choose 【Huawei Cloud】, and fill in the required information. If you have already configured cloud account information previously, skip this step.
- Click 【Test】. After a successful test, click 【Save】. If the test fails, check whether the relevant configuration information is correct and retest.
- In the 【Cloud Account Management】 list, you can see the added cloud accounts. Click on the corresponding cloud account to enter its details page.
- Click the 【Integration】 button on the cloud account details page, find
Huawei Cloud Cloud Billing
under theNot Installed
list, and click the 【Install】 button to open the installation interface and proceed with installation.
Manual Activation Script¶
-
Log in to the Func Console, click 【Script Market】 to enter the official script market, and search for
guance_huaweicloud_billing_by_instance
. -
Click 【Install】 and then enter the corresponding parameters: Huawei Cloud AK, Huawei Cloud account name.
-
Click 【Deploy and Run Script】. The system will automatically create the
Startup
script set and configure the corresponding startup scripts. -
After activation, you can view the corresponding automatic trigger configuration under 「Management / Automatic Trigger Configuration」. Click 【Execute】 to run it immediately without waiting for the scheduled time. Wait a moment, and you can check the execution task records and corresponding logs.
Verification¶
- In 「Management / Automatic Trigger Configuration」, confirm whether the corresponding task has an automatic trigger configuration, and check the task records and logs for any abnormalities.
- In Guance, view whether there is corresponding billing information under 「Cloud Billing / Billing Analysis」.