Skip to content

Alibaba Cloud Billing

Configuration

Install Func

It is recommended to activate TrueWatch Integration - Extensions - DataFlux Func (Automata)

If deploying Func manually, refer to Self-deploying Func

Activate Script

Note: Please prepare the required Alibaba Cloud AK in advance (for simplicity, you can directly grant the global read-only permission ReadOnlyAccess)

Activate Script in Automata

  1. Log in to the TrueWatch console
  2. Click on the 【Integration】 menu and select 【Cloud Account Management】
  3. Click on 【Add Cloud Account】, select 【Alibaba Cloud】, and fill in the required information on the interface. If the cloud account information has been configured before, ignore this step
  4. Click on 【Test】, and if the test is successful, click on 【Save】. If the test fails, please check if the relevant configuration information is correct and test again
  5. In the 【Cloud Account Management】 list, you can see the added cloud account. Click on the corresponding cloud account to enter the details page
  6. Click on the 【Integration】 button on the cloud account details page, find Alibaba Cloud Billing under the Not Installed list, and click on the 【Install】 button. The installation interface will pop up for installation.

Activate Script Manually

  1. Log in to the Func console, click on 【Script Market】, enter the TrueWatch script market, and search for integration_alibabacloud_billing_by_instance

  2. Click on 【Install】, then enter the corresponding parameters: Alibaba Cloud AK ID, AK Secret, and account name.

  3. Click on 【Deploy Startup Script】, the system will automatically create a Startup script set and configure the corresponding startup script.

  4. After enabling, you can see the corresponding automatic trigger configuration in 「Management / Automatic Trigger Configuration」. Click on 【Execute】 to immediately execute once without waiting for the scheduled time. Wait for a moment, and you can view the execution task records and corresponding logs.

Verification

In TrueWatch, check if there is corresponding cloud billing data in the 「Cloud Billing」 menu