alicloud-compute-ecs

Manage Alibaba Cloud ECS instances via OpenAPI/SDK.

396|34|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/cinience/alicloud-skills --skill alicloud-compute-ecs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: alicloud-compute-ecs
Source: https://github.com/cinience/alicloud-skills/tree/main/skills/compute/ecs/alicloud-compute-ecs
Command: npx skills add https://github.com/cinience/alicloud-skills --skill alicloud-compute-ecs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires alibabacloud_ecs20140526, alibabacloud_tea_openapi, alibabacloud_credentials, alibabacloud_cms20190101, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the management and querying of Alibaba Cloud Elastic Compute Service (ECS) instances, enabling users to efficiently control and monitor their virtual machines.

Core Features & Use Cases

  • Instance Management: Create, start, stop, reboot, and delete ECS instances.
  • Resource Querying: List instances across regions, query resource usage (CPU, memory, network), and check instance status.
  • Configuration: Manage disks, snapshots, images, security groups, and key pairs.
  • Remote Execution: Run commands on instances using Cloud Assistant.
  • Use Case: A DevOps engineer needs to quickly identify all running ECS instances in the cn-hangzhou region, check their CPU utilization over the last hour, and if any instance shows high CPU, reboot it.

Quick Start

Use alicloud-compute-ecs to list all instances in the cn-hangzhou region.

Frequently Asked Questions about alicloud-compute-ecs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage Alibaba Cloud ECS instances via OpenAPI?

You can manage Alibaba Cloud ECS instances by calling OpenAPI operations to create, start, stop, reboot, and delete virtual machines. This approach also supports listing instances across regions and querying their current status programmatically.

Can I run remote commands on ECS instances using Cloud Assistant?

Yes, you can execute remote commands on ECS instances using Cloud Assistant. This feature allows you to automate tasks and manage configurations directly on your virtual machines without needing to manually log in via SSH or RDP.

How do I query CPU and memory usage for Alibaba Cloud ECS instances?

You can query CPU, memory, and network resource usage for Alibaba Cloud ECS instances through the monitoring API. This enables you to retrieve metrics like CPU utilization over a specific period and identify instances experiencing high load.

What resources can I configure alongside Alibaba Cloud virtual machines?

When managing Alibaba Cloud virtual machines, you can configure associated resources including disks, snapshots, images, security groups, and key pairs. This allows comprehensive control over instance storage, networking, and deployment templates.

Do I need alibabacloud_credentials to manage ECS instances?

Yes, you need alibabacloud_credentials to authenticate requests when managing ECS instances. This dependency works with alibabacloud_tea_openapi to securely authorize your OpenAPI calls for instance creation and resource querying.

What is the best way to automate rebooting ECS instances with high CPU utilization?

The best way to automate rebooting ECS instances with high CPU utilization is to combine monitoring queries with instance management APIs. You can fetch CPU metrics for the last hour, detect high usage, and trigger a reboot operation automatically.