Compute AI Assistant

更新时间:
复制 MD 格式

Compute AI Assistant is an intelligent tool from Alibaba Cloud designed to help you manage and maintain your ECS instances more efficiently. It enables you to quickly query resource information, initiate operations, troubleshoot abnormal instances, and get technical support to improve your O&M efficiency and experience. This topic describes how to use Compute AI Assistant and provides conversation examples for different business scenarios.

Feature overview

Compute AI Assistant provides several features, including Intelligent Q&A, Global Search, Troubleshooting, Purchase Consulting, Guided Operations, Command Explanation, and Text Definition.

Feature

Description

Intelligent Q&A

For ECS operations or general inquiries, Compute AI Assistant offers instant, intelligent answers, helping you quickly find technical support, solutions, or documentation.

Global Search

The Global Search feature supports Q&A, starting operations, and searching for resources.

Troubleshooting

Compute AI Assistant provides an entry point to an intelligent diagnostic tool. You can run a one-click diagnosis to receive a detailed report, which helps you quickly troubleshoot common issues with ECS instances.

Purchase Consulting

When purchasing an ECS instance, you can ask Compute AI Assistant about instance types, pricing, and the purchase process to help you select the right product specifications.

Guided Operations

When you perform operations such as starting, restarting, or stopping an ECS instance, or resizing a cloud disk, you can ask Compute AI Assistant for help if you are unfamiliar with the procedure, unsure of the impact, or encounter issues. Compute AI Assistant provides instant, intelligent support to help you complete operations and improve O&M efficiency.

Command Explanation

When using the command-line tools in Workbench or Cloud Assistant, if you encounter complex commands or scripts, Compute AI Assistant provides instant explanations and guidance. This helps you understand a command's function and parameters or a script's logic.

Text Definition

When purchasing an ECS instance or creating an image template, if you need to understand a term, parameter, or feature, select the text to open Compute AI Assistant. It provides a full definition and operational guidance to help you complete the task.

Resource Query

It provides personalized resource query capabilities. It currently supports eight resource types, including instances, images, security groups, cloud disks, and snapshots.

Resource Operations

Compute AI Assistant lets you perform more than 30 O&M operations—such as starting, stopping, and restarting instances, resetting passwords, and running remote commands—without leaving the current page. This significantly improves O&M efficiency.

Monitoring and Analysis

It supports queries and visualization for 10+ core ECS monitoring metrics, analyzes anomalies, and provides system optimization suggestions.

Risks

As an AI-based tool, the responses from Compute AI Assistant can be limited by its understanding of context or the completeness of your input and may not always match your exact needs. For specific operations, such as starting or stopping instances, adjusting instance configurations, and optimizing security group rules, the assistant performs these actions only after you confirm them.

To ensure safety and accuracy, review all outputs carefully before you adopt recommendations or run suggested operations.

Important
  • Responses from Compute AI Assistant are not official technical support conclusions and should not be used as the basis for business decisions. Alibaba Cloud assumes no legal liability for any direct or indirect loss caused by actions taken based on the output of Compute AI Assistant.

  • Information from Compute AI Assistant is for reference only, and its accuracy is not guaranteed. Always verify the information against your actual situation.

  • You can rate the assistant's responses using the image or image icons. Your feedback helps it learn and improve, leading to more accurate and efficient service.

Prerequisites

  • You have logged on to the ECS Management Console.

  • If you are a RAM user and need to use the Global Search feature of Compute AI Assistant, ask the Alibaba Cloud account owner to grant you the following policies. For more information, see Control access to ECS resources by using RAM users.

    • Access policy for a RAM user to use the AI search assistant

      Required for AI chat, action invocation, and resource search features of the AI search assistant.

      {
          "Version": "1",
          "Statement": [
              {
                  "Action": "ecs:*",
                  "Resource": "*",
                  "Effect": "Allow"
              },
              {
                  "Action": [
                      "agent:ChatMessages",
                      "agent:ModifyConversationsName",
                      "agent:ChatMessagesTaskStop",
                      "agent:GetConversations",
                      "agent:DeleteConversations",
                      "agent:GetMessages",
                      "agent:ModifyMessagesFeedbacks",
                      "agent:GetMessagesSuggested"
                  ],
                  "Resource": "*",
                  "Effect": "Allow"
              }
          ]
      }
    • Access policy for a RAM user to perform a global search using the AI search assistant

      Required for global resource search via the AI search assistant. This policy allows querying all Alibaba Cloud resources under the account, including ECS, Elastic Block Storage, Server Load Balancer, virtual private cloud (VPC), and Elastic IP Addresses. See Cloud services and resource types supported by Resource Center for supported resources.

      {
        "Version": "1",
        "Statement": [
          {
            "Action": "resourcecenter:*",
            "Resource": "*",
            "Effect": "Allow"
          },
          {
            "Action": "resourcecenter:GenerateSQLQueryByAI",
            "Resource": "*",
            "Effect": "Allow"
          }
        ]
      }

Execution modes

Compute AI Assistant supports two interaction modes:

  • Agent mode: In this mode, Compute AI Assistant uses a large language model to intelligently plan tasks. It understands user requests, automatically selects the appropriate tools, and safely executes resource operations after you confirm them. The entire process is completed on a single page, helping you efficiently complete O&M tasks such as starting or stopping instances, adjusting configurations, and optimizing security groups. This creates a "conversation-as-operation" experience.

  • Chat mode: This mode focuses on providing knowledge-based Q&A. It offers instant answers to questions about ECS product features, usage, best practices, and common issues, helping you quickly find the information you need and improve efficiency.

You can switch between modes based on your needs. Use Agent mode to perform operations and Chat mode to get accurate answers.

Agent mode

Chat mode

image

image

Agent mode

Chat mode

Intelligent Q&A

The Intelligent Q&A feature of Compute AI Assistant can perform the following actions:

  • It provides comprehensive knowledge about Alibaba Cloud ECS, including product features and use cases.

  • It supports natural language interaction to understand your questions and provide accurate answers.

  • It can handle complex questions and provide solutions.

Procedure

  1. In the application sidebar, click image.

  2. In the Compute AI Assistant chat window, enter keywords or questions to start a conversation.

Example prompts

  • How do I remotely connect to an ECS instance?

  • How are ECS instances billed?

  • How do I check resource usage?

  • My ECS instance is inaccessible. What should I do?

  • How do I call the DescribeInstances API?

For example, if you enter How do I remotely connect to an ECS instance in Compute AI Assistant, it provides detailed connection instructions.

钉钉录屏_2026-04-13 160450

Global Search

The Global Search feature of Compute AI Assistant can perform the following actions:

  • It helps you quickly locate resources, operations, and documentation.

  • It supports global search and semantic understanding to improve search efficiency.

  • It allows you to quickly initiate common operations by entering the operation name.

Procedure

  1. In the application sidebar, click the image icon.

  2. On the Global Search page, click AI Search Assistant.

  3. Perform the desired operations in the AI Search Assistant. For more information, see AI Search Assistant.

Example prompts

  • How do I back up instance data?

  • How do I install Docker?

  • Help me reset the password for my ECS instance.

  • Help me restart the i-xxx instance in the China (Hangzhou) region.

  • Help me query instances in the China (Hangzhou) region.

For example, if you enter Help me query instances in the China (Hangzhou) region in the AI Search Assistant, it lists all ECS instances in the China (Hangzhou) region, where you can view the details of each one.

搜索new

Troubleshooting

The troubleshooting feature of Compute AI Assistant can perform the following actions:

  • It intelligently diagnoses issues with running ECS instances and analyzes possible causes.

  • It provides troubleshooting steps and recommended fixes.

  • It supports real-time analysis of monitoring data to help you quickly identify issues.

Procedure

  1. In Compute AI Assistant, enter a description of the issue.

  2. Select the ECS instance to be diagnosed and click Start.

  3. View the diagnosis results and apply the recommended fixes. For more information about the issues diagnosed, see Diagnostics.

Example prompts

  • My ECS server is stuck in the Stopping state. How do I fix it?

  • What should I do if my ECS instance cannot be restarted?

  • The CPU load on my ECS instance is high.

  • My instance cannot access the internet. What should I do?

  • What should I do if I cannot remotely connect to my ECS instance?

For example, if you enter The CPU load on my ECS instance is high in Compute AI Assistant, it provides troubleshooting suggestions for high CPU load and an option to start a diagnosis. You can then select an instance for diagnosis as needed.

诊断new

Purchase consulting

The Purchase Consulting feature of Compute AI Assistant can perform the following actions:

  • It recommends suitable ECS instance types and configurations based on your needs.

  • It provides price estimates and discount information to help you optimize costs.

  • It supports customized solution design to meet the needs of different business scenarios.

Procedure

  1. On the ECS purchase page, in the Instance section, click Recommend Instance Types for Me.

    image

  2. Based on your input, Compute AI Assistant recommends suitable instance types, provides pricing information, or explains the purchase process.

Example prompts

  • I need to build a corporate website. Can you recommend a cost-effective instance type?

  • I need to deploy a MySQL database. Which ECS instance type should I choose?

  • I need to accelerate large language model inference speed. Which server should I buy?

  • What are the pay-as-you-go and subscription prices for an ecs.c6.xlarge instance type?

  • How are cloud disks and bandwidth billed?

For example, if you enter I need to build a corporate website. Can you recommend a cost-effective instance type, Compute AI Assistant recommends suitable ECS instance types. It also provides the reasoning behind its recommendations to help you make a decision.

购买new

Guided operations

The Guided Operations feature of Compute AI Assistant can perform the following actions:

  • It guides you through the creation, configuration, management, and maintenance of relevant resources.

  • It provides detailed operating procedures and important notes.

  • It supports the generation of automated scripts to simplify complex operations.

Procedure

On the relevant feature page, click AI Assistant. By default, Compute AI Assistant provides detailed steps, notes, and solutions. You can ask follow-up questions as needed.

Examples

  • On the restart instance page, click AI Assistant. Compute AI Assistant provides guidance for cases where an ECS instance cannot restart or a restart fails. It also provides an entry point to the intelligent diagnostic tool to help you pinpoint the issue more accurately.

  • On the cloud disk resize page, click AI Assistant. Compute AI Assistant provides relevant documentation, such as what to do if the cloud disk resize does not take effect and how to resize a cloud disk.

Commands

In the Workbench or Cloud Assistant command line, the Command Explanation feature of Compute AI Assistant can perform the following actions:

  • It provides queries and explanations for common commands to help you quickly understand their meaning and usage.

  • It can generate specific command-line instructions based on your needs.

  • It helps you optimize commands or scripts.

Procedure

  1. In the Workbench or Cloud Assistant command line, click Open AI Command Assistant.

  2. In the AI Command Assistant, enter the command you want to search for and press Enter to view its meaning.

  3. Optional: Click Insert Command to insert the command directly into the command line.

  • Workbench page

    image

  • Cloud Assistant page

    image

Text definition

On the instance purchase page or image build page, you can use Compute AI Assistant to define selected text. This feature can perform the following actions:

  • It explains technical terms, parameters, and options on the page when you select them.

  • It provides instant definitions, purposes, and related links.

  • It helps you quickly understand complex concepts, configuration items, or features.

Procedure

  1. Select the term or parameter you want to understand, and then click the floating AI Assistant.

  2. Compute AI Assistant provides a detailed explanation.

Examples

  • For example, on the ECS purchase page, if you select Billing Method, the assistant explains the concept of billing methods, which methods ECS supports, and provides links to related documentation.

  • On the ECS purchase page, if you select Extension, the assistant explains the concept of extensions, their categories, how to use them, and provides related documentation.

释义new

Resource operations

Compute AI Assistant supports Agent capabilities that allow you to configure and manage resources without navigating to different pages. This includes instance-related control operations such as starting, stopping, restarting, releasing an instance, resetting the instance password, changing the operating system, editing instance attributes, and replacing the public IP address.

Procedure

  1. In the Compute AI Assistant chat window, switch to Agent mode.

  2. In the Compute AI Assistant chat, describe the operation you want to perform.

image

Example prompts

  • Help me start an ECS instance.

  • Help me change an ECS password.

  • Help me release an ECS instance.

image

Resource query

Compute AI Assistant provides resource query capabilities. It currently supports eight resource types: instances, images, security groups, cloud disks, snapshots, Elastic IP Addresses, VPCs, and vSwitches.

Procedure

  1. In the Compute AI Assistant chat window, switch to Agent mode.

  2. In the Compute AI Assistant chat, describe the resources you want to find.

image

Example prompts

  • Help me find the ECS instances and disks created in the China (Beijing) region in the last week.

  • Find the custom images or ECS instances created in the last week.

  • Find the custom images that were deleted yesterday.

  • Help me find the cloud disks that were deleted today.

image

Monitoring and analysis

Compute AI Assistant can query and visualize over 10 core ECS metrics, analyze metric anomalies, and provide system optimization suggestions.

Procedure

  1. In the Compute AI Assistant chat window, switch to Agent mode.

  2. In the Compute AI Assistant chat, describe the analysis you need.

image

Example prompts

  • Query the CPU metric trend for my ECS instance and analyze any anomalies.

  • Query the public bandwidth usage for ECS instance i-xxx.

  • Query the disk utilization data for the last half month.

  • Show the system load trend between 8:00 and 10:00 this morning.

  • Show the trend of TCP connections over the past hour.

image

Remote command

In Agent mode, the assistant can execute remote commands on an ECS instance over a secure channel. After you confirm, the assistant can run commands for tasks like software installation, environment configuration, or log collection, enabling flexible and controlled remote operations on your servers.

Remote commands execute only after your confirmation. Using its large language model, the assistant generates safe command scripts and guides you to confirm key steps, balancing automation efficiency with operational security.

Procedure

  1. In the Compute AI Assistant chat window, switch to Agent mode.

  2. In the Compute AI Assistant chat, describe the remote command you want to run.

image

Example prompts

  • Help me find processes with high CPU usage on my ECS instance.

  • Help me install BT-Panel.

  • Help me install a Java environment.

image