Read-only access to a monitoring dashboard

Updated at:

To improve team collaboration and strengthen access control, monitoring dashboards support read-only access. After an administrator configures a dashboard, other team members can access it as RAM users.

Required permissions

To grant a RAM user read-only access to the monitoring dashboard while adhering to the principle of least privilege, an administrator must attach the following system policies.

System policy

Description

AliyunCADTReadOnlyAccess

Read-only access to Cloud Architecture Design Tool (CADT).

AliyunLogReadOnlyAccess

Read-only access to Log Service.

AliyunCloudMonitorReadOnlyAccess

Read-only access to CloudMonitor.

Read-only permissions

Attaching the preceding system policies grants a RAM user the following permissions:

  • The RAM user can open the monitoring dashboard, view all monitoring information, and perform operations such as data aggregation, drill-down, and metric filtering. For more information, see View a monitoring dashboard. The RAM user can view CloudMonitor dashboard pages (for example, Monitoring Verification 001) that contain the architecture topology for the China (Beijing) region (EIP → VPC → vSwitch → ECS), EIP inbound traffic, and metrics such as the CPU utilization, disk utilization, and memory utilization of ECS instances. The user can also use the Resource Filter bar and Data Display options at the bottom, which include Show All Data, Top 5, Top 10, Bottom 5, and Bottom 10.

  • The user can view solution copies but cannot save or delete them, which prevents accidental operations.

Verify permissions

Prerequisites

Add permissions

  1. Log on to the Cloud Architecture Design Tool (CADT) console as the main account. On the Monitoring Dashboard (Professional Edition) page, use the shuttle box to move target applications from the Enterprise Cloud Monitor to be Enabled list on the left to the Enterprise Cloud Monitor Enabled list on the right. For example, add Monitoring Verification 001 and APP0001 to the enabled list to connect them to the monitoring dashboard.

  2. Go to the Users page of the RAM console, find the RAM user to authorize, and click Add Permissions.

  3. On the authorization page, search for and add the following three policies to the Selected Policy list on the right, and then click Confirm Authorization Policy.

    • AliyunCloudMonitorReadOnlyAccess

    • AliyunCADTReadOnlyAccess

    • Search for and select the AliyunLogReadOnlyAccess system policy (which grants read-only access to Log Service), set Resource Scope to account level, and then click Confirm Authorization Policy. Verify that the AliyunCloudMonitorReadOnlyAccess, AliyunCADTReadOnlyAccess, and AliyunLogReadOnlyAccess policies are all attached.

Verify as a RAM user

  1. Log on to the Alibaba Cloud Management Console as the RAM user.

    Note

    For detailed instructions, see Log on to the Alibaba Cloud console as a RAM user.

  2. Log on to the CADT console, and then choose Intelligent Monitoring > Monitoring Dashboard.

  3. On the monitoring dashboard page, the RAM user has the following permissions:

    • The user can view all dashboards and their monitoring information. The RAM user can view the architecture topology (displaying EIP, VPC, vSwitch, and ECS components with their key performance indicators) and monitoring charts (including ECS Disk Utilization, ECS CPU Utilization, ECS Memory Utilization, ECS DiskReadBPS, and ECS Network Traffic) in the monitoring dashboard. The user can also switch between applications and instances by using the drop-down menus at the top.

    • The user can perform operations such as data aggregation, drill-down, TopN, and metric filtering. For more information, see View a monitoring dashboard. The toolbar in the upper-right corner provides Filter, Lock, Full Screen, a time range selector (such as Last 5 minutes), Refresh, and Aggregate buttons. In the chart area, the user can select a data display option from the drop-down menu, including Show All Data, Top 5, Top 10, Bottom 5, and Bottom 10.

    • When the main account adds new monitoring metrics to the dashboard, the RAM user can view the updates in real time.

      • Existing metrics: On the monitoring dashboard configuration page of Enterprise Cloud Monitor Professional Edition, select the ECS service type, and then select the required metrics, such as disk utilization, CPU utilization, memory utilization, DiskReadBPS, Internet outbound traffic, and private network outbound traffic. The corresponding line charts are automatically generated on the dashboard to display real-time data for each metric.

      • In the left panel of the Enterprise Cloud Monitor dashboard, select monitoring metrics for ECS, such as CPUUtilization, MemoryUtilization, DiskReadBPS, and DiskReadIOPS. The corresponding monitoring charts are automatically generated on the right to display real-time data for each metric.

  4. The RAM user can view all solution copies but cannot save or delete them, which prevents accidental operations. If the RAM user enters a name (for example, "copy04") in the Save Solution Copy dialog box and clicks Save Solution Copy, an "insufficient permissions" error is reported. This demonstrates that a RAM user with read-only permissions cannot save a solution copy. A maximum of 5 solution copies can be saved.