home / skills / partme-ai / full-stack-skills / cloud-huawei-ecs

cloud-huawei-ecs skill

/skills/cloud-huawei-ecs

This skill provides comprehensive guidance for Huawei Cloud ECS including instance creation, configuration, security groups, and ECS management.

npx playbooks add skill partme-ai/full-stack-skills --skill cloud-huawei-ecs

Review the files below or copy the command above to add this skill to your agents.

Files (2)
SKILL.md
687 B
---
name: cloud-huawei-ecs
description: Provides comprehensive guidance for Huawei Cloud ECS including instance creation, configuration, security groups, and ECS management. Use when the user asks about Huawei Cloud ECS, needs to create ECS instances, configure ECS, or manage Huawei Cloud compute resources.
license: Complete terms in LICENSE.txt
---

## When to use this skill

Use this skill whenever the user wants to:
- [待完善:根据具体工具添加使用场景]

## How to use this skill

[待完善:根据具体工具添加使用指南]

## Best Practices

[待完善:根据具体工具添加最佳实践]

## Keywords

[待完善:根据具体工具添加关键词]

Overview

This skill provides practical, hands-on guidance for Huawei Cloud Elastic Cloud Server (ECS). It covers instance creation, configuration, security groups, networking, storage, and lifecycle management to help you deploy and operate compute resources reliably. The content focuses on concrete steps, common pitfalls, and recommended configurations for production and development workloads.

How this skill works

The skill inspects typical ECS workflows and translates them into actionable instructions: selecting images and flavors, configuring root and data volumes, assigning VPCs and subnets, and creating security group rules. It explains how to use the Huawei Cloud console, CLI, and API for automation, plus procedures for snapshots, backups, and scaling. It highlights security and cost controls such as IAM roles, key pairs, and reserved instance strategies.

When to use it

  • You need to create one or more ECS instances for development, staging, or production.
  • You want to configure networking, security groups, or public EIP assignments for ECS.
  • You need to automate ECS creation and management using CLI, SDKs, or Terraform.
  • You are planning data volume layout, snapshots, or disaster recovery for compute nodes.
  • You want to implement autoscaling, monitoring, and cost-optimization for ECS fleets.

Best practices

  • Choose the smallest instance flavor that meets CPU/RAM needs and scale horizontally when possible.
  • Use cloud-init or user-data to bootstrap instances for consistent, repeatable configuration.
  • Place instances in private subnets and use NAT or EIP only for required external access.
  • Define least-privilege IAM roles and use key pairs or managed SSH keys; avoid embedding credentials.
  • Use snapshots and scheduled backups for critical volumes; test snapshot restore periodically.

Example use cases

  • Deploying a web application cluster: create ECS instances behind a load balancer, secure with security groups, and autoscale based on CPU or request metrics.
  • CI/CD worker fleet: automate ECS provisioning with Terraform and cloud-init to run build agents on demand.
  • Database replica nodes: attach high-performance data volumes, configure backup schedule, and isolate in a private subnet.
  • Disaster recovery drill: snapshot a production instance, restore to a test ECS, validate application data and failback steps.

FAQ

Which image should I choose for ECS?

Choose a supported OS image that matches your application stack; use minimal images for containers and standard images for general apps. Use Huaweicloud-provided images for compatibility and security updates.

How do I secure SSH access to ECS?

Use key pairs or centrally managed SSH certificates, restrict SSH in security groups to trusted IPs or VPNs, and disable password authentication.