Skip to content

AWS Trusted Advisor

Collect AWS Trusted Advisor monitoring data.

Configuration

Install Func

We recommend enabling hosted Func under Integration - Extensions in TrueWatch. 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.

Ensure the target account meets the AWS Support plan requirements. For support in China Regions, see regional differences.

Activate Scripts in Hosted Func

  1. Log in to the TrueWatch 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 Trusted Advisor in the Not Installed list and click 【Install】 to open the installation form.

Select CloudWatch Metrics as needed during installation; all are selected by default. Clearing the selection collects only the fixed quota limits, usage and usage ratios.

Manual Activation Script

  1. Log in to the Func console, click 【Script Market】, open the TrueWatch script market and search for integration_aws_trusted_advisor.
  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 TrueWatch, check 【Metrics】 for aws_trusted_advisor monitoring data.

Metrics

The measurement is aws_trusted_advisor.

MetricName MetricDescribe Dimensions Unit
service_limit_max Service Quota Limit region_id, service_name, service_limit, check_id, check_name -
service_limit_usage Service Quota Usage region_id, service_name, service_limit, check_id, check_name -
service_limit_usage_ratio Service Quota Usage Ratio region_id, service_name, service_limit, check_id, check_name ratio
red_resources_average Resources in Red Status check_name, region_id, dimensions count
yellow_resources_average Resources in Yellow Status check_name, region_id, dimensions count
service_limit_usage_average Service Quota Usage Percentage region, service_name, service_limit, region_id, dimensions percent