This Policy finds Idle IP Address Recommendations and reports when it finds them. You can then delete the idle addresses
This policy has the following input parameters required when launching the policy.
- Email addresses - A list of email addresses to notify
- Region - Location to check, it is specifically Google regions
- Project ID - Google Projects to Query. Leave blank to query all projects.
The following policy actions are taken on any resources found to be out of compliance.
- Send an email report
This policy uses credentials for connecting to the cloud -- in order to apply this policy you must have a credential registered in the system that is compatible with this policy. If there are no credentials listed when you apply the policy, please contact your cloud admin and ask them to register a credential that is compatible with this policy. The information below should be consulted when creating the credential.
The recommender API also needs to be enabled..
For administrators creating and managing credentials to use with this policy, the following information is needed:
Provider tag value to match this policy: gce
Required permissions in the provider:
- The
resourcemanager.projects.get
permission - The
roles/recommender.computeAdmin
role
This Policy Template does not launch any instances, and so does not incur any cloud costs.
The google api sets quotas on the recommender api, which will generate a 429 RESOURCE_EXHAUSTED
. See Quotas & Limits