Reference: Google Cloud permissions
Turbonomic requires specific permissions to monitor your Google Cloud workloads and billing data.
Permissions for the Google Cloud target (project-level permissions)
The permissions listed in this section allow the Google Cloud target in Turbonomic to monitor and optimize workloads in individual projects.
Be sure to set up a service account in Google Cloud, create a custom role, and then assign the custom role to the service account. You need to specify these permissions when you create the custom role.
When a service account has been properly configured for use with Turbonomic, add a Google Cloud target in the user interface.
-
Workload monitoring permissions
Turbonomic functionality Required permissions Access to Google Cloud APIs to discover workloads
-
serviceusage.services.getVerifies access to Google Cloud APIs
Discovery of regions
-
compute.regions.listGets supported regions
Discovery of zones
-
compute.zones.listGets supported zones
Discovery of VMs and instance types (machine types)
-
compute.instances.getGets instance properties
-
compute.instances.listGets instances
-
compute.machineTypes.getGets machine type properties
-
compute.machineTypes.listGets supported machine types
Discovery of instance groups and types (managed or unmanaged)
-
compute.instanceGroups.listGets instance groups
Discovery of managed instance groups (MIGs)
-
compute.autoscalers.listGets auto scaling details for a MIG
-
compute.instanceGroupManagers.getGets MIG properties
-
compute.instanceGroupManagers.listGets MIGs
-
compute.instanceTemplates.listGets compute tier and instance templates of MIG
-
-
Action execution permissions
Turbonomic functionality Required permissions Execution of actions for all supported entities -
iam.serviceAccounts.actAsGrants a service account the necessary permissions to perform various operations on Google Cloud APIs
Verification of action execution status for all supported entities -
compute.globalOperations.getChecks the status of async operations
-
compute.regionOperations.getChecks the status of async operations
-
compute.zoneOperations.getChecks the status of async operations
Execution of parking actions for VMs -
compute.instances.startRestarts a VM after action execution
-
compute.instances.stopStops a VM before changing its properties
Execution of parking actions for MIGs -
compute.autoscalers.getGets the configuration of an autoscaler
-
compute.autoscalers.updateUpdates the configuration of an autoscaler
-
compute.instanceGroupManagers.useAllows an autoscaler to manage the instance groups that are associated with it
-
compute.instanceGroupManagers.getGets the state and configuration of a zonal or regional MIG
-
compute.instanceGroupManagers.updateUpdates the minimum and maximum replicas in a zonal MIG
-