Cloud Ucloud

Operates UCloud cloud resources through the ucloud CLI, covering hosts, images, storage, networking, and databases.

Scoheart Updated 2 repo stars

File contents

UCloud Operator Skill

安装 CLI

# macOS/Linux
curl -fsSL https://github.com/ucloud/ucloud-cli/releases/latest/download/ucloud-cli-linux-amd64.tar.gz | tar -xz
mv ucloud /usr/local/bin/

认证

ucloud config init
# 输入公钥、私钥(从 https://console.ucloud.cn 获取)

常用命令

# 云主机
ucloud uhost list
ucloud uhost create --name my-host --cpu 2 --memory 4 --image-id uimage-xxx
ucloud uhost delete <uhost-id>

# 镜像
ucloud image list

# 存储
ucloud ulb list                    # 负载均衡
ucloud ufile bucket list           # 对象存储

# 网络
ucloud vpc list
ucloud subnet list

# 数据库
ucloud udb list

安全机制

  • 只读操作:直接执行
  • 写操作:先确认后执行

Scoheart/agentskills/tree/main/skills/cloud/cloud-ucloud commit d5dc12caad

Frequently asked questions

npx skillmds@latest add scoheart/cloud-ucloud