首页 Container Service for Kubernetes ACK Serverless Clusters User Guide AIOps Suite Authorize Container Intelligent Service to access your cluster resources

Grant permissions

更新时间: 2026-03-26 07:16:26

Container Intelligent Service (CIS) requires access to your Elastic Compute Service (ECS) instances, Virtual Private Cloud (VPC), Server Load Balancer (SLB) instances, and other resources to run cluster diagnostics and inspections. This access is granted through the AliyunCISDefaultRole service role. Assign this role once, and CIS can call the required APIs to inspect and diagnose your ACK clusters.

Prerequisites

Before you begin, ensure that you have:

  • An Alibaba Cloud account, or a Resource Access Management (RAM) user with administrator permissions

Assign the service role

If you have previously used CIS, the AliyunCISDefaultRole role may already be assigned. To confirm, check whether you can access cluster diagnostics and inspections in the CIS console without being prompted to authorize.
  1. Log on to the CIS console.

  2. Click Go to RAM authorization to open the Cloud Resource Access Authorization page, then click Agree to Authorization.

  3. After authorization completes, refresh the CIS console page to start using diagnostics and inspections.

Permissions granted by AliyunCISDefaultRole

The following tables list all permissions granted to CIS through AliyunCISDefaultRole.

ECS-related permissions

CIS uses these permissions to inspect ECS instance configurations, security groups, network interfaces, and bandwidth, and to run diagnostic commands during active inspections.

PermissionDescriptionPurpose
ecs:DescribeInstancesQueries details of one or more ECS instancesIdentify cluster nodes and their configurations
ecs:DescribeInstanceStatusQueries the status of one or more ECS instancesCheck node availability during diagnostics
ecs:DescribeInstanceTypesQueries available ECS instance typesValidate node instance type configurations
ecs:DescribeInstanceTypeFamiliesQueries available ECS instance type familiesValidate node instance family configurations
ecs:DescribeInstanceAttributeQueries the details of a specific ECS instanceInspect individual node attributes
ecs:CreateDiagnosticReportCreates a resource diagnostic reportRun instance-level diagnostics
ecs:DescribeDiagnosticReportsQueries resource diagnostic reportsRetrieve diagnostic report results
ecs:DescribeDiagnosticReportAttributesQueries the details of a diagnostic reportInspect diagnostic report details
ecs:DescribeDiagnosticMetricSetsQueries diagnostic metric setsAccess available diagnostic metrics
ecs:DescribeDiagnosticMetricsQueries diagnostic metricsRetrieve specific diagnostic metric data
ecs:DescribeSecurityGroupAttributeQueries the rules of a security groupInspect security group rules for network diagnostics
ecs:DescribeSecurityGroupsQueries basic information about security groupsList security groups associated with cluster nodes
ecs:DescribeSecurityGroupReferencesChecks whether a security group is referenced by other security group rulesDetect cross-group rule dependencies
ecs:DescribeBandwidthLimitationQueries bandwidth resourcesCheck bandwidth limits during network diagnostics
ecs:DescribeCloudAssistantStatusChecks whether Cloud Assistant Agent is installed on ECS instancesVerify Cloud Assistant availability before running commands
ecs:DescribeCommandsQueries Cloud Assistant commandsList diagnostic commands available on nodes
ecs:DescribeInvocationResultsQueries the execution results of Cloud Assistant commands on ECS instancesRetrieve command output during active diagnostics
ecs:DescribeNetworkInterfacesQueries elastic network interfaces (ENIs)Inspect ENI configurations for network diagnostics
ecs:CreateCommandCreates a Cloud Assistant commandCreate diagnostic scripts for active inspections
ecs:InvokeCommandTriggers a Cloud Assistant command on one or more ECS instancesRun diagnostic commands on nodes during active inspections
ecs:StopInvocationStops a running Cloud Assistant command on one or more ECS instancesCancel diagnostic commands if needed
ecs:RunCommandRuns a shell, PowerShell, or batch command on ECS instancesExecute diagnostic scripts directly on nodes

VPC-related permissions

CIS uses these permissions to inspect VPC topology, routing, NAT gateways, and network access control lists (ACLs) for network diagnostics.

PermissionDescriptionPurpose
vpc:DescribeVpcsQueries your VPCsIdentify the VPC associated with the cluster
vpc:DescribeVpcAttributeQueries the configuration of a VPCInspect VPC settings during network diagnostics
vpc:DescribeVSwitchesQueries your vSwitchesList vSwitches used by cluster nodes
vpc:DescribeVSwitchAttributesQueries the details of a vSwitchInspect vSwitch configuration and available IP addresses
vpc:DescribeRouteTableListQueries route tablesList route tables associated with the cluster VPC
vpc:DescribeRouteEntryListQueries route entriesInspect routing rules for network path diagnostics
vpc:DescribeNatGatewaysQueries NAT gateways in a regionCheck NAT gateway configuration for outbound traffic diagnostics
vpc:DescribeEipAddressesQueries elastic IP addresses (EIPs) in a regionInspect EIP bindings for public access diagnostics
vpc:DescribeRouteTablesQueries route table informationRetrieve detailed route table data
vpc:DescribeSnatTableEntriesQueries SNAT entriesInspect SNAT rules for outbound connectivity diagnostics
vpc:DescribeNetworkAclsQueries network ACLsList network ACLs that may affect cluster traffic
vpc:DescribeNetworkAclAttributesQueries the details of a network ACLInspect ACL rules for network diagnostics

SLB-related permissions

CIS uses these permissions to inspect Server Load Balancer (SLB) instances, listener configurations, backend server groups, and health status for load balancer diagnostics.

PermissionDescriptionPurpose
slb:DescribeLoadBalancersQueries your SLB instancesIdentify SLB instances associated with cluster services
slb:DescribeLoadBalancerAttributeQueries the details of an SLB instanceInspect SLB configuration during diagnostics
slb:DescribeVServerGroupsQueries vServer groupsList backend server groups for cluster services
slb:DescribeVServerGroupAttributeQueries the details of a vServer groupInspect backend server group configuration
slb:DescribeLoadBalancerTCPListenerAttributeQueries the configuration of a TCP listenerInspect TCP listener settings for diagnostics
slb:DescribeLoadBalancerUDPListenerAttributeQueries the configuration of a UDP listenerInspect UDP listener settings for diagnostics
slb:DescribeAccessControlListsQueries network ACLsList ACLs applied to SLB listeners
slb:DescribeAccessControlListAttributeQueries the configuration of a network ACLInspect ACL rules applied to SLB listeners
slb:DescribeLoadBalancerListenersQueries the listeners of an SLB instanceList all listeners for a given SLB instance
slb:DescribeHealthStatusQueries the health status of backend serversCheck backend server health during diagnostics

Simple Log Service-related permissions

CIS uses this permission to access Logstore metadata for log-based diagnostics.

PermissionDescriptionPurpose
sls:GetLogStoreQueries the details of a LogstoreAccess log data for cluster diagnostics

ACK-related permissions

CIS uses these permissions to inspect ACK cluster details, node pools, tasks, and component upgrade status.

PermissionDescriptionPurpose
cs:DescribeClusterDetailQueries the details of an ACK clusterRetrieve cluster configuration for diagnostics
cs:DescribeClusterResourcesQueries all resources in an ACK clusterInventory cluster resources during inspections
cs:DescribeTasksQueries tasks in an ACK clusterMonitor cluster task status during diagnostics
cs:DescribeTaskInfoQueries task information in an ACK clusterRetrieve details of specific cluster tasks
cs:DescribeClusterNodePoolsQueries all node pools in an ACK clusterInspect node pool configuration and status
cs:DescribeNodePoolVulsQueries node pool vulnerabilities in an ACK clusterIdentify security vulnerabilities in node pools
cs:DescribeClusterAddonsUpgradeStatusQueries the upgrade progress of cluster componentsCheck component upgrade status during inspections

Elastic Container Instance-related permissions

CIS uses these permissions to inspect Elastic Container Instance (ECI) pods and run diagnostic commands on serverless containers.

PermissionDescriptionPurpose
eci:DescribeContainerGroupsQueries information about pods in Elastic Container Instance (ECI)Inspect ECI pod configurations and status
eci:RunCommandRuns a shell script on an elastic container instanceExecute diagnostic scripts on serverless containers
eci:DescribeCommandResultQueries the execution result of a commandRetrieve diagnostic command output from ECI pods
eci:ListUsageQueries privileges and quotas in a regionCheck ECI quota usage during diagnostics

CloudMonitor-related permissions

CIS uses these permissions to retrieve monitoring metrics and alert data for performance and health diagnostics.

PermissionDescriptionPurpose
cms:DescribeMetricDataQueries monitoring data collected over a period of timeRetrieve historical metric data for diagnostics
cms:DescribeMetricLastQueries the latest monitoring data for a metricGet current metric values during inspections
cms:DescribeMetricMetaListQueries descriptions of metrics supported by CloudMonitorList available metrics for diagnostic analysis
cms:DescribeMetricTopQueries sorted monitoring data for an Alibaba Cloud serviceIdentify top resource consumers during diagnostics
cms:QueryMetricMetaQueries metrics supported by CloudMonitorRetrieve metric metadata for diagnostic queries
cms:QueryMetricTopQueries monitoring data for an Alibaba Cloud serviceRetrieve sorted metric data for analysis
cms:ListMetricMetaQueries metric metadataList metadata for available metrics
cms:ListMetricMetaProjectQueries metric meta projectsList metric projects for targeted diagnostics
cms:QueryMetricDataQueries monitoring data for Alibaba Cloud servicesRetrieve metric data for multiple services
cms:QueryMetricLastQueries the latest monitoring data for metricsGet the most recent metric values
cms:DescribeMetricListQueries monitoring data for a specific metricRetrieve time-series data for a specific metric
cms:QueryMetricListQueries descriptions of metrics supported by CloudMonitorList metric descriptions for diagnostic reference
cms:MetricMetaQueries metrics supported by CloudMonitorAccess metric definitions for diagnostic analysis
cms:DescribeAlertLogListQueries recent alertsRetrieve alert history during health inspections
cms:DescribeSystemEventAttributeQueries the details of a system eventInspect system events related to cluster resources
cms:GetMetricStreamMetaQueries the description of a CloudMonitor metricRetrieve streaming metric metadata

Quota Center-related permissions

CIS uses these permissions to check service quotas during diagnostics, helping identify whether quota limits may be affecting cluster operations.

PermissionDescriptionPurpose
quotas:ListProductsQueries Alibaba Cloud services that support Quota CenterList services whose quotas can be inspected
quotas:ListProductQuotasQueries quotas for an Alibaba Cloud serviceRetrieve quota limits for cluster-related services
quotas:ListProductQuotaDimensionsQueries quota dimensions supported by an Alibaba Cloud serviceAccess dimension-specific quota data
quotas:GetProductQuotaQueries the details of a quotaInspect a specific quota value and its usage
quotas:GetProductQuotaDimensionQueries the details of a quota dimensionRetrieve quota details for a specific dimension

RAM-related permissions

CIS uses this permission to verify that the policies attached to the AliyunCISDefaultRole are correctly configured.

PermissionDescriptionPurpose
ram:ListPoliciesForRoleQueries policies attached to a RAM roleVerify that the service role has the required policies

Application Troubleshooting Platform-related permissions

CIS uses these permissions to upload and analyze diagnostic files on the Application Troubleshooting Platform (ATP) for in-depth root cause analysis.

PermissionDescriptionPurpose
grace:GetFileQueries information about an analysis file on the Application Troubleshooting Platform (ATP)Retrieve diagnostic file metadata from ATP
grace:AnalyzeFileAnalyzes files on ATPTrigger automated analysis of diagnostic files
grace:UploadFileByOSSUploads files to ATP using Object Storage Service (OSS)Upload diagnostic files to ATP via OSS
grace:UploadFileByURLUploads files to ATP by specifying URLsUpload diagnostic files to ATP by URL
上一篇: Overview of the AIOps suite 下一篇: Cluster Check
阿里云首页 容器服务Kubernetes版 相关技术圈