AWS Cloud Account Authorization¶
AWS account types support two authentication methods: Access Keys and Role Authorization. Role Authorization does not require long-term Access Keys or Secret Keys.
In Integrations > Cloud Account Management, click Create Cloud Account, select AWS, and then choose the authentication method.
Access Keys¶
- Select the authentication method Access Keys.
- Choose the China region or the International region as needed.
- Enter the AWS primary account ID.
- Enter the Access Key and Secret Key from the AWS side.
- Enter an account alias for display in Guance. Data collected from this account will automatically carry this alias.
- Optionally set account tags.
- Click Test, then click Save after the test passes.
Role Authorization¶
With Role Authorization, Guance uses the IAM role you create in AWS to access authorized cloud resources.
- Select the authentication method Role Authorization.
- Select the region: choose the China region or the International region as needed.
- In AWS IAM, create a role, select AWS account > Another AWS account, enter the Guance platform account ID, check Require external ID, then under Add permissions, select Create inline policy and paste the complete collection-permission JSON. For detailed steps, see AWS Cloud Integration Role Authorization Configuration.
- Enter your own AWS account ID, that is, the account ID that created this role.
- Enter the name of the role already created on the AWS side.
- Enter an account alias for display in Guance. Data collected from this account will automatically carry this alias.
- Optionally set account tags.
- Click Test, then click Save after the test passes.
After saving the cloud account, optionally configure the integration to start collecting data from the corresponding AWS services.