Skip to content

AWS Billing Budget

Collect AWS Billing Budget monitoring data.

Configuration

Install Func

We recommend enabling hosted Func under Integration - Extensions in Guance. All prerequisites are installed automatically; continue with the script installation.

If deploying Func manually, refer to Manual Deployment of Func

Activate Script

Note: Prepare an AWS AK that meets the requirements. For simplicity, you can grant the global read-only permission ReadOnlyAccess directly.

Activate Scripts in Hosted Func

  1. Log in to the Guance console
  2. Click the 【Integration】 menu and select 【Cloud Account Management】
  3. Click 【Add Cloud Account】, select 【AWS】, and fill in the required information on the interface. If you have already configured the cloud account information before, ignore this step
  4. Click 【Test】, and if the test is successful, click 【Save】. If the test fails, please check if the relevant configuration information is correct and test again
  5. Click 【Cloud Account Management】, and you can see the added cloud account in the list. Click the corresponding cloud account to enter the details page
  6. Click 【Integration】 on the cloud account details page, find AWS Billing Budget in the Not Installed list and click 【Install】 to open the installation form.

Manual Activation Script

  1. Log in to the Func console, click 【Script Market】, open the Guance script market and search for integration_aws_billing_budget.
  2. Click 【Install】 and enter AWS AK ID, AK Secret, account name and AREA (cn for China Regions, intl for international regions).
  3. Click 【Deploy Startup Script】 to create the Startup script set and configure the corresponding startup scripts automatically.
  4. After enabling the script, open 【Management / Automatic Trigger Configuration】 to view its automatic trigger configuration. Click 【Execute】 to run it immediately without waiting for the scheduled time. After a short wait, review the task records and logs.

Verification

  1. Under 【Management / Automatic Trigger Configuration】, confirm that the task has an automatic trigger configuration. Review its task records and logs for errors.
  2. In Guance, check 【Metrics】 for aws_billing monitoring data.

Metrics

The measurement is aws_billing.

MetricName MetricDescribe Dimensions Unit
budget_limit Budget Limit account_id, budget_name, budget_type, currency, time_unit, budget_period Currency
actual_spend Actual Spend account_id, budget_name, budget_type, currency, time_unit, budget_period Currency
forecasted_spend Forecasted Spend account_id, budget_name, budget_type, currency, time_unit, budget_period Currency
estimated_charges_maximum Estimated Monthly Charges (International Regions Only) currency, service_name, linked_account, dimensions USD

Feedback

Is this page helpful?