AWS Cloud Billing
Configuration¶
Install Func¶
It is recommended to enable the Guance integration - extension - DataFlux Func (Automata)
If you deploy Func yourself, refer to Self-deploy Func
Enable Script¶
Note: Please prepare an Amazon AK that meets the requirements in advance (for simplicity, you can directly grant global read-only permission
ReadOnlyAccess
)
Enable Script for Managed Version¶
- Log in to the Guance console
- Click on the 【Integration】 menu and select 【Cloud Account Management】
- Click 【Add Cloud Account】, choose 【AWS】, and fill in the required information on the interface; if cloud account information has been configured before, skip this step
- Click 【Test】, after a successful test click 【Save】. If the test fails, check whether the related configuration information is correct and retest
- In the 【Cloud Account Management】 list, you can see the added cloud account. Click on the corresponding cloud account to enter the details page
- Click the 【Integration】 button on the cloud account details page. Under the
Not Installed
list, findAWS Cloud Billing
, click the 【Install】 button, and install it through the installation interface.
Manually Enable Script¶
-
Log in to the Func console, click 【Script Market】, enter the official script market, and search for
guance_aws_billing_by_instance
-
After clicking 【Install】, input the corresponding parameters: AWS AK ID, AK Secret, and account name.
-
Click 【Deploy Start Script】, the system will automatically create a
Startup
script set and automatically configure the corresponding start script. -
After enabling, you can see the corresponding automatic trigger configuration in 「Management / Automatic Trigger Configuration」. Click 【Execute】 to immediately run it once without waiting for the scheduled time. After a short while, you can view the execution task records and corresponding logs.
Verification¶
- Confirm in 「Management / Automatic Trigger Configuration」 whether the corresponding task has an automatic trigger configuration. You can also check the corresponding task records and logs to see if there are any abnormalities.
- In Guance, under 「Cloud Billing / Billing Analysis」, check if the corresponding billing information exists.