Skip to content

Azure Cloud Billing

Collect Azure (Microsoft Cloud) cloud billing information

Configuration

Install Func

It is recommended to enable Guance Integration - Extensions - Managed Func: All prerequisites are automatically installed. Please proceed with the script installation.

If deploying Func manually, refer to Deploy Func Manually

Enable Script

Tip: Please prepare an Azure application registration that meets the requirements in advance and assign the Monitoring Reader role to the application registration.

Managed Version Activation Script

  1. Log in to the Guance console.
  2. Click the 【Integration】 menu and select 【Cloud Account Management】.
  3. Click 【Add Cloud Account】, select 【Azure】, and fill in the required interface information. If you have already configured cloud account information previously, skip this step.
  4. Click 【Test】. After a successful test, click 【Save】. If the test fails, check whether the configuration information is correct and re-test.
  5. You can see the added cloud account in the 【Cloud Account Management】 list. Click on the corresponding cloud account to enter the details page.
  6. Click the 【Integration】 button on the cloud account details page, find Azure Cloud Billing under the Not Installed list, and click the 【Install】 button to install it.

Manual Activation Script

  1. Log in to the Func console, click 【Script Market】, go to the official script market, and search for guance_azure_billing_by_instance.

  2. After clicking 【Install】, enter the corresponding parameters: Azure Tenant ID, Azure Client ID, Azure Client Secret Value.

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

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

Verification

  1. In 「Management / Automatic Trigger Configuration」, confirm whether the corresponding task has an automatic trigger configuration. You can also check the task records and logs for anomalies.
  2. In Guance, view whether there is corresponding billing information under 「Cloud Billing / Billing Analysis」.

Feedback

Is this page helpful? ×